diff options
-rw-r--r-- | devel/ddd/Makefile | 4 | ||||
-rw-r--r-- | devel/ddd/files/extra-patch-ddd::streampos.h | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile index 1bdc8417924d..91f8a20093cc 100644 --- a/devel/ddd/Makefile +++ b/devel/ddd/Makefile @@ -42,7 +42,9 @@ LIBXMDIR= ${X11BASE} .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" +# XXX - configure is not detecting our streampos +# provide better solution later +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ddd::streampos.h .endif pre-patch: diff --git a/devel/ddd/files/extra-patch-ddd::streampos.h b/devel/ddd/files/extra-patch-ddd::streampos.h new file mode 100644 index 000000000000..f8a0fd9b00a7 --- /dev/null +++ b/devel/ddd/files/extra-patch-ddd::streampos.h @@ -0,0 +1,12 @@ +--- ddd/streampos.h.orig Mon Jan 17 09:53:42 2000 ++++ ddd/streampos.h Fri Jun 6 03:49:41 2003 +@@ -40,7 +40,9 @@ + #include "config.h" + + #if !HAVE_STREAMPOS ++#ifndef __FreeBSD__ + typedef long streampos; ++#endif + #endif + + #endif // _DDD_streampos_h |