]> git.pld-linux.org Git - packages/blackbox.git/commitdiff
- fix build master auto/ti/blackbox-0_70_1-3_1
authorlisu <lisu@pld-linux.org>
Wed, 11 Jan 2012 15:47:16 +0000 (15:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blackbox-headers.patch -> 1.1
    blackbox.spec -> 1.98

blackbox-headers.patch [new file with mode: 0644]
blackbox.spec

diff --git a/blackbox-headers.patch b/blackbox-headers.patch
new file mode 100644 (file)
index 0000000..a363e3e
--- /dev/null
@@ -0,0 +1,81 @@
+--- blackbox-0.70.1/lib/Resource.cc~   2005-04-06 23:16:50.000000000 +0200
++++ blackbox-0.70.1/lib/Resource.cc    2012-01-11 15:21:17.675011644 +0100
+@@ -27,6 +27,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xresource.h>
++#include <strings.h>
+ #include <stdio.h>
+--- blackbox-0.70.1/lib/Image.cc~      2005-04-08 17:41:09.000000000 +0200
++++ blackbox-0.70.1/lib/Image.cc       2012-01-11 15:27:22.674988031 +0100
+@@ -44,6 +44,7 @@
+ #include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ // #define COLORTABLE_DEBUG
+ // #define MITSHM_DEBUG
+--- blackbox-0.70.1/lib/XDG.cc~        2005-04-06 16:04:38.000000000 +0200
++++ blackbox-0.70.1/lib/XDG.cc 2012-01-11 15:42:22.908223679 +0100
+@@ -26,6 +26,7 @@
+ #include "XDG.hh"
+ #include <stdlib.h>
++#include <algorithm>
+ // make sure directory names end with a slash
+--- blackbox-0.70.1/src/BlackboxResource.cc~   2005-10-18 09:34:46.000000000 +0200
++++ blackbox-0.70.1/src/BlackboxResource.cc    2012-01-11 15:47:10.752352766 +0100
+@@ -32,6 +32,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/cursorfont.h>
++#include <strings.h>
+ BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
+--- blackbox-0.70.1/src/ScreenResource.cc~     2005-04-13 07:54:08.000000000 +0200
++++ blackbox-0.70.1/src/ScreenResource.cc      2012-01-11 15:48:21.508187413 +0100
+@@ -32,6 +32,7 @@
+ #include <Resource.hh>
+ #include <assert.h>
++#include <strings.h>
+ static const int iconify_width  = 9;
+--- blackbox-0.70.1/src/Screen.cc~     2005-10-18 10:07:22.000000000 +0200
++++ blackbox-0.70.1/src/Screen.cc      2012-01-11 15:50:26.161508387 +0100
+@@ -47,6 +47,7 @@
+ #include <assert.h>
+ #include <ctype.h>
+ #include <dirent.h>
++#include <string.h>
+ static bool running = true;
+--- blackbox-0.70.1/src/main.cc~       2005-01-03 10:42:57.000000000 +0100
++++ blackbox-0.70.1/src/main.cc        2012-01-11 15:51:55.055666254 +0100
+@@ -35,6 +35,7 @@
+ #include "../version.h"
+ #include <stdio.h>
++#include <string.h>
+ static void showHelp(int exitval) {
+--- blackbox-0.70.1/util/bsetroot.cc~  2005-03-15 08:01:37.000000000 +0100
++++ blackbox-0.70.1/util/bsetroot.cc   2012-01-11 16:22:52.285480550 +0100
+@@ -31,6 +31,8 @@
+ #include <X11/Xatom.h>
+ #include <stdio.h>
++#include <string.h>
++#include <stdlib.h>
+ // ignore all X errors
index f6948409d953dd68decbd44ecd558324326adf62..dbef84a42c36154d490506544e09d6914e5086e9 100644 (file)
@@ -27,11 +27,13 @@ Patch4:             %{name}-etc_dir.patch
 Patch5:                %{name}-nls-codesets.patch
 Patch6:                %{name}-assert.patch
 Patch7:                %{name}-lib64.patch
+Patch8:                %{name}-headers.patch
 URL:           http://blackboxwm.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
 %{?with_epistrophy:Requires:   epistrophy}
 BuildRequires: rpm >= 4.0.2-48
+BuildRequires: sed >= 4.0
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXft-devel
 Obsoletes:     fluxbox
@@ -78,6 +80,9 @@ ist.
 %if "%{_lib}" == "lib64"
 %patch7 -p0
 %endif
+%patch8 -p1
+
+%{__sed} -i 's,_XUTIL_H_,_X11&,' lib/Util.hh
 
 %build
 rm -f missing
This page took 0.137466 seconds and 4 git commands to generate.