diff options
author | Jose V Beneyto <sepen@crux.nu> | 2011-06-07 15:32:46 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2011-06-07 15:32:46 +0200 |
commit | 1682ec0039c925f6951c9208037227aa8566cf1f (patch) | |
tree | 5dfc8ff29343920de6bf3cca4f312cec6770ff72 /blackbox/blackbox-0.70.1-include-fix.diff | |
parent | 840944d2bcfcee54ae7e70c7e36c41cb3d7210b7 (diff) | |
download | opt-1682ec0039c925f6951c9208037227aa8566cf1f.tar.gz opt-1682ec0039c925f6951c9208037227aa8566cf1f.tar.xz |
blackbox: fixed build against last xorg-libx11
Diffstat (limited to 'blackbox/blackbox-0.70.1-include-fix.diff')
-rw-r--r-- | blackbox/blackbox-0.70.1-include-fix.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/blackbox/blackbox-0.70.1-include-fix.diff b/blackbox/blackbox-0.70.1-include-fix.diff index 63c75bd8f..84be8228a 100644 --- a/blackbox/blackbox-0.70.1-include-fix.diff +++ b/blackbox/blackbox-0.70.1-include-fix.diff @@ -84,3 +84,25 @@ // ignore all X errors static int x11_error(::Display *, XErrorEvent *) + +--- blackbox-0.70.1.orig/lib/Util.hh ++++ blackbox-0.70.1/lib/Util.hh +@@ -25,6 +25,8 @@ + #ifndef __Util_hh + #define __Util_hh + ++#include <X11/Xutil.h> ++ + #include <limits.h> + #include <string> + +@@ -94,10 +96,8 @@ + + std::string tolower(const std::string &string); + +-#ifdef _XUTIL_H_ + std::string textPropertyToString(::Display *display, + ::XTextProperty& text_prop); +-#endif + + } // namespace bt |