# HG changeset patch # User Christopher Rogers # Date 1307438168 0 # Node ID ea6ce4a45834b713e5c23f3a4ad3ed5ed2f2c913 # Parent 7892b349ecf8b07786f639e254f636f1ae14dedb blackbox: Fixed. Add patch from archlinux to get it to build. diff -r 7892b349ecf8 -r ea6ce4a45834 blackbox/receipt --- a/blackbox/receipt Tue Jun 07 16:18:35 2011 +0000 +++ b/blackbox/receipt Tue Jun 07 09:16:08 2011 +0000 @@ -8,7 +8,9 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://blackboxwm.sourceforge.net/" WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL" -DEPENDS="xorg-libXt xorg-libXft sed xorg-xextproto" + +DEPENDS="xorg-libXt xorg-libXft" +BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto" # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc # to let user use the wm via slim/F1 or by default with 'tazx blackbox'. @@ -17,11 +19,12 @@ compile_rules() { cd $src - ./configure --prefix=/usr --sysconfdir=/etc \ + patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch + patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch + patch -p1 < $stuff/textpropertytostring-unconditional.patch + ./configure --sysconfdir=/etc \ --libexecdir=/usr/bin --mandir=/usr/share/man \ $CONFIGURE_ARGS && - patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch - patch -p1 < $stuff/blackbox-0.70.1-asneeded.patch make && make DESTDIR=$DESTDIR install } diff -r 7892b349ecf8 -r ea6ce4a45834 blackbox/stuff/textpropertytostring-unconditional.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blackbox/stuff/textpropertytostring-unconditional.patch Tue Jun 07 09:16:08 2011 +0000 @@ -0,0 +1,28 @@ +Description: Declare bt::textPropertyToString unconditionally. +Author: Jakub Wilk +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 ++ + #include + #include + +@@ -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 +