diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/patches/matrixssl')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch | 14 | ||||
-rw-r--r-- | obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.2.1-examples_fix.patch | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch new file mode 100644 index 0000000000..dfd8b5d954 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch @@ -0,0 +1,14 @@ +diff -ruN matrixssl-1.1.2-old/src/Makefile matrixssl-1.1.2-new/src/Makefile +--- matrixssl-1.1.2-old/src/Makefile 2004-06-10 21:03:25.000000000 +0200 ++++ matrixssl-1.1.2-new/src/Makefile 2004-07-09 22:58:06.000000000 +0200 +@@ -46,8 +46,8 @@ + # Compile options + # + SHARED = -shared +-CFLAGS = $(DFLAGS) -DLINUX +-LDFLAGS = -nostdlib -lc -lpthread ++CFLAGS = $(DFLAGS) -DLINUX -fPIC ++LDFLAGS = -lc -lpthread -Wl,-soname,libmatrixssl.so.1.2 + + # + # Override variables for compilation on Mac OS X (Darwin) diff --git a/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.2.1-examples_fix.patch b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.2.1-examples_fix.patch new file mode 100644 index 0000000000..e9980d66a0 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.2.1-examples_fix.patch @@ -0,0 +1,12 @@ +diff -ruN matrixssl-1.2.1-old/examples/Makefile matrixssl-1.2.1-new/examples/Makefile +--- matrixssl-1.2.1-old/examples/Makefile 2004-06-05 00:45:21.000000000 +0200 ++++ matrixssl-1.2.1-new/examples/Makefile 2004-08-19 04:01:29.000000000 +0200 +@@ -34,7 +34,7 @@ + # Compile options + # + CFLAGS = $(DFLAGS) -DLINUX +-LDFLAGS = -lc ++LDFLAGS = -lc -lpthread + + # + # Override variables for compilation on Mac OS X (Darwin) |