summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-08 13:29:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-08 13:29:29 +0000
commit438cf93e6418086a3a0b3ec97719e7d48b49954e (patch)
tree64b933630e6deef6141fd231fbb6baa42c185dcd /games-board/qgo/files
parentMarked stable on hppa. (diff)
downloadhistorical-438cf93e6418086a3a0b3ec97719e7d48b49954e.tar.gz
historical-438cf93e6418086a3a0b3ec97719e7d48b49954e.tar.bz2
historical-438cf93e6418086a3a0b3ec97719e7d48b49954e.zip
small compile fix
Diffstat (limited to 'games-board/qgo/files')
-rw-r--r--games-board/qgo/files/0.2-gcc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games-board/qgo/files/0.2-gcc.patch b/games-board/qgo/files/0.2-gcc.patch
new file mode 100644
index 000000000000..0d113732b156
--- /dev/null
+++ b/games-board/qgo/files/0.2-gcc.patch
@@ -0,0 +1,24 @@
+--- qgo-0.2/qgo/src/wavfile.c.orig 2004-06-08 09:20:12.783379736 -0400
++++ qgo-0.2/qgo/src/wavfile.c 2004-06-08 09:20:25.304476240 -0400
+@@ -134,6 +134,10 @@
+ static char emsg[2048];
+
+
++static void
++_v_erf(const char *format,va_list ap) {
++ vsprintf(emsg,format,ap); /* Capture message into emsg[] */
++}
+
+ /*
+ * Error reporting function for this source module:
+@@ -150,10 +154,6 @@
+ }
+
+
+-static void
+-_v_erf(const char *format,va_list ap) {
+- vsprintf(emsg,format,ap); /* Capture message into emsg[] */
+-}
+
+
+