openbsd-ports/x11/blackbox/patches/patch-lib_Util_hh
matthieu de0f5d85a1 Fixes for upcoming libX11 update which changes the symbol used to
protect X11/Xlib.h from multible inclusion and is been (ab)used
by those ports. No binary change.
ok ajacoutot@, landry@.
2011-05-30 19:08:35 +00:00

13 lines
441 B
Plaintext

$OpenBSD: patch-lib_Util_hh,v 1.1 2011/05/30 19:08:35 matthieu Exp $
--- lib/Util.hh.orig Thu May 19 21:58:48 2011
+++ lib/Util.hh Thu May 19 21:57:34 2011
@@ -94,7 +94,7 @@ namespace bt {
std::string tolower(const std::string &string);
-#ifdef _XUTIL_H_
+#if defined(_XUTIL_H_) || defined(_X11_XUTIL_H_)
std::string textPropertyToString(::Display *display,
::XTextProperty& text_prop);
#endif