aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto/patches/sqlite3.diff
diff options
context:
space:
mode:
authorAlex Word <alex_word86@yahoo.com>2010-05-12 17:39:42 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:42 +0200
commit98cc6486f87251a68f3dfbc9a0a4486bc328a771 (patch)
treed1b9b5a2e1d224be4bbe95607b0add8bc0c9d0d9 /games/xmoto/patches/sqlite3.diff
parente6c6e9aa4f5a6e1488881f4a300340faf104f132 (diff)
games/xmoto: Updated for version 0.5.1
Diffstat (limited to 'games/xmoto/patches/sqlite3.diff')
-rw-r--r--games/xmoto/patches/sqlite3.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/xmoto/patches/sqlite3.diff b/games/xmoto/patches/sqlite3.diff
new file mode 100644
index 0000000000000..8d47a140f7ff9
--- /dev/null
+++ b/games/xmoto/patches/sqlite3.diff
@@ -0,0 +1,30 @@
+diff -Naur xmoto-0.5.0.orig/configure xmoto-0.5.0/configure
+--- xmoto-0.5.0.orig/configure 2008-11-23 09:33:21.000000000 +0000
++++ xmoto-0.5.0/configure 2009-03-30 20:52:48.000000000 +0000
+@@ -5104,7 +5104,7 @@
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+ _ACEOF
+- SQLITE_LIBS=-lsqlite3
++ SQLITE_LIBS=`pkg-config --static --libs sqlite3`
+ else
+ { { echo "$as_me:$LINENO: error: \"sqlite3 required\"" >&5
+ echo "$as_me: error: \"sqlite3 required\"" >&2;}
+@@ -5120,7 +5120,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lsqlite3 $LIBS"
++LIBS="`pkg-config --static --libs sqlite3` $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5174,7 +5174,7 @@
+ #define HAVE_LIBSQLITE3 1
+ _ACEOF
+
+- LIBS="-lsqlite3 $LIBS"
++ LIBS="`pkg-config --static --libs sqlite3` $LIBS"
+
+ else
+ { { echo "$as_me:$LINENO: error: \"Linking against sqlite3 failed.\"" >&5