aboutsummaryrefslogtreecommitdiffstats
path: root/net/dictd
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-01-29 03:13:59 +0800
committerclive <clive@FreeBSD.org>2001-01-29 03:13:59 +0800
commit686c62d179a6dbc523ddb4e266c25971b785d326 (patch)
treef7976565572ba2d4686cb6fb18b04ef58e8298cc /net/dictd
parent0d55c06e6da526f6eb554e7bf609fa010ec5f830 (diff)
downloadfreebsd-ports-gnome-686c62d179a6dbc523ddb4e266c25971b785d326.tar.gz
freebsd-ports-gnome-686c62d179a6dbc523ddb4e266c25971b785d326.tar.zst
freebsd-ports-gnome-686c62d179a6dbc523ddb4e266c25971b785d326.zip
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
Diffstat (limited to 'net/dictd')
-rw-r--r--net/dictd/files/patch-Makefile_in1
-rw-r--r--net/dictd/files/patch-dictd.c11
-rw-r--r--net/dictd/files/patch-libmaa::configure13
-rw-r--r--net/dictd/files/patch-zlib::Makefile11
4 files changed, 35 insertions, 1 deletions
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 \