From 5cc7b4668487e15d94ede0d0e8a67417ff02b26f Mon Sep 17 00:00:00 2001 From: Clive Lin Date: Sun, 28 Jan 2001 19:13:59 +0000 Subject: o Properly use wait3(2) o Portlint o Resolve T_USER conflicts (trap.h in base system) o Properly handle CFLAGS o Add net/dictd-database as RUN_DEPENDS o Bump PORTREVISION Approved by: MAINTAINER --- net/dictd/files/patch-Makefile_in | 1 - net/dictd/files/patch-dictd.c | 11 +++++++++++ net/dictd/files/patch-libmaa::configure | 13 +++++++++++++ net/dictd/files/patch-zlib::Makefile | 11 +++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 net/dictd/files/patch-dictd.c create mode 100644 net/dictd/files/patch-libmaa::configure create mode 100644 net/dictd/files/patch-zlib::Makefile diff --git a/net/dictd/files/patch-Makefile_in b/net/dictd/files/patch-Makefile_in index ff20a7e92740..c61bd3e61748 100644 --- a/net/dictd/files/patch-Makefile_in +++ b/net/dictd/files/patch-Makefile_in @@ -76,4 +76,3 @@ + ${INSTALL_DATA} dictd.8 $(man8_prefix)/dictd.8 install: $(EXES) install.dict install.dictzip install.dictd - diff --git a/net/dictd/files/patch-dictd.c b/net/dictd/files/patch-dictd.c new file mode 100644 index 000000000000..ab1b44d33fc8 --- /dev/null +++ b/net/dictd/files/patch-dictd.c @@ -0,0 +1,11 @@ +--- dictd.c~ Mon Jan 29 01:51:25 2001 ++++ dictd.c Mon Jan 29 01:59:29 2001 +@@ -97,7 +97,7 @@ + + static void reaper( int dummy ) + { +-#if defined(__osf__) || (defined(__sparc__) && defined(__svr4__)) ++#if defined(__FreeBSD__) || defined(__osf__) || (defined(__sparc__) && defined(__svr4__) ) + int status; + #else + union wait status; diff --git a/net/dictd/files/patch-libmaa::configure b/net/dictd/files/patch-libmaa::configure new file mode 100644 index 000000000000..7ecd91ebd714 --- /dev/null +++ b/net/dictd/files/patch-libmaa::configure @@ -0,0 +1,13 @@ +--- libmaa/configure~ Mon Jan 29 01:00:16 2001 ++++ libmaa/configure Mon Jan 29 01:00:29 2001 +@@ -875,11 +875,8 @@ + # Check whether --with-cflags or --without-cflags was given. + if test "${with_cflags+set}" = set; then + withval="$with_cflags" +- +-if test "x${withval}" = xyes; then + CFLAGS="$withval" +-fi +- ++ + fi diff --git a/net/dictd/files/patch-zlib::Makefile b/net/dictd/files/patch-zlib::Makefile new file mode 100644 index 000000000000..ad038af444ef --- /dev/null +++ b/net/dictd/files/patch-zlib::Makefile @@ -0,0 +1,11 @@ +--- zlib/Makefile~ Mon Jan 29 01:24:42 2001 ++++ zlib/Makefile Mon Jan 29 01:24:56 2001 +@@ -13,7 +13,7 @@ + + CC=cc + +-CFLAGS=-O ++CFLAGS= %%CFLAGS%% + #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 + #CFLAGS=-g -DDEBUG + #CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ -- cgit v1.2.3