aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto/patches/sqlite3.diff
diff options
context:
space:
mode:
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