pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Don't #undef bool, it breaks the perl binding...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fcc6e2c3c50
branches:  trunk
changeset: 368213:3fcc6e2c3c50
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Tue Sep 12 06:04:47 2017 +0000

description:
Don't #undef bool, it breaks the perl bindings build.

diffstat:

 security/libprelude/distinfo                                        |   3 +-
 security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c |  15 ++++++++++
 security/libpreludedb/distinfo                                      |   3 +-
 security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c       |  15 ++++++++++
 4 files changed, 34 insertions(+), 2 deletions(-)

diffs (68 lines):

diff -r 40b25c7400f4 -r 3fcc6e2c3c50 security/libprelude/distinfo
--- a/security/libprelude/distinfo      Tue Sep 12 05:58:41 2017 +0000
+++ b/security/libprelude/distinfo      Tue Sep 12 06:04:47 2017 +0000
@@ -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-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 -r 40b25c7400f4 -r 3fcc6e2c3c50 security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libprelude/patches/patch-bindings_low_level_perl_Prelude.c       Tue Sep 12 06:04:47 2017 +0000
@@ -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 -r 40b25c7400f4 -r 3fcc6e2c3c50 security/libpreludedb/distinfo
--- a/security/libpreludedb/distinfo    Tue Sep 12 05:58:41 2017 +0000
+++ b/security/libpreludedb/distinfo    Tue Sep 12 06:04:47 2017 +0000
@@ -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-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
 SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
 SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855
+SHA1 (patch-bindings_perl_PreludeDB.c) = aa77ad738e5d5d9b65cf0f4e2b5d7fdd14e9f7bf
diff -r 40b25c7400f4 -r 3fcc6e2c3c50 security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb/patches/patch-bindings_perl_PreludeDB.c     Tue Sep 12 06:04:47 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index