aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2019-07-03 20:27:37 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2019-07-03 20:27:37 +0000
commit43caac30c5ef30916771e73a2384d7259b02a10a (patch)
tree8d1b2a7006379d2eca37c9deae3d616e2b433c67
parent707acd4d970e66c74ef4a3c76dfbce1ccfdc2e45 (diff)
downloadports-43caac30c5ef30916771e73a2384d7259b02a10a.tar.gz
ports-43caac30c5ef30916771e73a2384d7259b02a10a.zip
Fix build of mail/xpbiff after libXt update.
An implicit include has gone away (Intrinsic.h) so users of X11/StringDefs.h now need to explictly include X11/Intrinsic.h to get the typedef for String, otherwise many of the macro's like this one: #define XtRString ((String)&XtStrings[1797]) will fall over.
Notes
Notes: svn path=/head/; revision=505789
-rw-r--r--mail/xpbiff/files/patch-LocPixmap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/xpbiff/files/patch-LocPixmap.c b/mail/xpbiff/files/patch-LocPixmap.c
new file mode 100644
index 000000000000..571496e35d47
--- /dev/null
+++ b/mail/xpbiff/files/patch-LocPixmap.c
@@ -0,0 +1,10 @@
+--- LocPixmap.c.orig 2019-07-03 20:23:26 UTC
++++ LocPixmap.c
+@@ -30,6 +30,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xresource.h>
+ #include <X11/Xutil.h>
++#include <X11/Intrinsic.h>
+ #include <X11/StringDefs.h>
+ #include <sys/param.h> /* get MAXPATHLEN if possible */
+ #ifndef MAXPATHLEN