summaryrefslogtreecommitdiff
path: root/libre/blackbox-libre/textpropertytostring-unconditional.patch
diff options
context:
space:
mode:
authorMárcio Silva <marcio@pc-02.localdomain>2012-05-09 04:42:46 -0300
committerMárcio Silva <marcio@pc-02.localdomain>2012-05-09 04:42:46 -0300
commit963d33c3ef2a82f943b307dcc6d24ee51d0f0ff2 (patch)
treed8f5ac3f757f0d1f2ae620160834a7eddd2f4c57 /libre/blackbox-libre/textpropertytostring-unconditional.patch
parent035a1da58b0817ff4e61a0ff746498a80cae311d (diff)
Adding blackbox-libre new package, due that blackbox recommends non-free programs on menu
Diffstat (limited to 'libre/blackbox-libre/textpropertytostring-unconditional.patch')
-rw-r--r--libre/blackbox-libre/textpropertytostring-unconditional.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/libre/blackbox-libre/textpropertytostring-unconditional.patch b/libre/blackbox-libre/textpropertytostring-unconditional.patch
new file mode 100644
index 000000000..ed320388a
--- /dev/null
+++ b/libre/blackbox-libre/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
+