summaryrefslogtreecommitdiff
path: root/games-arcade/xboing/files
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/xboing/files')
-rw-r--r--games-arcade/xboing/files/xboing-2.4-buffer.patch12
-rw-r--r--games-arcade/xboing/files/xboing-2.4-sleep.patch13
2 files changed, 25 insertions, 0 deletions
diff --git a/games-arcade/xboing/files/xboing-2.4-buffer.patch b/games-arcade/xboing/files/xboing-2.4-buffer.patch
new file mode 100644
index 000000000000..381ae69982d9
--- /dev/null
+++ b/games-arcade/xboing/files/xboing-2.4-buffer.patch
@@ -0,0 +1,12 @@
+diff -ruN xboing.orig/init.c xboing/init.c
+--- xboing.orig/init.c 1996-11-22 02:28:46.000000000 +0100
++++ xboing/init.c 2013-02-02 19:57:55.000000000 +0100
+@@ -266,7 +266,7 @@
+ #endif
+ {
+ /* Create all required font structures */
+- char str[80];
++ char str[200];
+
+ /* Font used for titles */
+ if (!(titleFont = XLoadQueryFont(display, TITLE_FONT)))
diff --git a/games-arcade/xboing/files/xboing-2.4-sleep.patch b/games-arcade/xboing/files/xboing-2.4-sleep.patch
new file mode 100644
index 000000000000..80723465185f
--- /dev/null
+++ b/games-arcade/xboing/files/xboing-2.4-sleep.patch
@@ -0,0 +1,13 @@
+diff -ru xboing.debian/misc.c xboing/misc.c
+--- xboing.debian/misc.c 2013-02-02 20:07:07.000000000 +0100
++++ xboing/misc.c 2013-02-02 20:11:51.000000000 +0100
+@@ -116,9 +116,7 @@
+ long SyncTime;
+ static unsigned long accu;
+
+-#ifdef __alpha__
+ ms *= 1000; /* convert from milliseconds to microseconds for usleep */
+-#endif
+
+ gettimeofday(&st, NULL);
+ XSync(display, False);