From f7fc7adb30ba672d36f177d2ac44f7ca7579ea2c Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Fri, 25 Jun 2004 04:09:16 +0000 Subject: o Fix build with GCC version 3.3 o Default to USE_GCC=3.3 for OSVERSION >= 501103 where it is the standard system base GCC PR: 65378 Submitted by: michael johnson --- devel/ddd/Makefile | 11 +++++++---- devel/ddd/distinfo | 4 ++-- devel/ddd/files/extra-patch-configure-gcc33 | 10 ++++++++++ 3 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 devel/ddd/files/extra-patch-configure-gcc33 (limited to 'devel/ddd') diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile index d050492d0a51..2a9475dfe61f 100644 --- a/devel/ddd/Makefile +++ b/devel/ddd/Makefile @@ -52,13 +52,16 @@ LIBXMDIR= ${X11BASE} .include -# DDD builds with either GCC 3.1 or GCC 3.2 -# Use 3.1 if it is available with base system -# Otherwise, default to 3.2 +# DDD builds with either GCC 3.1, GCC 3.2 or GCC 3.3 +# Use 3.1 or 3.2 if it is available with base system +# Otherwise, default to 3.3 .if ${OSVERSION} >= 500035 && ${OSVERSION} <= 500038 USE_GCC=3.1 -.else +.elif ${OSVERSION} < 501103 USE_GCC=3.2 +.else +USE_GCC=3.3 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure-gcc33 .endif pre-patch: diff --git a/devel/ddd/distinfo b/devel/ddd/distinfo index 1b440bfdae68..16c4d2c81129 100644 --- a/devel/ddd/distinfo +++ b/devel/ddd/distinfo @@ -1,2 +1,2 @@ -MD5 (ddd-3.3.8.tar.gz) = 60c5bfbfe1564926edda629ffcf01e52 -SIZE (ddd-3.3.8.tar.gz) = 8606382 +MD5 (ddd-3.3.9.tar.gz) = acfca53c62507795f4ceb355cb34e2a2 +SIZE (ddd-3.3.9.tar.gz) = 8238347 diff --git a/devel/ddd/files/extra-patch-configure-gcc33 b/devel/ddd/files/extra-patch-configure-gcc33 new file mode 100644 index 000000000000..46ec3865caba --- /dev/null +++ b/devel/ddd/files/extra-patch-configure-gcc33 @@ -0,0 +1,10 @@ +--- configure.orig Fri Apr 9 15:32:46 2004 ++++ configure Fri Apr 9 15:33:05 2004 +@@ -4871,6 +4871,7 @@ + #line $LINENO "configure" + #include "confdefs.h" + #include ++#include + #ifdef F77_DUMMY_MAIN + # ifdef __cplusplus + extern "C" -- cgit v1.2.3