pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xapian Apply previous fix to PHP5 as well.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58f14c2700c0
branches:  trunk
changeset: 338727:58f14c2700c0
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Aug 29 13:41:15 2019 +0000

description:
Apply previous fix to PHP5 as well.

diffstat:

 textproc/xapian/distinfo-bindings                               |   3 +-
 textproc/xapian/patches-bindings/patch-php_php5_xapian__wrap.cc |  17 ++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 1fcc26205785 -r 58f14c2700c0 textproc/xapian/distinfo-bindings
--- a/textproc/xapian/distinfo-bindings Thu Aug 29 12:22:13 2019 +0000
+++ b/textproc/xapian/distinfo-bindings Thu Aug 29 13:41:15 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo-bindings,v 1.13 2019/08/28 19:23:38 schmonz Exp $
+$NetBSD: distinfo-bindings,v 1.14 2019/08/29 13:41:15 schmonz Exp $
 
 SHA1 (xapian-bindings-1.4.12.tar.xz) = ce70a047516fdea3106b92e235f3ca038faba7f2
 RMD160 (xapian-bindings-1.4.12.tar.xz) = b1743d1c67ae32af4074eb40b3eea90493bcbe1d
@@ -8,4 +8,5 @@
 SHA1 (patch-lua_Makefile.in) = 7f1c5077f0d46dfdf33c2b65f144bb08d5031330
 SHA1 (patch-perl_Makefile.in) = 993b137b319d7d28c2b3a70d2e46e1a38d380578
 SHA1 (patch-php7_php7_xapian__wrap.cc) = aa5ca15ef04bbd5038e23f4d1d01d1029243c68e
+SHA1 (patch-php_php5_xapian__wrap.cc) = dc4b225a8db836a32f23fd7545a70c0b2fa412ac
 SHA1 (patch-ruby_Makefile.in) = ddbf3ca92b11ff6955d80f6a5609e3ce36798b0b
diff -r 1fcc26205785 -r 58f14c2700c0 textproc/xapian/patches-bindings/patch-php_php5_xapian__wrap.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian/patches-bindings/patch-php_php5_xapian__wrap.cc   Thu Aug 29 13:41:15 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-php_php5_xapian__wrap.cc,v 1.1 2019/08/29 13:41:15 schmonz Exp $
+
+Reorder includes to fix SmartOS bulk build error:
+"/usr/include/locale.h:53:12: error: 'lconv' is already declared in this scope"
+<https://trac.xapian.org/ticket/793>
+
+--- php/php5/xapian_wrap.cc.orig       2019-07-24 03:37:23.000000000 +0000
++++ php/php5/xapian_wrap.cc
+@@ -17,6 +17,8 @@
+ #define SWIG_PREFIX "Xapian"
+ #define SWIG_PREFIX_LEN 6
+ 
++#include <string>
++
+ #ifdef __cplusplus
+ /* SwigValueWrapper is described in swig.swg */
+ template<typename T> class SwigValueWrapper {



Home | Main Index | Thread Index | Old Index