summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 06:04:54 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 06:04:54 +0000
commitfb338d01236d28df05b5c8bc403670337f9033ae (patch)
tree7b695d4ff39cb6a66c2c72254ffc4739e5551f7f /games-action/trackballs/files
parentRemove obsolete versions. Mark version 0.6.8 stable on x86. Version bump (#11... (diff)
downloadgentoo-2-fb338d01236d28df05b5c8bc403670337f9033ae.tar.gz
gentoo-2-fb338d01236d28df05b5c8bc403670337f9033ae.tar.bz2
gentoo-2-fb338d01236d28df05b5c8bc403670337f9033ae.zip
version bump
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-action/trackballs/files')
-rw-r--r--games-action/trackballs/files/digest-trackballs-1.1.12
-rw-r--r--games-action/trackballs/files/trackballs-1.1.1-localedir.patch22
2 files changed, 24 insertions, 0 deletions
diff --git a/games-action/trackballs/files/digest-trackballs-1.1.1 b/games-action/trackballs/files/digest-trackballs-1.1.1
new file mode 100644
index 000000000000..c9c1fb601f4f
--- /dev/null
+++ b/games-action/trackballs/files/digest-trackballs-1.1.1
@@ -0,0 +1,2 @@
+MD5 34c4389aebeab9444ceb887192964fa0 trackballs-1.1.1.tar.gz 6025272
+MD5 68be5fe2ed2381e73863a9858d02064d trackballs-music-1.2.tar.bz2 16064336
diff --git a/games-action/trackballs/files/trackballs-1.1.1-localedir.patch b/games-action/trackballs/files/trackballs-1.1.1-localedir.patch
new file mode 100644
index 000000000000..3785458f8147
--- /dev/null
+++ b/games-action/trackballs/files/trackballs-1.1.1-localedir.patch
@@ -0,0 +1,22 @@
+--- src/mmad.cc.orig 2005-11-15 00:18:08.000000000 -0500
++++ src/mmad.cc 2005-11-15 00:18:45.000000000 -0500
+@@ -517,7 +517,7 @@
+ /* Initialialize i18n with system defaults, before anything else (eg. settings) have been loaded */
+ setlocale(LC_ALL, "");
+ char localedir[256];
+- snprintf(localedir,255,"%s/locale",effectiveShareDir);
++ snprintf(localedir,255,"%s",LOCALEDIR);
+ bindtextdomain(PACKAGE,localedir);
+ textdomain(PACKAGE);
+
+--- src/settings.cc.orig 2005-11-15 00:17:02.000000000 -0500
++++ src/settings.cc 2005-11-15 00:17:28.000000000 -0500
+@@ -291,7 +291,7 @@
+ /* check if the correct language directory exists, otherwise use default */
+ if(language != 0) {
+ char localedir[256];
+- snprintf(localedir,255,"%s/locale/%c%c",effectiveShareDir,languageCodes[language][0],languageCodes[language][1]);
++ snprintf(localedir,255,"%s/%c%c",LOCALEDIR,languageCodes[language][0],languageCodes[language][1]);
+ if(!dirExists(localedir)) {
+ fprintf(stderr,"Warning: locale directory %s missing.\n",localedir);
+ //language=0;