mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 15:23:27 +08:00
4623f36bb2
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
35 lines
805 B
Diff
35 lines
805 B
Diff
[PATCH] fix build issue with gcc 4.6+
|
|
|
|
Debian patch from http://patch-tracker.debian.org/patch/series/dl/blackbox/0.70.1-13/textpropertytostring-unconditional.diff
|
|
|
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
|
|
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
|
|
|