aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-02-24 06:39:44 +0800
committergerald <gerald@FreeBSD.org>2004-02-24 06:39:44 +0800
commit10636708b5dbbbaa3e1bcf98b616e0860fdfc364 (patch)
treef179284918f9f489dd8cd14a166887a19f5d6ae6 /emulators
parent458db0709d70d4d1a71019c541b429f0b7acc723 (diff)
downloadfreebsd-ports-gnome-10636708b5dbbbaa3e1bcf98b616e0860fdfc364.tar.gz
freebsd-ports-gnome-10636708b5dbbbaa3e1bcf98b616e0860fdfc364.tar.zst
freebsd-ports-gnome-10636708b5dbbbaa3e1bcf98b616e0860fdfc364.zip
Work around a bug that would break in the presence of recent versions of
the arts port. PR: 62954
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/files/patch-tools27
-rw-r--r--emulators/wine/files/patch-tools27
2 files changed, 54 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-tools b/emulators/wine-devel/files/patch-tools
new file mode 100644
index 000000000000..a6d6085cc0ac
--- /dev/null
+++ b/emulators/wine-devel/files/patch-tools
@@ -0,0 +1,27 @@
+Index: tools/makedep.c
+===================================================================
+RCS file: /home/wine/wine/tools/makedep.c,v
+retrieving revision 1.17
+diff -u -3 -p -r1.17 makedep.c
+--- makedep.c 20 Jun 2003 21:31:13 -0000 1.17
++++ makedep.c 23 Feb 2004 22:36:23 -0000
+@@ -67,7 +67,8 @@ static const char Usage[] =
+ " -Idir Search for include files in directory 'dir'\n"
+ " -Cdir Search for source files in directory 'dir'\n"
+ " -fxxx Store output in file 'xxx' (default: Makefile)\n"
+- " -sxxx Use 'xxx' as separator (default: \"### Dependencies\")\n";
++ " -sxxx Use 'xxx' as separator (default: \"### Dependencies\")\n"
++ " -Dxxx This is a no-op, to work around bugs in other tools\n";
+
+
+ /*******************************************************************
+@@ -503,6 +504,9 @@ static void parse_option( const char *op
+ case 'C':
+ if (opt[2]) SrcDir = opt + 2;
+ else SrcDir = NULL;
++ break;
++ case 'D':
++ /* Simply ignore -D... options. */
+ break;
+ case 'f':
+ if (opt[2]) OutputFileName = opt + 2;
diff --git a/emulators/wine/files/patch-tools b/emulators/wine/files/patch-tools
new file mode 100644
index 000000000000..a6d6085cc0ac
--- /dev/null
+++ b/emulators/wine/files/patch-tools
@@ -0,0 +1,27 @@
+Index: tools/makedep.c
+===================================================================
+RCS file: /home/wine/wine/tools/makedep.c,v
+retrieving revision 1.17
+diff -u -3 -p -r1.17 makedep.c
+--- makedep.c 20 Jun 2003 21:31:13 -0000 1.17
++++ makedep.c 23 Feb 2004 22:36:23 -0000
+@@ -67,7 +67,8 @@ static const char Usage[] =
+ " -Idir Search for include files in directory 'dir'\n"
+ " -Cdir Search for source files in directory 'dir'\n"
+ " -fxxx Store output in file 'xxx' (default: Makefile)\n"
+- " -sxxx Use 'xxx' as separator (default: \"### Dependencies\")\n";
++ " -sxxx Use 'xxx' as separator (default: \"### Dependencies\")\n"
++ " -Dxxx This is a no-op, to work around bugs in other tools\n";
+
+
+ /*******************************************************************
+@@ -503,6 +504,9 @@ static void parse_option( const char *op
+ case 'C':
+ if (opt[2]) SrcDir = opt + 2;
+ else SrcDir = NULL;
++ break;
++ case 'D':
++ /* Simply ignore -D... options. */
+ break;
+ case 'f':
+ if (opt[2]) OutputFileName = opt + 2;