diff options
author | dholland <dholland@pkgsrc.org> | 2017-09-12 06:04:47 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2017-09-12 06:04:47 +0000 |
commit | 36f717eebf9b418610b4747b53527dbcdc060fe7 (patch) | |
tree | c9b4a190428d914247eab6db9bd0bfca6ab113da | |
parent | e6765d915d8c354dd7fb666a582ed7346e53599e (diff) | |
download | pkgsrc-36f717eebf9b418610b4747b53527dbcdc060fe7.tar.gz |
Don't #undef bool, it breaks the perl bindings build.
-rw-r--r-- | security/libprelude/distinfo | 3 | ||||
-rw-r--r-- | security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c | 15 | ||||
-rw-r--r-- | security/libpreludedb/distinfo | 3 | ||||
-rw-r--r-- | security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c | 15 |
4 files changed, 34 insertions, 2 deletions
diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo index 88333a8c882..4a83b415a7c 100644 --- a/security/libprelude/distinfo +++ b/security/libprelude/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.39 2017/09/12 05:58:41 dholland Exp $ +$NetBSD: distinfo,v 1.40 2017/09/12 06:04:47 dholland Exp $ SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282 RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d @@ -19,5 +19,6 @@ SHA1 (patch-am) = 5581c999105a5d3b616e090afc105781e66eb888 SHA1 (patch-an) = 1f92ed4028087d9a357fcf3788978495d63a13e3 SHA1 (patch-ba) = 333d6e3f842d80888be0cec3921417fe51a027bc SHA1 (patch-bb) = ca80e503226a2e1adcc0976597a225a51a74b8f9 +SHA1 (patch-bindings_low_level_perl_Prelude.c) = 919ad0340f590365857fe7495c9d6dfa3540c0cf SHA1 (patch-src_include_prelude-plugin.h) = 4731b98059971577819906d84fe7f160c24c04f5 SHA1 (patch-src_libprelude-error_Makefile.in) = 43c3e4cb2ff9fcc617f537d54063e0b5d507083f diff --git a/security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c b/security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c new file mode 100644 index 00000000000..646cc6ba923 --- /dev/null +++ b/security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c @@ -0,0 +1,15 @@ +$NetBSD: patch-bindings_low_level_perl_Prelude.c,v 1.1 2017/09/12 06:04:47 dholland Exp $ + +Don't undef bool; it breaks the build. + +--- bindings/low-level/perl/Prelude.c~ 2009-08-11 15:13:59.000000000 +0000 ++++ bindings/low-level/perl/Prelude.c +@@ -1425,7 +1425,7 @@ SWIG_Perl_SetModule(swig_module_info *mo + #undef eof + #endif + #ifdef bool +- #undef bool ++// #undef bool + #endif + #ifdef close + #undef close diff --git a/security/libpreludedb/distinfo b/security/libpreludedb/distinfo index b9c66b5aef7..5877f92d7cf 100644 --- a/security/libpreludedb/distinfo +++ b/security/libpreludedb/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2015/11/04 01:17:49 agc Exp $ +$NetBSD: distinfo,v 1.17 2017/09/12 06:04:59 dholland Exp $ SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed @@ -8,3 +8,4 @@ SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4 SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89 SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855 +SHA1 (patch-bindings_perl_PreludeDB.c) = aa77ad738e5d5d9b65cf0f4e2b5d7fdd14e9f7bf diff --git a/security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c b/security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c new file mode 100644 index 00000000000..b105375f311 --- /dev/null +++ b/security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c @@ -0,0 +1,15 @@ +$NetBSD: patch-bindings_perl_PreludeDB.c,v 1.1 2017/09/12 06:04:59 dholland Exp $ + +Don't undef bool; it breaks the build. + +--- bindings/perl/PreludeDB.c~ 2009-07-15 07:38:21.000000000 +0000 ++++ bindings/perl/PreludeDB.c +@@ -1425,7 +1425,7 @@ SWIG_Perl_SetModule(swig_module_info *mo + #undef eof + #endif + #ifdef bool +- #undef bool ++// #undef bool + #endif + #ifdef close + #undef close |