diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2004-02-23 22:39:44 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2004-02-23 22:39:44 +0000 |
commit | 272c4fbf86918ee7f1fc52e622b88001fd178ed5 (patch) | |
tree | 0b3fed54702f9332b6b89e3eb194b78df1c1e884 | |
parent | ffb80236620640e457a177b3fe52d4acbc049476 (diff) | |
download | ports-272c4fbf86918ee7f1fc52e622b88001fd178ed5.tar.gz ports-272c4fbf86918ee7f1fc52e622b88001fd178ed5.zip |
Work around a bug that would break in the presence of recent versions of
the arts port.
PR: 62954
Notes
Notes:
svn path=/head/; revision=101914
-rw-r--r-- | emulators/wine-devel/files/patch-tools | 27 | ||||
-rw-r--r-- | emulators/wine/files/patch-tools | 27 |
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; |