summaryrefslogtreecommitdiff
path: root/openwrt/package/mysql/patches
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-10 16:11:46 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-10 16:11:46 +0000
commit3a6a7aeadaa711e91e08fbdc5fda15ab25142f63 (patch)
treea9b951e7683305eb0b74c8ef1a5be6b07ad22cea /openwrt/package/mysql/patches
parent14428f9a610d763126cbcf9b841dd2140aa7d8eb (diff)
Fix cross-compile when target system is known to autoconf,
Clean patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1598 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/mysql/patches')
-rw-r--r--openwrt/package/mysql/patches/500-cross-compile.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/openwrt/package/mysql/patches/500-cross-compile.patch b/openwrt/package/mysql/patches/500-cross-compile.patch
index 3f8a43f86b..943b26a210 100644
--- a/openwrt/package/mysql/patches/500-cross-compile.patch
+++ b/openwrt/package/mysql/patches/500-cross-compile.patch
@@ -763,7 +763,7 @@ diff -ruN mysql-4.0.24-orig/configure mysql-4.0.24-2/configure
#check the return type of sprintf
case $SYSTEM_TYPE in
-+ *unknown*)
++ *linux*)
+ cat >>confdefs.h <<\_ACEOF
+#define SPRINTF_RETURNS_INT 1
+_ACEOF
@@ -1212,7 +1212,7 @@ diff -ruN mysql-4.0.24-orig/configure mysql-4.0.24-2/configure
echo "$as_me:$LINENO: checking for int8" >&5
echo $ECHO_N "checking for int8... $ECHO_C" >&6
case $SYSTEM_TYPE in
-+ *unknown*)
++ *linux*)
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ ;;
@@ -2326,7 +2326,7 @@ diff -ruN mysql-4.0.24-orig/configure.in mysql-4.0.24-2/configure.in
#check the return type of sprintf
case $SYSTEM_TYPE in
-+ *unknown*)
++ *linux*)
+ AC_DEFINE(SPRINTF_RETURNS_INT) AC_MSG_RESULT("int")
+ ;;
*netware*)
@@ -2382,7 +2382,7 @@ diff -ruN mysql-4.0.24-orig/configure.in mysql-4.0.24-2/configure.in
AC_MSG_CHECKING([for int8])
case $SYSTEM_TYPE in
-+ *unknown*)
++ *linux*)
+ AC_MSG_RESULT([no])
+ ;;
*netware)
@@ -2408,11 +2408,7 @@ diff -ruN mysql-4.0.24-orig/configure.in mysql-4.0.24-2/configure.in
else
DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX=""
-diff -ruN mysql-4.0.24-orig/ipkg/libmysqlclient/CONTROL/control mysql-4.0.24-2/ipkg/libmysqlclient/CONTROL/control
-diff -ruN mysql-4.0.24-orig/ipkg/libmysqlclient-dev/CONTROL/control mysql-4.0.24-2/ipkg/libmysqlclient-dev/CONTROL/control
-diff -ruN mysql-4.0.24-orig/ipkg/mysql-utils/CONTROL/control mysql-4.0.24-2/ipkg/mysql-utils/CONTROL/control
-diff -ruN mysql-4.0.24-orig/ipkg/rules mysql-4.0.24-2/ipkg/rules
-diff -ruN mysql-4.0.24-orig/ipkg/version mysql-4.0.24-2/ipkg/version
+diff -ruN mysql-4.0.24/configure.old mysql-4.0.24/configure
--- mysql-4.0.24/configure.old 2005-04-18 08:33:00.000000000 +0200
+++ mysql-4.0.24/configure 2005-04-18 08:34:28.000000000 +0200
@@ -25013,7 +25013,7 @@