Clean patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1598
3c298f89-4303-0410-b956-
a3cf2f4a3e73
#check the return type of sprintf
case $SYSTEM_TYPE in
#check the return type of sprintf
case $SYSTEM_TYPE in
+ cat >>confdefs.h <<\_ACEOF
+#define SPRINTF_RETURNS_INT 1
+_ACEOF
+ cat >>confdefs.h <<\_ACEOF
+#define SPRINTF_RETURNS_INT 1
+_ACEOF
echo "$as_me:$LINENO: checking for int8" >&5
echo $ECHO_N "checking for int8... $ECHO_C" >&6
case $SYSTEM_TYPE in
echo "$as_me:$LINENO: checking for int8" >&5
echo $ECHO_N "checking for int8... $ECHO_C" >&6
case $SYSTEM_TYPE in
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ ;;
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ ;;
#check the return type of sprintf
case $SYSTEM_TYPE in
#check the return type of sprintf
case $SYSTEM_TYPE in
+ AC_DEFINE(SPRINTF_RETURNS_INT) AC_MSG_RESULT("int")
+ ;;
*netware*)
+ AC_DEFINE(SPRINTF_RETURNS_INT) AC_MSG_RESULT("int")
+ ;;
*netware*)
AC_MSG_CHECKING([for int8])
case $SYSTEM_TYPE in
AC_MSG_CHECKING([for int8])
case $SYSTEM_TYPE in
+ AC_MSG_RESULT([no])
+ ;;
*netware)
+ AC_MSG_RESULT([no])
+ ;;
*netware)
else
DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX=""
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 @@
--- 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 @@