summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose V Beneyto <sepen@crux.nu>2011-06-07 15:32:46 +0200
committerJose V Beneyto <sepen@crux.nu>2011-06-07 15:32:46 +0200
commit1682ec0039c925f6951c9208037227aa8566cf1f (patch)
tree5dfc8ff29343920de6bf3cca4f312cec6770ff72
parent840944d2bcfcee54ae7e70c7e36c41cb3d7210b7 (diff)
downloadopt-1682ec0039c925f6951c9208037227aa8566cf1f.tar.gz
opt-1682ec0039c925f6951c9208037227aa8566cf1f.tar.xz
blackbox: fixed build against last xorg-libx11
-rw-r--r--blackbox/.md5sum2
-rw-r--r--blackbox/Pkgfile2
-rw-r--r--blackbox/blackbox-0.70.1-include-fix.diff22
3 files changed, 24 insertions, 2 deletions
diff --git a/blackbox/.md5sum b/blackbox/.md5sum
index d10388024..1fe970ba5 100644
--- a/blackbox/.md5sum
+++ b/blackbox/.md5sum
@@ -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
diff --git a/blackbox/Pkgfile b/blackbox/Pkgfile
index f7d6b71bf..c08cf1234 100644
--- a/blackbox/Pkgfile
+++ b/blackbox/Pkgfile
@@ -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)
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

Generated by cgit