summaryrefslogtreecommitdiff
path: root/games/xmoto/patches
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
parente6c6e9aa4f5a6e1488881f4a300340faf104f132 (diff)
downloadslackbuilds-98cc6486f87251a68f3dfbc9a0a4486bc328a771.tar.gz
games/xmoto: Updated for version 0.5.1
Diffstat (limited to 'games/xmoto/patches')
-rw-r--r--games/xmoto/patches/localedir.diff12
-rw-r--r--games/xmoto/patches/sqlite3.diff30
2 files changed, 42 insertions, 0 deletions
diff --git a/games/xmoto/patches/localedir.diff b/games/xmoto/patches/localedir.diff
new file mode 100644
index 0000000000..238e1de4a5
--- /dev/null
+++ b/games/xmoto/patches/localedir.diff
@@ -0,0 +1,12 @@
+diff -Naur xmoto-0.5.0.orig/po/Makefile.in.in xmoto-0.5.0/po/Makefile.in.in
+--- xmoto-0.5.0.orig/po/Makefile.in.in 2008-11-23 09:32:28.000000000 +0000
++++ xmoto-0.5.0/po/Makefile.in.in 2009-03-30 20:44:01.000000000 +0000
+@@ -26,7 +26,7 @@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+ localedir = @localedir@
+-gettextsrcdir = $(datadir)/gettext/po
++gettextsrcdir = @localedir@/gettext/po
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
diff --git a/games/xmoto/patches/sqlite3.diff b/games/xmoto/patches/sqlite3.diff
new file mode 100644
index 0000000000..8d47a140f7
--- /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