diff options
-rw-r--r-- | debian/patches/0004-link-with-pcrecpp-and-pcre-if-sunos.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0004-link-with-pcrecpp-and-pcre-if-sunos.patch b/debian/patches/0004-link-with-pcrecpp-and-pcre-if-sunos.patch new file mode 100644 index 0000000..bf21826 --- /dev/null +++ b/debian/patches/0004-link-with-pcrecpp-and-pcre-if-sunos.patch @@ -0,0 +1,22 @@ +From: Igor Pashev <pashev.igor@gmail.com> +Date: Thu, 14 Jun 2012 23:23:08 +0000 +Subject: link with pcrecpp and pcre if sunos + +--- + SConstruct | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/SConstruct b/SConstruct +index 418cb4c..3ff81f8 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -552,6 +552,9 @@ elif "sunos5" == os.sys.platform: + solaris = True + env.Append( CPPDEFINES=[ "__sunos__" ] ) + env.Append( LIBS=["socket","resolv"] ) ++ # use system-wide pcre ++ env.Append( CPPPATH=["/usr/include"] ) ++ env.Append( LIBS=["pcrecpp", "pcre"] ) + + elif os.sys.platform.startswith( "freebsd" ): + nix = True diff --git a/debian/patches/series b/debian/patches/series index f818da6..8ce975f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0001-install-libs-to-usr-lib-not-usr-lib64-Closes-588557.patch 0002-Ignore-unused-but-set-variables-and-params-Closes-62.patch 0003-use-system-wide-pcre.patch +0004-link-with-pcrecpp-and-pcre-if-sunos.patch |