fix build with new libX11 Xdefs.h; ok jasper@

This commit is contained in:
naddy 2010-09-13 14:54:46 +00:00
parent 9aa92a99d4
commit 7d44e4568d

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-packages_xpce_src_x11_include_h,v 1.1 2010/09/13 14:54:46 naddy Exp $
--- packages/xpce/src/x11/include.h.orig Mon Sep 13 15:55:30 2010
+++ packages/xpce/src/x11/include.h Mon Sep 13 16:04:50 2010
@@ -55,7 +55,6 @@
#include <X11/StringDefs.h>
#include <X11/Xatom.h>
#include <X11/Shell.h>
-#undef Bool /* X11 defines this too */
#undef index /* X11 defines this too */
#undef String
@@ -82,6 +81,7 @@ error XPCE cannot be build for X version 10. Sorry.
#include <X11/xpm.h>
#endif
+#undef Bool /* X11 defines this too */
/*******************************
* IMAGES *