summaryrefslogtreecommitdiff
path: root/emulators/xm7
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-16 10:53:11 +0000
committerrillig <rillig>2007-02-16 10:53:11 +0000
commita313f4f3338bf6294031dd9b3f7768859cfdb91e (patch)
tree3d932136a0c1bb8ccc18f755687bb80fb93ec6bb /emulators/xm7
parentd63ae88861e1f2f625a6f9255069dccaee88551d (diff)
downloadpkgsrc-a313f4f3338bf6294031dd9b3f7768859cfdb91e.tar.gz
Fixed a gcc error message and a few pkglint warnings.
Diffstat (limited to 'emulators/xm7')
-rw-r--r--emulators/xm7/Makefile6
-rw-r--r--emulators/xm7/distinfo3
-rw-r--r--emulators/xm7/patches/patch-ae15
3 files changed, 20 insertions, 4 deletions
diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile
index 9b9adc9567a..2add0755e1e 100644
--- a/emulators/xm7/Makefile
+++ b/emulators/xm7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/02/06 18:20:07 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2007/02/16 10:53:11 rillig Exp $
#
DISTNAME= xm71010s
@@ -15,7 +15,7 @@ COMMENT= X11-based FM-7 emulator
BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf
RESTRICTED= source archive is not redistributable
-RESTRICTED+= no-commercial-use
+LICENSE= no-commercial-use
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
@@ -27,7 +27,7 @@ MAKE_FILE= makefile.x11
INSTALLATION_DIRS= bin
post-extract:
- @cd ${WRKDIR}; ${MV} linux/* vm
+ cd ${WRKDIR} && mv linux/* vm
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin
diff --git a/emulators/xm7/distinfo b/emulators/xm7/distinfo
index b78c4959e73..71a909cd9fe 100644
--- a/emulators/xm7/distinfo
+++ b/emulators/xm7/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2006/02/12 07:49:12 rillig Exp $
+$NetBSD: distinfo,v 1.12 2007/02/16 10:53:11 rillig Exp $
SHA1 (xm71010s.lzh) = 1afad6f530e05545505582d47bb0aa92965e6f71
RMD160 (xm71010s.lzh) = df1d96fa997c39ab6bbd0c9d3953a90cfbfb9efa
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = b49f4dac3dde6395fcf1d4ab0c987d577e5e9ce4
SHA1 (patch-ab) = 4e6cc9113e25eca32a1f672b82b3c07ed141a5b7
SHA1 (patch-ac) = e55f25cb7046455489ab052dbe268043983a9e5f
SHA1 (patch-ad) = d92ce48806c57a8cf0447f3e647202709e9a63d3
+SHA1 (patch-ae) = ee3a92da9301db4aca1b9eff7b4850f17334345c
diff --git a/emulators/xm7/patches/patch-ae b/emulators/xm7/patches/patch-ae
new file mode 100644
index 00000000000..52cd5a94926
--- /dev/null
+++ b/emulators/xm7/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2007/02/16 10:53:11 rillig Exp $
+
+Prevents a gcc error message.
+
+--- fdc.c.orig 2000-03-22 17:01:00.000000000 +0100
++++ fdc.c 2007-02-16 11:39:13.000000000 +0100
+@@ -56,7 +56,7 @@ static BYTE fdc_indexcnt; /* INDEXƒ
+ /*
+ * ƒvƒƒgƒ^ƒCƒvιŒΎ
+ */
+-void fdc_readbuf(int drive); /* ‚Pƒgƒ‰ƒbƒN•ͺ“ǂݍž‚έ */
++static void fdc_readbuf(int drive); /* ‚Pƒgƒ‰ƒbƒN•ͺ“ǂݍž‚έ */
+
+ /*
+ * FDC