summaryrefslogtreecommitdiff
path: root/games-sports/gracer/files/gracer-0.1.5-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/gracer/files/gracer-0.1.5-warnings.patch')
-rw-r--r--games-sports/gracer/files/gracer-0.1.5-warnings.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-sports/gracer/files/gracer-0.1.5-warnings.patch b/games-sports/gracer/files/gracer-0.1.5-warnings.patch
new file mode 100644
index 000000000000..b5ede40e1492
--- /dev/null
+++ b/games-sports/gracer/files/gracer-0.1.5-warnings.patch
@@ -0,0 +1,21 @@
+--- gracer-0.1.5/src/glbind.c
++++ gracer-0.1.5/src/glbind.c
+@@ -142,7 +142,7 @@
+ return NULL;
+
+ entry = Tcl_FindHashEntry (&cache_hash, key);
+- if (&entry)
++ if (!entry)
+ return NULL;
+
+ return Tcl_GetHashValue (entry);
+--- gracer-0.1.5/src/joystick.c
++++ gracer-0.1.5/src/joystick.c
+@@ -20,6 +20,7 @@
+ */
+
+ #include <unistd.h>
++#include <string.h>
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>