summaryrefslogtreecommitdiffhomepage
path: root/patches/libnettle
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-31 19:02:23 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-31 19:02:23 +0000
commitcbf53bcf0e53c08011a47e434664991c3fec9299 (patch)
tree0864712a6fa6795747ad23395185fb952beb2c7f /patches/libnettle
parentdf83d954532df47bbf7a42c2ab21a8444ce1b602 (diff)
downloadmidipix_build-cbf53bcf0e53c08011a47e434664991c3fec9299.tar.bz2
midipix_build-cbf53bcf0e53c08011a47e434664991c3fec9299.tar.xz
vars/build.vars:gmp{_host,}: updated to v6.1.2.
vars/build.vars:libnettle: updated to v3.4.1 (via Redfoxmoon.) vars/build.vars:libnettle:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/o --disable-assembler and w/ nettle_cv_asm_underscore=no --disable-static (via Redfoxmoon.) vars/build.vars:libnettle:${PKG_CFLAGS_CONFIGURE_EXTRA}: configure w/ -std=gnu99 (via Redfoxmoon.) patches/libnettle-3.4.1.local.patch: updated. patches/libnettle/nettle-conf-fix.patch: via Redfoxmoon.
Diffstat (limited to 'patches/libnettle')
-rw-r--r--patches/libnettle/nettle-conf-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/libnettle/nettle-conf-fix.patch b/patches/libnettle/nettle-conf-fix.patch
new file mode 100644
index 00000000..1e031668
--- /dev/null
+++ b/patches/libnettle/nettle-conf-fix.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'