aboutsummaryrefslogtreecommitdiff
path: root/games/drm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:56:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:56:46 +0000
commit45bed1be03caeb3cb9c338f80b9072245c66d1cf (patch)
tree7e0e77f8bc520e40670674a6f24890160b2ff116 /games/drm
parentd18efc6bb69f81cffe759d7a20f9e68898d91c7d (diff)
downloadports-45bed1be03caeb3cb9c338f80b9072245c66d1cf.tar.gz
ports-45bed1be03caeb3cb9c338f80b9072245c66d1cf.zip
- Fix build with gcc 4.X
PR: ports/106741 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=179915
Diffstat (limited to 'games/drm')
-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%%