aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/zlib/patches/005-relative-pkg-config-paths.patch
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 11:53:03 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 14:08:29 +0100
commit221eefaf6b301043c491aab8815fcfa24e8a5583 (patch)
treeed5d4d9fe9a99bf332f30eca864098bbf8ad086f /package/libs/zlib/patches/005-relative-pkg-config-paths.patch
parent287bd78e6f8af68fc3095839c7b70842cf3ddb4c (diff)
downloadupstream-221eefaf6b301043c491aab8815fcfa24e8a5583.tar.gz
upstream-221eefaf6b301043c491aab8815fcfa24e8a5583.tar.bz2
upstream-221eefaf6b301043c491aab8815fcfa24e8a5583.zip
zlib: properly split patches
This package had two patches (with two headers etc.) in one file, which would have quilt merging them during a refresh. Separate these patches into two files, as the original intent seems to be having them separate. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/libs/zlib/patches/005-relative-pkg-config-paths.patch')
-rw-r--r--package/libs/zlib/patches/005-relative-pkg-config-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libs/zlib/patches/005-relative-pkg-config-paths.patch b/package/libs/zlib/patches/005-relative-pkg-config-paths.patch
new file mode 100644
index 0000000000..c86d19b412
--- /dev/null
+++ b/package/libs/zlib/patches/005-relative-pkg-config-paths.patch
@@ -0,0 +1,14 @@
+--- a/zlib.pc.cmakein
++++ b/zlib.pc.cmakein
+@@ -1,8 +1,8 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@INSTALL_LIB_DIR@
+-sharedlibdir=@INSTALL_LIB_DIR@
+-includedir=@INSTALL_INC_DIR@
++libdir=${exec_prefix}/lib
++sharedlibdir=${exec_prefix}/lib
++includedir=${prefix}/include
+
+ Name: zlib
+ Description: zlib compression library