wok-next diff blackbox/stuff/textpropertytostring-unconditional.patch @ rev 13806

Up: gimp-brushes
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 05:39:53 2013 +0300 (2013-01-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/blackbox/stuff/textpropertytostring-unconditional.patch	Sun Jan 06 05:39:53 2013 +0300
     1.3 @@ -0,0 +1,28 @@
     1.4 +Description: Declare bt::textPropertyToString unconditionally.
     1.5 +Author: Jakub Wilk <jwilk@debian.org>
     1.6 +Forwarded: no
     1.7 +Bug-Debian: http://bugs.debian.org/614468
     1.8 +Last-Update: 2011-03-12
     1.9 +
    1.10 +--- a/lib/Util.hh
    1.11 ++++ b/lib/Util.hh
    1.12 +@@ -25,6 +25,8 @@
    1.13 + #ifndef __Util_hh
    1.14 + #define __Util_hh
    1.15 + 
    1.16 ++#include <X11/Xutil.h>
    1.17 ++
    1.18 + #include <limits.h>
    1.19 + #include <string>
    1.20 + 
    1.21 +@@ -94,10 +96,8 @@
    1.22 + 
    1.23 +   std::string tolower(const std::string &string);
    1.24 + 
    1.25 +-#ifdef _XUTIL_H_
    1.26 +   std::string textPropertyToString(::Display *display,
    1.27 +                                    ::XTextProperty& text_prop);
    1.28 +-#endif
    1.29 + 
    1.30 + } // namespace bt
    1.31 +