blackbox: fixed build against last xorg-libx11
This commit is contained in:
parent
840944d2bc
commit
1682ec0039
@ -1,2 +1,2 @@
|
||||
150aab3b2b8d8dd5fc30d00f8d79e387 blackbox-0.70.1-include-fix.diff
|
||||
b3ecb2911f4c469bf8527ed7070e664c blackbox-0.70.1-include-fix.diff
|
||||
53b84260b9d38b35fb25b4baf7bb795a blackbox-0.70.1.tar.bz2
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
name=blackbox
|
||||
version=0.70.1
|
||||
release=1
|
||||
release=2
|
||||
source=(http://download.sourceforge.net/blackboxwm/$name-$version.tar.bz2
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user