aboutsummaryrefslogtreecommitdiff
path: root/libraries/argon2/patches/pkgconfig.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/argon2/patches/pkgconfig.diff')
-rw-r--r--libraries/argon2/patches/pkgconfig.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/argon2/patches/pkgconfig.diff b/libraries/argon2/patches/pkgconfig.diff
new file mode 100644
index 0000000000000..807de8045e30b
--- /dev/null
+++ b/libraries/argon2/patches/pkgconfig.diff
@@ -0,0 +1,21 @@
+--- argon2-20170329_1eea010/libargon2.pc.orig 2017-03-29 00:44:20.000000000 +0200
++++ argon2-20170329_1eea010/libargon2.pc 2017-08-01 13:47:25.874580099 +0200
+@@ -1,16 +1,11 @@
+-# libargon2 info for pkg-config
+-## Template for downstream installers:
+-## - replace @HOST_MULTIARCH@ with target arch, eg 'x86_64-linux-gnu'
+-## - replace @UPSTREAM_VER@ with current version, eg '20160406'
+-
+ prefix=/usr
+ exec_prefix=${prefix}
+-libdir=${prefix}/lib/@HOST_MULTIARCH@
++libdir=${prefix}/lib@@LIBDIRSUFFIX@@
+ includedir=${prefix}/include
+
+ Name: libargon2
+ Description: Development libraries for libargon2
+-Version: @UPSTREAM_VER@
++Version: @@VERSION@@
+ Libs: -L${libdir} -largon2 -lrt -ldl
+ Cflags:
+ URL: https://github.com/P-H-C/phc-winner-argon2