diff options
author | Stefan Eßer <se@FreeBSD.org> | 2000-06-19 12:12:12 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2000-06-19 12:12:12 +0000 |
commit | 653381b3db0ffc18e0efa04957d317bae2abf90b (patch) | |
tree | 638f905b17101fe31c0847c50f950818f667d2c2 /emulators | |
parent | Update to 1.0.4 (diff) |
Fix problem caused by our current version of ncurses.h (see PR misc/19077),
which defines "trace" in a way that causes link errors.
This patch just places "#undef trace" statements on the line following the
"#include <ncurses.h>" in the two WIne files, that include that header.
This workaround should be kept as long as there may be systems with the
buggy definition of "trace" in "ncurses.h".
Approved by: Maintainer
Notes
Notes:
svn path=/head/; revision=29688
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine-devel/files/patch-gd | 16 | ||||
-rw-r--r-- | emulators/wine/files/patch-gd | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-gd b/emulators/wine-devel/files/patch-gd new file mode 100644 index 000000000000..41acbbab4675 --- /dev/null +++ b/emulators/wine-devel/files/patch-gd @@ -0,0 +1,16 @@ +--- include/ttydrv.h~ Thu Mar 30 21:26:44 2000 ++++ include/ttydrv.h Sat Jun 17 00:03:21 2000 +@@ -11,4 +11,5 @@ + #ifdef HAVE_NCURSES_H + # include <ncurses.h> ++# undef trace + #elif defined(HAVE_CURSES_H) + # include <curses.h> +--- console/ncurses.c~ Sat Jun 17 01:39:59 2000 ++++ console/ncurses.c Sat Jun 17 01:34:56 2000 +@@ -30,4 +30,5 @@ + #ifdef HAVE_NCURSES_H + # include <ncurses.h> ++# undef trace + #else + # ifdef HAVE_CURSES_H diff --git a/emulators/wine/files/patch-gd b/emulators/wine/files/patch-gd new file mode 100644 index 000000000000..41acbbab4675 --- /dev/null +++ b/emulators/wine/files/patch-gd @@ -0,0 +1,16 @@ +--- include/ttydrv.h~ Thu Mar 30 21:26:44 2000 ++++ include/ttydrv.h Sat Jun 17 00:03:21 2000 +@@ -11,4 +11,5 @@ + #ifdef HAVE_NCURSES_H + # include <ncurses.h> ++# undef trace + #elif defined(HAVE_CURSES_H) + # include <curses.h> +--- console/ncurses.c~ Sat Jun 17 01:39:59 2000 ++++ console/ncurses.c Sat Jun 17 01:34:56 2000 +@@ -30,4 +30,5 @@ + #ifdef HAVE_NCURSES_H + # include <ncurses.h> ++# undef trace + #else + # ifdef HAVE_CURSES_H |