Hello,

Samuel Thibault, le dim. 04 nov. 2018 17:26:25 +0100, a ecrit:
> argon2 FTBFS on hurd-i386 because its Makefile does not know how to
> build a shared library, could you apply the attached patch? (we need
> this package for php7.3).

I have uploaded the attached changes as NMU.

Samuel
diff -Nru argon2-0~20171227/debian/changelog argon2-0~20171227/debian/changelog
--- argon2-0~20171227/debian/changelog  2018-06-06 22:08:10.000000000 +0200
+++ argon2-0~20171227/debian/changelog  2019-01-13 14:20:59.000000000 +0100
@@ -1,3 +1,10 @@
+argon2 (0~20171227-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix shared library build on hurd-i386 (Closes: #912858)
+
+ -- Samuel Thibault <sthiba...@debian.org>  Sun, 13 Jan 2019 14:20:59 +0100
+
 argon2 (0~20171227-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru argon2-0~20171227/debian/patches/hurd 
argon2-0~20171227/debian/patches/hurd
--- argon2-0~20171227/debian/patches/hurd       1970-01-01 01:00:00.000000000 
+0100
+++ argon2-0~20171227/debian/patches/hurd       2019-01-13 14:20:59.000000000 
+0100
@@ -0,0 +1,13 @@
+Index: argon2-0~20171227/Makefile
+===================================================================
+--- argon2-0~20171227.orig/Makefile
++++ argon2-0~20171227/Makefile
+@@ -58,7 +58,7 @@ BUILD_PATH := $(shell pwd)
+ KERNEL_NAME := $(shell uname -s)
+ 
+ LIB_NAME=argon2
+-ifeq ($(KERNEL_NAME), Linux)
++ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),Linux GNU))
+       LIB_EXT := so.$(ABI_VERSION)
+       LIB_CFLAGS := -shared -fPIC -fvisibility=hidden -DA2_VISCTL=1
+       SO_LDFLAGS := -Wl,-soname,lib$(LIB_NAME).$(LIB_EXT)
diff -Nru argon2-0~20171227/debian/patches/series 
argon2-0~20171227/debian/patches/series
--- argon2-0~20171227/debian/patches/series     2018-06-06 22:08:10.000000000 
+0200
+++ argon2-0~20171227/debian/patches/series     2019-01-13 14:20:59.000000000 
+0100
@@ -0,0 +1 @@
+hurd

Reply via email to