summaryrefslogtreecommitdiff
path: root/games-sports/gracer/files/gracer-0.1.5-gcc41.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/gracer/files/gracer-0.1.5-gcc41.patch')
-rw-r--r--games-sports/gracer/files/gracer-0.1.5-gcc41.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-sports/gracer/files/gracer-0.1.5-gcc41.patch b/games-sports/gracer/files/gracer-0.1.5-gcc41.patch
new file mode 100644
index 000000000000..3877e76e577e
--- /dev/null
+++ b/games-sports/gracer/files/gracer-0.1.5-gcc41.patch
@@ -0,0 +1,11 @@
+--- a/common/gr_memory.h 2006-05-23 09:16:21.000000000 +0200
++++ b/common/gr_memory.h 2006-05-23 09:16:40.000000000 +0200
+@@ -64,7 +64,7 @@
+ void gr_dlist_free (GrDList *list);
+
+ #define gr_FOREACH(l,p) \
+- for (; (l) != NULL && ((void *)(p) = (l)->data, 1); (l) = (l)->next)
++ for (; (l) != NULL && (p = (l)->data, 1); (l) = (l)->next)
+
+ void gr_ref_incr (GrRef *ref);
+ void gr_ref_decr (GrRef *ref);