summaryrefslogtreecommitdiff
path: root/devel/doc++
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 18:36:34 +0000
committerhans <hans@pkgsrc.org>2012-02-16 18:36:34 +0000
commit51e0bfe670aff46b32eba73205c53e291a2c6e90 (patch)
tree3e9e9fb29292b372fc65c60b892881bcc9c1338d /devel/doc++
parentcdfd0e93d2575de68dd7d85b58c91fd139b000cc (diff)
downloadpkgsrc-51e0bfe670aff46b32eba73205c53e291a2c6e90.tar.gz
Fix build on SunOS.
Diffstat (limited to 'devel/doc++')
-rw-r--r--devel/doc++/Makefile4
-rw-r--r--devel/doc++/distinfo3
-rw-r--r--devel/doc++/patches/patch-src_portability.h13
3 files changed, 18 insertions, 2 deletions
diff --git a/devel/doc++/Makefile b/devel/doc++/Makefile
index e967cc2917e..008b5e21780 100644
--- a/devel/doc++/Makefile
+++ b/devel/doc++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2011/04/22 13:43:17 obache Exp $
+# $NetBSD: Makefile,v 1.22 2012/02/16 18:36:34 hans Exp $
DISTNAME= doc++-3.4.10
PKGREVISION= 3
@@ -14,6 +14,8 @@ USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
+LIBS.SunOS+= -lintl
+
INSTALLATION_DIRS+= share/doc/doc++
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/devel/doc++/distinfo b/devel/doc++/distinfo
index 27b1c3a6cc3..0af7bc1fe8b 100644
--- a/devel/doc++/distinfo
+++ b/devel/doc++/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2011/11/25 21:38:09 joerg Exp $
+$NetBSD: distinfo,v 1.8 2012/02/16 18:36:34 hans Exp $
SHA1 (doc++-3.4.10.tar.gz) = 2102e99152ab91d80d7977fa5e13dd6f6043b2c8
RMD160 (doc++-3.4.10.tar.gz) = 85b14d32e2932ceb465f1bab16eb8389cd22d72d
@@ -18,4 +18,5 @@ SHA1 (patch-src_main.cc) = a78300cea46ddb1edfafd09f6b15277beeed512e
SHA1 (patch-src_nametable.cc) = 7d2976d12520572a6bc5a118f435f7446a560eaf
SHA1 (patch-src_nametable.h) = da6cfcd23e69f069e238d5e03a5af69176e15792
SHA1 (patch-src_php.ll) = b118886c8d0d9915dc18b41ebcaccc94b6a926d2
+SHA1 (patch-src_portability.h) = 28be0b12d78fb25047d2b1cea0db14e6db049d05
SHA1 (patch-src_tex2gif.cc) = 10f4500735c58a9d733f904e119ed0edb428006e
diff --git a/devel/doc++/patches/patch-src_portability.h b/devel/doc++/patches/patch-src_portability.h
new file mode 100644
index 00000000000..195e61d4974
--- /dev/null
+++ b/devel/doc++/patches/patch-src_portability.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_portability.h,v 1.1 2012/02/16 18:36:34 hans Exp $
+
+--- src/portability.h.orig 2001-09-02 21:57:36.000000000 +0200
++++ src/portability.h 2012-02-15 18:48:42.194632614 +0100
+@@ -62,7 +62,7 @@ inline int unlink(const char* const file
+
+ #elif defined __SVR4
+
+-#include <cstdlib.h>
++#include <cstdlib>
+
+ #endif // _MSC_VER
+