summaryrefslogtreecommitdiff
path: root/community/blackbox/textpropertytostring-unconditional.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
commitbd65dc7107bfdd881c3b5451d0300824cf435428 (patch)
treee3a556d41162da07c82e31daa6fc22af18719e63 /community/blackbox/textpropertytostring-unconditional.patch
parent415856bdd4f48ab4f2732996f0bae58595092bbe (diff)
Thu Apr 7 03:09:43 UTC 2011
Diffstat (limited to 'community/blackbox/textpropertytostring-unconditional.patch')
-rw-r--r--community/blackbox/textpropertytostring-unconditional.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/blackbox/textpropertytostring-unconditional.patch b/community/blackbox/textpropertytostring-unconditional.patch
new file mode 100644
index 000000000..ed320388a
--- /dev/null
+++ b/community/blackbox/textpropertytostring-unconditional.patch
@@ -0,0 +1,28 @@
+Description: Declare bt::textPropertyToString unconditionally.
+Author: Jakub Wilk <jwilk@debian.org>
+Forwarded: no
+Bug-Debian: http://bugs.debian.org/614468
+Last-Update: 2011-03-12
+
+--- a/lib/Util.hh
++++ b/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
+