diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-09 18:27:33 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-09 18:27:33 +0000 |
commit | acf1b7ba86caef1770dc33429e3f36c32a4d56a5 (patch) | |
tree | 90d4b4073e4205f426a27341347a5da18d75341e /devel/ddd | |
parent | Upgrade to 0.7. (diff) |
Fix build in 5.x branch: configure is not detecting streampos
correctly, circumvent that. Provide a proper auto* tools related
solution later
PR: 52983
Submitted by: David Yeske <dyeske@yahoo.com>
Notes
Notes:
svn path=/head/; revision=82611
Diffstat (limited to 'devel/ddd')
-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 |