diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-07 04:41:13 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-07 04:41:13 +0000 |
commit | 2fc854b7bd7510ec592fea5a47c2c163a91b1781 (patch) | |
tree | 6bcd084cd2bc36e3e8a2764244007453e21274e0 /devel/ddd | |
parent | 99a00230cba88f6ff829d0a5cf3940c14e4a622a (diff) | |
download | ports-2fc854b7bd7510ec592fea5a47c2c163a91b1781.tar.gz ports-2fc854b7bd7510ec592fea5a47c2c163a91b1781.zip |
Notes
Diffstat (limited to 'devel/ddd')
-rw-r--r-- | devel/ddd/Makefile | 2 | ||||
-rw-r--r-- | devel/ddd/files/patch-02 | 3 | ||||
-rw-r--r-- | devel/ddd/files/patch-strerror.c | 17 | ||||
-rw-r--r-- | devel/ddd/files/patch-strsignal.c | 17 |
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile index 1690fc45b031..f027be060ab6 100644 --- a/devel/ddd/Makefile +++ b/devel/ddd/Makefile @@ -25,6 +25,8 @@ PLIST_SUB= VERSION=${PORTVERSION} MAN1= ddd.1 +CFLAGS+= -Wno-deprecated + .if defined(MOTIFLIB) .if defined(MOTIF_STATIC) LIBXMDIR!= ${ECHO_CMD} ${MOTIFLIB} | ${SED} -e 's/\/libXm\.a//g' | ${AWK} '{print $$1}' diff --git a/devel/ddd/files/patch-02 b/devel/ddd/files/patch-02 index 5bb6b08a95e6..0b18169c733a 100644 --- a/devel/ddd/files/patch-02 +++ b/devel/ddd/files/patch-02 @@ -6,6 +6,9 @@ @@ -1961 +1961 @@ -for ac_prog in 'bison -y' byacc +for ac_prog in byacc +@@ -6168 +6168 @@ +-#include <iostream.h> ++#include <fstream.h> @@ -13358 +13358 @@ - egrep "${ice_re_word}ioctl *\(" >/dev/null 2>&1; then + egrep "${ice_re_word}\(?ioctl\)? *\(" >/dev/null 2>&1; then diff --git a/devel/ddd/files/patch-strerror.c b/devel/ddd/files/patch-strerror.c new file mode 100644 index 000000000000..47264c0c0979 --- /dev/null +++ b/devel/ddd/files/patch-strerror.c @@ -0,0 +1,17 @@ +--- libiberty/strerror.c.orig Wed Sep 4 12:56:21 2002 ++++ libiberty/strerror.c Wed Sep 4 12:56:45 2002 +@@ -454,7 +454,7 @@ + We don't export it for use in other modules because even though it has the + same name, it differs from other implementations in that it is dynamically + initialized rather than statically initialized. */ +- ++#ifndef __FreeBSD__ + #ifndef HAVE_SYS_ERRLIST + + static int sys_nerr; +@@ -465,6 +465,7 @@ + extern int sys_nerr; + extern char *sys_errlist[]; + ++#endif + #endif diff --git a/devel/ddd/files/patch-strsignal.c b/devel/ddd/files/patch-strsignal.c new file mode 100644 index 000000000000..ea358a9e9142 --- /dev/null +++ b/devel/ddd/files/patch-strsignal.c @@ -0,0 +1,17 @@ +--- libiberty/strsignal.c.orig Wed Sep 4 12:32:03 2002 ++++ libiberty/strsignal.c Wed Sep 4 12:32:52 2002 +@@ -236,6 +236,7 @@ + same name, it differs from other implementations in that it is dynamically + initialized rather than statically initialized. */ + ++#ifndef __FreeBSD__ + #ifndef HAVE_SYS_SIGLIST + + static int sys_nsig; +@@ -252,6 +253,7 @@ + #endif + extern const char * const sys_siglist[]; + ++#endif + #endif + |