packages: blackbox/blackbox.spec, blackbox/blackbox-headers.patch (NEW) - f...
lisu
lisu at pld-linux.org
Wed Jan 11 16:47:21 CET 2012
Author: lisu Date: Wed Jan 11 15:47:21 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix build
---- Files affected:
packages/blackbox:
blackbox.spec (1.97 -> 1.98) , blackbox-headers.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/blackbox/blackbox.spec
diff -u packages/blackbox/blackbox.spec:1.97 packages/blackbox/blackbox.spec:1.98
--- packages/blackbox/blackbox.spec:1.97 Thu Jul 28 12:12:38 2011
+++ packages/blackbox/blackbox.spec Wed Jan 11 16:47:16 2012
@@ -28,11 +28,13 @@
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
@@ -79,6 +81,9 @@
%if "%{_lib}" == "lib64"
%patch7 -p0
%endif
+%patch8 -p1
+
+%{__sed} -i 's,_XUTIL_H_,_X11&,' lib/Util.hh
%build
rm -f missing
@@ -126,6 +131,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.98 2012/01/11 15:47:16 lisu
+- fix build
+
Revision 1.97 2011/07/28 10:12:38 baggins
- conditional (off by default) wm-properties (only used in gnome2)
================================================================
Index: packages/blackbox/blackbox-headers.patch
diff -u /dev/null packages/blackbox/blackbox-headers.patch:1.1
--- /dev/null Wed Jan 11 16:47:21 2012
+++ packages/blackbox/blackbox-headers.patch Wed Jan 11 16:47:16 2012
@@ -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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/blackbox/blackbox.spec?r1=1.97&r2=1.98&f=u
More information about the pld-cvs-commit
mailing list