aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xaos
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2013-05-15 02:24:33 +0800
committermi <mi@FreeBSD.org>2013-05-15 02:24:33 +0800
commit0d442671de4baaab96edb557149f9443782414f0 (patch)
treed9c5cc932efd9f612864765bbe9bdf69232f9c91 /graphics/xaos
parentc1e8b20536b51ede372f811dbe670abb67c2e659 (diff)
downloadfreebsd-ports-gnome-0d442671de4baaab96edb557149f9443782414f0.tar.gz
freebsd-ports-gnome-0d442671de4baaab96edb557149f9443782414f0.tar.zst
freebsd-ports-gnome-0d442671de4baaab96edb557149f9443782414f0.zip
Reconcile declarations and definitions of a few static functions
to make compilable by the newer compilers (gcc47, gcc48). Approved by: maintainer
Diffstat (limited to 'graphics/xaos')
-rw-r--r--graphics/xaos/files/patch-registers18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/xaos/files/patch-registers b/graphics/xaos/files/patch-registers
new file mode 100644
index 000000000000..5f3fd7d8f99d
--- /dev/null
+++ b/graphics/xaos/files/patch-registers
@@ -0,0 +1,18 @@
+--- src/engine/zoomd.c 2009-07-17 19:50:31.000000000 -0400
++++ src/engine/zoomd.c 2013-05-13 15:15:44.000000000 -0400
+@@ -281,5 +281,5 @@
+ #undef bpp1
+
+-static INLINE void fillline(int line)
++static INLINE REGISTERS(0) void fillline(int line)
+ {
+ register unsigned char *RESTRICT vbuff = cimage.currlines[line];
+--- src/engine/zoom.c 2013-05-13 15:12:54.000000000 -0400
++++ src/engine/zoom.c 2013-05-13 15:18:23.000000000 -0400
+@@ -934,5 +934,5 @@
+
+ #ifndef USE_i386ASM
+-static /*INLINE */ void
++static REGISTERS(0) void
+ moveoldpoints(void /*@unused@ */ *data1,
+ struct taskinfo /*@unused@ */ *task,