summaryrefslogtreecommitdiffstats
path: root/devel/ddd
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
committerlioux <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
commit541ac4e7315c3f13d7e7cad0d568311fe8058f38 (patch)
treef00e1bf94b08283774a56f7cacf2369a164a47f5 /devel/ddd
parent1585d4ad41f987710a04792ba67c380327558e79 (diff)
downloadFreeBSD-ports-541ac4e7315c3f13d7e7cad0d568311fe8058f38.zip
FreeBSD-ports-541ac4e7315c3f13d7e7cad0d568311fe8058f38.tar.gz
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 <ahze@ahze.net>
Diffstat (limited to 'devel/ddd')
-rw-r--r--devel/ddd/Makefile11
-rw-r--r--devel/ddd/distinfo4
-rw-r--r--devel/ddd/files/extra-patch-configure-gcc3310
3 files changed, 19 insertions, 6 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index d050492..2a9475d 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -52,13 +52,16 @@ LIBXMDIR= ${X11BASE}
.include <bsd.port.pre.mk>
-# 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 1b440bf..16c4d2c 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 0000000..46ec386
--- /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 <iostream>
++#include <fstream>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
OpenPOWER on IntegriCloud