summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-09-06 07:46:04 +0000
committerStuart Herbert <stuart@gentoo.org>2005-09-06 07:46:04 +0000
commita24bb2e6f1a20959e73c20fb698fa976c79a6851 (patch)
treedd47241b4c3c6ab11179a55be49cfb401591d98d /dev-php5/pecl-pdo-sqlite/files
parentRemoved corrupted patch file (diff)
downloadgentoo-2-a24bb2e6f1a20959e73c20fb698fa976c79a6851.tar.gz
gentoo-2-a24bb2e6f1a20959e73c20fb698fa976c79a6851.tar.bz2
gentoo-2-a24bb2e6f1a20959e73c20fb698fa976c79a6851.zip
Replaced corrupted patch file
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-php5/pecl-pdo-sqlite/files')
-rw-r--r--dev-php5/pecl-pdo-sqlite/files/config.m4.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-php5/pecl-pdo-sqlite/files/config.m4.diff b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff
new file mode 100644
index 000000000000..99faec5f1062
--- /dev/null
+++ b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff
@@ -0,0 +1,32 @@
+--- config.m4 2005-08-06 21:00:16.000000000 +0200
++++ config.m4 2005-08-06 21:04:03.000000000 +0200
+@@ -1,4 +1,4 @@
+-dnl $Id: config.m4,v 1.23 2005/07/27 04:07:11 wez Exp $
++dnl $Id: config.m4,v 1.26 2005/07/29 20:41:52 iliaa Exp $
+ dnl config.m4 for extension pdo_sqlite
+ dnl vim:et:sw=2:ts=2:
+
+@@ -90,20 +90,9 @@
+ AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer])
+ PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION`
+ PDO_SQLITE_VERSION_NUMBER=`echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'`
+- sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h
+- if ! test -f $abs_srcdir/sqlite/src/parse.h ; then
+- dnl maintainer can comment this line out when upgrading the bundled library
+- dnl and reinstate it when done
+- AC_MSG_ERROR([this package is broken])
+- $CC -o $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/tool/lemon.c
+- $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/src/parse.y
+- cat $abs_srcdir/sqlite/src/parse.h $abs_srcdir/sqlite/src/vdbe.c | $AWK -f $abs_srcdir/sqlite/mkopcodeh.awk > $abs_srcdir/sqlite/src/opcodes.h
+- sort -n +2 $abs_srcdir/sqlite/src/opcodes.h | $AWK -f $abs_srcdir/sqlite/mkopcodec.awk > $abs_srcdir/sqlite/src/opcodes.c
+- $CC -o $abs_srcdir/sqlite/tool/mkkeywordhash $abs_srcdir/sqlite/tool/mkkeywordhash.c
+- $abs_srcdir/sqlite/tool/mkkeywordhash > $abs_srcdir/sqlite/src/keywordhash.h
+- else
+- touch $abs_srcdir/sqlite/src/parse.c $abs_srcdir/sqlite/src/parse.h
+- fi
++ sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $ext_srcdir/sqlite/src/sqlite.h.in > $ext_builddir/sqlite3.h
++
++ touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h
+
+ if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then
+ echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h