aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2000-06-19 20:12:12 +0800
committerse <se@FreeBSD.org>2000-06-19 20:12:12 +0800
commit32896a16bab759f0c76862fa318c4547034cb5a4 (patch)
treedf4149ee37d7e6857f3ba7f570a2869b35bd85f9
parent97fbb044ed1399b6735033cfbe2fe24489105d16 (diff)
downloadfreebsd-ports-gnome-32896a16bab759f0c76862fa318c4547034cb5a4.tar.gz
freebsd-ports-gnome-32896a16bab759f0c76862fa318c4547034cb5a4.tar.zst
freebsd-ports-gnome-32896a16bab759f0c76862fa318c4547034cb5a4.zip
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
-rw-r--r--emulators/wine-devel/files/patch-gd16
-rw-r--r--emulators/wine/files/patch-gd16
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