summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/patches/matrixssl
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 23:20:34 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 23:20:34 +0000
commitfe6af23ad45e116649d8e2f219146980eacf593f (patch)
tree88af494794d9bb901fe8ae508ce8d3dc0fcba995 /obsolete-buildroot/sources/openwrt/patches/matrixssl
parent220968fb96814a0c3fa1287a76665a60dbf13496 (diff)
buildroot-20040827-matrixssl.patch.txt
buildroot-20040827-ntpclient.patch.txt buildroot-20040827-radvd.patch.txt buildroot-20040827-strace.patch.txt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@152 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/patches/matrixssl')
-rw-r--r--obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.1.2-openwrt.patch14
-rw-r--r--obsolete-buildroot/sources/openwrt/patches/matrixssl/matrixssl-1.2.1-examples_fix.patch12
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 000000000..dfd8b5d95
--- /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 000000000..e9980d66a
--- /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)