summaryrefslogtreecommitdiffhomepage
path: root/patches/nettle
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-04-10 15:00:45 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-04-11 13:31:27 +0100
commitd7698a456908bdbb02f6de27670a3f748768ceee (patch)
tree842eb4987a712030fbe55d61ada232b974d8a9d7 /patches/nettle
parent168e556aba2831a9217ca492619466419c6c8eb0 (diff)
downloadmidipix_build-d7698a456908bdbb02f6de27670a3f748768ceee.tar.bz2
midipix_build-d7698a456908bdbb02f6de27670a3f748768ceee.tar.xz
groups/251.native_packages_lib.group: nettle: bump to v3.7.2
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/nettle')
-rw-r--r--patches/nettle/midipix-configure-support.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/nettle/midipix-configure-support.patch b/patches/nettle/midipix-configure-support.patch
new file mode 100644
index 00000000..1e031668
--- /dev/null
+++ b/patches/nettle/midipix-configure-support.patch
@@ -0,0 +1,26 @@
+diff -ru nettle-3.4.1.orig/configure nettle-3.4.1/configure
+--- nettle-3.4.1.orig/configure 2018-12-04 21:56:06.000000000 +0100
++++ nettle-3.4.1/configure 2019-01-31 11:41:23.385784666 +0100
+@@ -7188,6 +7188,22 @@
+ LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS) libnettle.dll.a'
+ IF_DLL=''
+ ;;
++ midipix*)
++ if test "x$ABI" = x64 ; then
++ W64_ABI=yes
++ fi
++ LIBNETTLE_FORLINK=libnettle.so
++ LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
++ LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
++ LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libnettle.lib.a -Wl,-soname=$(LIBNETTLE_SONAME)'
++ LIBNETTLE_LIBS=''
++
++ LIBHOGWEED_FORLINK=libhogweed.so
++ LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
++ LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
++ LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libhogweed.lib.a -Wl,-soname=$(LIBHOGWEED_SONAME)'
++ LIBHOGWEED_LIBS='$(LIBS) libnettle.lib.a'
++ ;;
+ darwin*)
+ LIBNETTLE_FORLINK=libnettle.dylib
+ LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'