]> git.pld-linux.org Git - packages/xut.git/commitdiff
- set datadir to /usr/share/games/xut
authorlisu <lisu@pld-linux.org>
Wed, 21 Jul 2010 14:46:19 +0000 (14:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xut-datadir.patch -> 1.1

xut-datadir.patch [new file with mode: 0644]

diff --git a/xut-datadir.patch b/xut-datadir.patch
new file mode 100644 (file)
index 0000000..6b84b1a
--- /dev/null
@@ -0,0 +1,21 @@
+--- xut/src/etc/dirs.cpp~      2010-07-14 21:43:00.000000000 +0200
++++ xut/src/etc/dirs.cpp       2010-07-21 16:29:37.103466659 +0200
+@@ -29,6 +29,7 @@
+       /* Try to open at defined datadir */
+       file = DATADIR;
+       file += "/";
++      file += "games/";
+       file += PACKAGE;
+       file += "/fnts/arial.ttf";
+       if((arq = fopen(file.c_str(),"r")))
+--- xut/Makefile.in~   2010-07-21 16:30:25.090123985 +0200
++++ xut/Makefile.in    2010-07-21 16:30:46.345964629 +0200
+@@ -67,7 +67,7 @@
+       @$(INSTALL) -c -m 755 $(BIN)xut $(DESTDIR)$(bindir)/
+       @printf "\e[0;32mDone.\e[0;0m\n"
+       @printf "Installing XUT data files... "
+-      @sh install.sh $(DESTDIR)$(datadir) $(PACKAGE) $(INSTALL)
++      @sh install.sh $(DESTDIR)$(datadir)/games $(PACKAGE) $(INSTALL)
+       @printf "\e[0;32mDone.\e[0;0m\n"
+       @printf "Installing XUT Language files... "
+       @cd ./po && ${MAKE} install > /dev/null ;
This page took 0.097377 seconds and 4 git commands to generate.