diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 03:52:47 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 03:52:47 +0000 |
commit | aff55b688f1244b3746b24dcff5b0e1050d9de8b (patch) | |
tree | 0ad6cdf8eeceea3dcfbfeac1b5e8e99b14a4491e /devel | |
parent | f0ef8fd963dfd4d048c370cb85faf27a78eb5c9e (diff) | |
download | pkgsrc-aff55b688f1244b3746b24dcff5b0e1050d9de8b.tar.gz |
add a bit of a hack that should fix or advance the MacOS build
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mcpp/distinfo | 3 | ||||
-rw-r--r-- | devel/mcpp/patches/patch-src_internal.H | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/mcpp/distinfo b/devel/mcpp/distinfo index f9fa4c0859c..5c1187d3504 100644 --- a/devel/mcpp/distinfo +++ b/devel/mcpp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2013/10/20 15:06:58 ryoon Exp $ +$NetBSD: distinfo,v 1.2 2014/06/29 03:52:47 dholland Exp $ SHA1 (mcpp-2.7.2.tar.gz) = 703356b7c2cd30d7fb6000625bf3ccc2eb977ecb RMD160 (mcpp-2.7.2.tar.gz) = 05bc2c8d8e032e75b8a9b1d22f11c007d5829d1f Size (mcpp-2.7.2.tar.gz) = 1533457 bytes +SHA1 (patch-src_internal.H) = 0c874d8fc2c90dae325515d80355a6ee9bfd0e9c diff --git a/devel/mcpp/patches/patch-src_internal.H b/devel/mcpp/patches/patch-src_internal.H new file mode 100644 index 00000000000..74122f55b6b --- /dev/null +++ b/devel/mcpp/patches/patch-src_internal.H @@ -0,0 +1,16 @@ +$NetBSD: patch-src_internal.H,v 1.1 2014/06/29 03:52:47 dholland Exp $ + +stpcpy seems to be a macro on MacOS. +note that it would probably be better to remove this declaration +entirely (if the host has stpcpy, why are we declaring it?) but +that might create issues and pkgsrc is in a freeze at the moment. + +--- src/internal.H~ 2008-08-27 13:01:16.000000000 +0000 ++++ src/internal.H +@@ -558,5 +558,6 @@ extern void init_system( void); + #endif + + #if HOST_HAVE_STPCPY ++#undef stpcpy + extern char * stpcpy( char * dest, const char * src); + #endif |