summaryrefslogtreecommitdiff
path: root/packages/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mysql')
-rw-r--r--packages/mysql/files/fix_host_path.patch24
-rw-r--r--packages/mysql/mysql_4.1.22.bb3
2 files changed, 26 insertions, 1 deletions
diff --git a/packages/mysql/files/fix_host_path.patch b/packages/mysql/files/fix_host_path.patch
new file mode 100644
index 0000000000..4ba1cc0838
--- /dev/null
+++ b/packages/mysql/files/fix_host_path.patch
@@ -0,0 +1,24 @@
+--- mysql-4.1.22/configure.in.old 2008-09-18 20:11:15.000000000 -0500
++++ mysql-4.1.22/configure.in 2008-09-18 20:12:28.000000000 -0500
+@@ -456,9 +456,9 @@ else
+ fi
+ fi
+
+-AC_SUBST(HOSTNAME)
+-AC_SUBST(PERL)
+-AC_SUBST(PERL5)
++AC_SUBST(HOSTNAME,/bin/hostname)
++AC_SUBST(PERL,$(bindir)/perl)
++AC_SUBST(PERL5,$(bindir)/perl)
+
+ # for build ndb docs
+
+@@ -527,7 +527,7 @@ else
+ AC_MSG_WARN([kill -0 to check for pid seems to fail])
+ CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2> /dev/null"
+ fi
+-AC_SUBST(CHECK_PID)
++AC_SUBST(CHECK_PID,/bin/kill)
+ AC_MSG_RESULT("$CHECK_PID")
+
+ # We need an ANSI C compiler
diff --git a/packages/mysql/mysql_4.1.22.bb b/packages/mysql/mysql_4.1.22.bb
index 15a342653b..c60758b19f 100644
--- a/packages/mysql/mysql_4.1.22.bb
+++ b/packages/mysql/mysql_4.1.22.bb
@@ -3,10 +3,11 @@ HOMEPAGE = "http://www.mysql.com/"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "ncurses"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://downloads.mysql.com/archives/mysql-4.1/mysql-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
+ file://fix_host_path.patch;patch=1 \
file://my.cnf \
file://mysqld.sh"