diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 04:53:26 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 04:53:26 +0000 |
commit | e6e65608ef85b8087302624c5a4227a0384fa469 (patch) | |
tree | b3012d5968d4b7f19be91ab463902523abff3e34 /lang/cparser | |
parent | 175ff338380161ed35b6429de2ac874fe0f7367e (diff) | |
download | pkgsrc-e6e65608ef85b8087302624c5a4227a0384fa469.tar.gz |
Remove accidental global variable. On most Unix platforms such
variables become commons and don't get noticed, but on platforms
without commons or with commons disabled, this results in a multiply
defined symbol.
Should fix MacOS build.
Diffstat (limited to 'lang/cparser')
-rw-r--r-- | lang/cparser/distinfo | 3 | ||||
-rw-r--r-- | lang/cparser/patches/patch-driver_firm__cmdline.h | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/cparser/distinfo b/lang/cparser/distinfo index 9c81740cde6..31aa5979d2f 100644 --- a/lang/cparser/distinfo +++ b/lang/cparser/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2009/08/18 19:01:26 hasso Exp $ +$NetBSD: distinfo,v 1.4 2014/06/29 04:53:26 dholland Exp $ SHA1 (cparser-0.9.9.tar.bz2) = a74c5a49f6ebdd32d695ef525006329dcd1c790c RMD160 (cparser-0.9.9.tar.bz2) = 68bb0eeb58cc50ccc6ad16bae21d935598a23eb0 Size (cparser-0.9.9.tar.bz2) = 202354 bytes SHA1 (patch-aa) = a6651f8d339d2fda7ccf7a6fc205e21402789b06 SHA1 (patch-ac) = 8565aae449d78bb8e2f1fbc7f265c462d4fc2138 +SHA1 (patch-driver_firm__cmdline.h) = e5f5632cb2b7b7a689488e40260a608d38af2cf1 diff --git a/lang/cparser/patches/patch-driver_firm__cmdline.h b/lang/cparser/patches/patch-driver_firm__cmdline.h new file mode 100644 index 00000000000..dc847b2fccf --- /dev/null +++ b/lang/cparser/patches/patch-driver_firm__cmdline.h @@ -0,0 +1,18 @@ +$NetBSD: patch-driver_firm__cmdline.h,v 1.1 2014/06/29 04:53:26 dholland Exp $ + +Remove accidental global variable. On most Unix platforms such +variables become commons and don't get noticed, but on platforms +without commons or with commons disabled, this results in a multiply +defined symbol. + +--- driver/firm_cmdline.h~ 2009-05-15 11:27:34.000000000 +0000 ++++ driver/firm_cmdline.h +@@ -16,7 +16,7 @@ enum an_os_support { + OS_SUPPORT_LINUX, /**< create code for Linux OS */ + OS_SUPPORT_MINGW, /**< create code for MinGW WIN32 */ + OS_SUPPORT_MACHO /**< create code for MacOS Mach-O */ +-} an_os_support; ++}; + + enum a_debug_mode { + DBG_MODE_NONE = 0, /**< no special debug support */ |