diff options
Diffstat (limited to 'libraries/argon2/patches')
-rw-r--r-- | libraries/argon2/patches/Makefile.diff | 11 | ||||
-rw-r--r-- | libraries/argon2/patches/pkgconfig.diff | 21 |
2 files changed, 32 insertions, 0 deletions
diff --git a/libraries/argon2/patches/Makefile.diff b/libraries/argon2/patches/Makefile.diff new file mode 100644 index 0000000000000..42506d23dd97d --- /dev/null +++ b/libraries/argon2/patches/Makefile.diff @@ -0,0 +1,11 @@ +--- argon2-20170329_1eea010/Makefile.orig 2017-03-29 00:44:20.000000000 +0200 ++++ argon2-20170329_1eea010/Makefile 2017-08-01 14:01:49.766250175 +0200 +@@ -114,7 +114,7 @@ + DESTDIR = + PREFIX = /usr + INCLUDE_REL = include +-LIBRARY_REL = lib ++LIBRARY_REL = lib@@LIBDIRSUFFIX@@ + BINARY_REL = bin + + INST_INCLUDE = $(DESTDIR)$(PREFIX)/$(INCLUDE_REL) 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 |