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

elilo: force ia32
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 12:43:43 2018 +0200 (2018-04-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/blackbox/stuff/textpropertytostring-unconditional.patch	Tue Apr 10 12:43:43 2018 +0200
     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 +