summaryrefslogtreecommitdiffstats
path: root/devel/ddd
diff options
context:
space:
mode:
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