aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-16 17:56:46 +0800
committermiwi <miwi@FreeBSD.org>2006-12-16 17:56:46 +0800
commit38dc958b06bd401881635ab5735a64f78c96c148 (patch)
tree19b1952b491741d16176b84d4ee33cc5a3a5347c /games
parentd164fc48b936f40b1acf013fa09233aa531d0605 (diff)
downloadfreebsd-ports-gnome-38dc958b06bd401881635ab5735a64f78c96c148.tar.gz
freebsd-ports-gnome-38dc958b06bd401881635ab5735a64f78c96c148.tar.zst
freebsd-ports-gnome-38dc958b06bd401881635ab5735a64f78c96c148.zip
- Fix build with gcc 4.X
PR: ports/106741 Submitted by: trasz
Diffstat (limited to 'games')
-rw-r--r--games/drm/files/patch-loop.c11
-rw-r--r--games/drm/pkg-plist4
2 files changed, 13 insertions, 2 deletions
diff --git a/games/drm/files/patch-loop.c b/games/drm/files/patch-loop.c
new file mode 100644
index 000000000000..e46394475e39
--- /dev/null
+++ b/games/drm/files/patch-loop.c
@@ -0,0 +1,11 @@
+--- loop.c.orig Fri Dec 15 01:03:06 2006
++++ loop.c Fri Dec 15 01:04:01 2006
+@@ -3,6 +3,8 @@
+ struct pos npos[] = {1, 1,
+ -1, -1}; /*used in turning chips*/
+
++void change(int);
++
+ void
+ loop()
+ {
diff --git a/games/drm/pkg-plist b/games/drm/pkg-plist
index f1eb40d6765d..0dcd4a5adf9e 100644
--- a/games/drm/pkg-plist
+++ b/games/drm/pkg-plist
@@ -1,3 +1,3 @@
bin/drm
-%%PORTDOCS%%share/doc/drm/README
-%%PORTDOCS%%@dirrm share/doc/drm
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%