aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-22 21:33:50 +0800
committerkrion <krion@FreeBSD.org>2004-08-22 21:33:50 +0800
commitb9df3ffbdbd97dc989ffd901bfdb3ecc55336951 (patch)
tree75b0f2ade259093468c14d58ff28dff00876f821 /graphics
parentd6e084694070d3ec6c541df7d20b12e2eda38409 (diff)
downloadfreebsd-ports-gnome-b9df3ffbdbd97dc989ffd901bfdb3ecc55336951.tar.gz
freebsd-ports-gnome-b9df3ffbdbd97dc989ffd901bfdb3ecc55336951.tar.zst
freebsd-ports-gnome-b9df3ffbdbd97dc989ffd901bfdb3ecc55336951.zip
Fix build with gcc-3.4
Diffstat (limited to 'graphics')
-rw-r--r--graphics/enfle/files/patch-image.c14
-rw-r--r--graphics/enfle/files/patch-render.c14
2 files changed, 28 insertions, 0 deletions
diff --git a/graphics/enfle/files/patch-image.c b/graphics/enfle/files/patch-image.c
new file mode 100644
index 000000000000..44b9cc50e1e7
--- /dev/null
+++ b/graphics/enfle/files/patch-image.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- image.c.orig Sun Aug 22 15:26:48 2004
++++ image.c Sun Aug 22 15:26:58 2004
+@@ -292,7 +292,7 @@
+ default:
+ fprintf(stderr, "Unimplemented method: %d to %d\n", p->type, to);
+ }
+- default:
++ default: break;
+ /* ignored */
+ }
+
diff --git a/graphics/enfle/files/patch-render.c b/graphics/enfle/files/patch-render.c
new file mode 100644
index 000000000000..c0ad7b93b897
--- /dev/null
+++ b/graphics/enfle/files/patch-render.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- render.c.orig Sun Aug 22 15:27:18 2004
++++ render.c Sun Aug 22 15:27:28 2004
+@@ -148,7 +148,7 @@
+ exit(1);
+ }
+ break;
+- default:
++ default: break;
+ }
+ } else {
+ if (p->ncolors > 256) {