Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=c9e1a953f495393d34717e6135b30b3d468452a4

commit c9e1a953f495393d34717e6135b30b3d468452a4
Author: James Buren <[EMAIL PROTECTED]>
Date:   Wed Jul 30 18:10:32 2008 -0500

blackbox-0.70.1-3-i686
* taking over from voroskoi
* removed redundant up2date
* updated source array to include a new gcc 4.3.x patch
* other small changes

diff --git a/source/xlib/blackbox/FrugalBuild b/source/xlib/blackbox/FrugalBuild
index 8284499..753af5f 100644
--- a/source/xlib/blackbox/FrugalBuild
+++ b/source/xlib/blackbox/FrugalBuild
@@ -1,25 +1,25 @@
# Compiling Time: 0.67 SBU
-# Maintainer: voroskoi <[EMAIL PROTECTED]>
+# Maintainer: James Buren <[EMAIL PROTECTED]>
# Contributor: VMiklos <[EMAIL PROTECTED]>

pkgname=blackbox
pkgver=0.70.1
-pkgrel=2
-pkgdesc="A fast, light window manager without any annoying library 
dependencies"
+pkgrel=3
+pkgdesc="A fast, light window manager without any annoying library 
dependencies."
pkgdesc_localized=('hu_HU Egy gyors, könnyû ablakkezelõ, mindenféle bosszantó 
függõség nélkül.')
_F_sourceforge_dirname="blackboxwm"
Finclude sourceforge
url="http://blackboxwm.sourceforge.net";
-depends=('libxft' 'libxt' 'libstdc++')
+depends=('libstdc++' 'libxft' 'zlib')
groups=('xlib')
archs=('i686' 'x86_64')
-backup=('usr/share/blackbox/menu')
-up2date="lynx -dump 
http://sourceforge.net/project/showfiles.php?group_id=40696 |grep tar |sed -ne 
's/.*x-\(.*\).t.*/\1/;1 p'"
-source=($source xinitrc.$pkgname $pkgname.desktop menu)
+source=($source $pkgname-$pkgver-gcc-4.3.patch xinitrc.$pkgname menu \
+       $pkgname.desktop)
sha1sums=('f0ab7e4b44ae6ee4c2a2136651afc567c47fe2cd' \
-         'fa1b40cd18f9d2a4a1f10af41b269bd089a45f3c' \
-         '9533bdd9b6765e49676ce8d5e8ad8ff74501ebe1' \
-         'da1cdb8ecc3ba3e32bcd6ec52a2461684e7576d7')
+          'e8db616f0c134575eaf096ec0aa72f47e355b86f' \
+          'fa1b40cd18f9d2a4a1f10af41b269bd089a45f3c' \
+          'da1cdb8ecc3ba3e32bcd6ec52a2461684e7576d7' \
+          '9533bdd9b6765e49676ce8d5e8ad8ff74501ebe1')

build()
{
diff --git a/source/xlib/blackbox/blackbox-0.70.1-gcc-4.3.patch 
b/source/xlib/blackbox/blackbox-0.70.1-gcc-4.3.patch
new file mode 100644
index 0000000..1026bd5
--- /dev/null
+++ b/source/xlib/blackbox/blackbox-0.70.1-gcc-4.3.patch
@@ -0,0 +1,106 @@
+diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc
+--- blackbox-0.70.1.orig/lib/Image.cc  2005-04-08 17:41:09.000000000 +0200
++++ blackbox-0.70.1/lib/Image.cc       2008-02-24 08:31:28.000000000 +0100
+@@ -42,8 +42,9 @@
+
+ #include <assert.h>
+ #include <math.h>
+-#include <stdio.h>
+-#include <stdlib.h>
++#include <cstdio>
++#include <cstdlib>
++#include <cstring>
+
+ // #define COLORTABLE_DEBUG
+ // #define MITSHM_DEBUG
+diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc 
blackbox-0.70.1/lib/Resource.cc
+--- blackbox-0.70.1.orig/lib/Resource.cc       2005-04-06 23:16:50.000000000 
+0200
++++ blackbox-0.70.1/lib/Resource.cc    2008-02-24 08:33:11.000000000 +0100
+@@ -28,7 +28,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xresource.h>
+
+-#include <stdio.h>
++#include <cstdio>
++#include <cstring>
+
+
+ bt::Resource::Resource(void)
+diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc
+--- blackbox-0.70.1.orig/lib/XDG.cc    2005-04-06 16:04:38.000000000 +0200
++++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100
+@@ -25,7 +25,8 @@
+ #include "Util.hh"
+ #include "XDG.hh"
+
+-#include <stdlib.h>
++#include <cstdlib>
++#include <algorithm>
+
+
+ // make sure directory names end with a slash
+diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc 
blackbox-0.70.1/src/BlackboxResource.cc
+--- blackbox-0.70.1.orig/src/BlackboxResource.cc       2005-10-18 
09:34:46.000000000 +0200
++++ blackbox-0.70.1/src/BlackboxResource.cc    2008-02-24 08:34:49.000000000 
+0100
+@@ -33,6 +33,8 @@
+ #include <X11/Xutil.h>
+ #include <X11/cursorfont.h>
+
++#include <cstring>
++
+
+ BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
+   screen_resources = 0;
+diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc
+--- blackbox-0.70.1.orig/src/main.cc   2005-01-03 10:42:57.000000000 +0100
++++ blackbox-0.70.1/src/main.cc        2008-02-24 08:37:16.000000000 +0100
+@@ -34,7 +34,8 @@
+ #include "blackbox.hh"
+ #include "../version.h"
+
+-#include <stdio.h>
++#include <cstdio>
++#include <cstring>
+
+
+ static void showHelp(int exitval) {
+diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc
+--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200
++++ blackbox-0.70.1/src/Screen.cc      2008-02-24 08:35:46.000000000 +0100
+@@ -45,8 +45,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <assert.h>
+-#include <ctype.h>
+ #include <dirent.h>
++#include <cctype>
++#include <cstring>
+
+
+ static bool running = true;
+diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc 
blackbox-0.70.1/src/ScreenResource.cc
+--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 
+0200
++++ blackbox-0.70.1/src/ScreenResource.cc      2008-02-24 08:36:31.000000000 
+0100
+@@ -33,6 +33,8 @@
+
+ #include <assert.h>
+
++#include <cstring>
++
+
+ static const int iconify_width  = 9;
+ static const int iconify_height = 9;
+diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc 
blackbox-0.70.1/util/bsetroot.cc
+--- blackbox-0.70.1.orig/util/bsetroot.cc      2005-03-15 08:01:37.000000000 
+0100
++++ blackbox-0.70.1/util/bsetroot.cc   2008-02-24 08:38:41.000000000 +0100
+@@ -30,7 +30,9 @@
+ #include <cctype>
+
+ #include <X11/Xatom.h>
+-#include <stdio.h>
++#include <cstdio>
++#include <cstdlib>
++#include <cstring>
+
+
+ // ignore all X errors
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to