diff options
Diffstat (limited to 'package/srelay/patches')
-rw-r--r-- | package/srelay/patches/01-cross_compile.patch | 6 | ||||
-rw-r--r-- | package/srelay/patches/patch-configure_in | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/package/srelay/patches/01-cross_compile.patch b/package/srelay/patches/01-cross_compile.patch index f4ff1e681..03d7fa215 100644 --- a/package/srelay/patches/01-cross_compile.patch +++ b/package/srelay/patches/01-cross_compile.patch @@ -1,7 +1,7 @@ diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure ---- srelay-0.4.6/configure 2003-04-14 07:36:15.000000000 +0200 -+++ srelay-0.4.6.new/configure 2006-03-28 15:11:42.000000000 +0200 -@@ -1395,7 +1395,7 @@ +--- srelay-0.4.6.orig/configure 2003-04-14 07:36:15.000000000 +0200 ++++ srelay-0.4.6/configure 2009-06-05 18:03:20.000000000 +0200 +@@ -1395,7 +1395,7 @@ _ACEOF ;; linux*) case "$build_cpu" in diff --git a/package/srelay/patches/patch-configure_in b/package/srelay/patches/patch-configure_in new file mode 100644 index 000000000..46e2a9aeb --- /dev/null +++ b/package/srelay/patches/patch-configure_in @@ -0,0 +1,20 @@ +--- srelay-0.4.6.orig/configure.in 2003-04-14 07:36:15.000000000 +0200 ++++ srelay-0.4.6/configure.in 2009-06-05 18:11:26.000000000 +0200 +@@ -15,7 +15,7 @@ case "$build_os" in + ;; + linux*) + case "$build_cpu" in +- i*86) ++ i*86 | mips* | powerpc* | sparc* | x86_64*) + OS=LINUX + AC_DEFINE(LINUX) + ;; +@@ -23,7 +23,7 @@ case "$build_os" in + ;; + esac + +-CFLAGS="$CFLAGS -O2 -Wall" ++CFLAGS="$CFLAGS -Wall" + LDFLAGS="$LDFLAGS -s" + + dnl Local libralies. |