Control: tags -1 patch

On Tue, 20 May 2014 15:06:03 -0300
=?utf-8?q?Lisandro_Dami=C3=A1n_Nicanor_P=C3=A9rez_Meyer?=
 <lisan...@debian.org> wrote:
> Hi Mark! We are trying to use libpcre in Qt5, but we need pcr16 support, as 
> can
> be seen in this snippet of Qt5's qtbase package:

also sigil uses pcre16. Its upstream bundled it, but I would like to
use the packaged version.

> I'm being told by a team mate that this needs to be in a separate binary
> package.

I don't see the point in having a separate package only for this
library, so I cooked up a simple patch, working for me.
diff -Nru pcre3-8.35/debian/changelog pcre3-8.35/debian/changelog
--- pcre3-8.35/debian/changelog 2014-07-23 22:24:30.000000000 +0200
+++ pcre3-8.35/debian/changelog 2014-08-28 12:03:06.000000000 +0200
@@ -1,3 +1,10 @@
+pcre3 (1:8.35-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable the 16-bit library (pcre16).
+
+ -- Mattia Rizzolo <mat...@mapreri.org>  Thu, 28 Aug 2014 10:38:16 +0200
+
 pcre3 (1:8.35-3) unstable; urgency=medium
 
   Thanks to Simon McVittie for all of the work on this:
diff -Nru pcre3-8.35/debian/libpcre3.install pcre3-8.35/debian/libpcre3.install
--- pcre3-8.35/debian/libpcre3.install  2012-09-13 20:35:59.000000000 +0200
+++ pcre3-8.35/debian/libpcre3.install  2014-08-28 11:47:36.000000000 +0200
@@ -1,3 +1,4 @@
 debian/tmp/usr/lib/*/libpcre.so.*
+debian/tmp/usr/lib/*/libpcre16.so.*
 debian/tmp/usr/lib/*/libpcreposix.so.*
 debian/tmp/usr/share/man/man3/pcrepattern.3
diff -Nru pcre3-8.35/debian/rules pcre3-8.35/debian/rules
--- pcre3-8.35/debian/rules     2014-07-23 22:06:54.000000000 +0200
+++ pcre3-8.35/debian/rules     2014-08-28 10:37:40.000000000 +0200
@@ -37,7 +37,7 @@
                --infodir=\$${prefix}/share/info \
                --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                --enable-utf8 --enable-unicode-properties \
-               --disable-silent-rules \
+               --disable-silent-rules --enable-pcre16 \
                $(shell . debian/jit-test)
        touch configure-stamp
 

Reply via email to