[arch-commits] Commit in fluxbox (6 files)

Eric Belanger eric at archlinux.org
Mon May 5 18:19:59 EDT 2008


    Date: Monday, May 5, 2008 @ 18:19:58
  Author: eric
Revision: 1350

fixed build issue with gcc 4.3 (close  FS#10360)

Added:
  fluxbox/repos/extra-i686/fluxbox-1.0.0-gcc43.patch
  fluxbox/repos/extra-x86_64/fluxbox-1.0.0-gcc43.patch
  fluxbox/trunk/fluxbox-1.0.0-gcc43.patch
Modified:
  fluxbox/repos/extra-i686/PKGBUILD
  fluxbox/repos/extra-x86_64/PKGBUILD
  fluxbox/trunk/PKGBUILD

----------------------------------------------+
 repos/extra-i686/PKGBUILD                    |   11 ++++++++---
 repos/extra-i686/fluxbox-1.0.0-gcc43.patch   |   10 ++++++++++
 repos/extra-x86_64/PKGBUILD                  |   11 ++++++++---
 repos/extra-x86_64/fluxbox-1.0.0-gcc43.patch |   10 ++++++++++
 trunk/PKGBUILD                               |   11 ++++++++---
 trunk/fluxbox-1.0.0-gcc43.patch              |   10 ++++++++++
 6 files changed, 54 insertions(+), 9 deletions(-)

Modified: repos/extra-i686/PKGBUILD
===================================================================
--- repos/extra-i686/PKGBUILD	2008-05-05 18:20:08 UTC (rev 1349)
+++ repos/extra-i686/PKGBUILD	2008-05-05 22:19:58 UTC (rev 1350)
@@ -11,13 +11,18 @@
 license=('MIT')
 depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
 makedepends=('pkgconfig')
+options=('!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
-        $pkgname.desktop)
-md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed')
-sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748' 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8')
+        $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
+md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
+         '9ddb3fcd5f080574a44f394282132b3c')
+sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
+          'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
+          '51de3957bacfc4848529ba7df80bddca59b1a20b')
 
 build() {
   cd $startdir/src/$pkgname-${pkgver}
+  patch -p1 < ../fluxbox-1.0.0-gcc43.patch || return 1
   ./configure --prefix=/usr \
    --enable-kde --enable-gnome \
    --enable-xft --enable-xinerama \

Added: repos/extra-i686/fluxbox-1.0.0-gcc43.patch
===================================================================
--- repos/extra-i686/fluxbox-1.0.0-gcc43.patch	                        (rev 0)
+++ repos/extra-i686/fluxbox-1.0.0-gcc43.patch	2008-05-05 22:19:58 UTC (rev 1350)
@@ -0,0 +1,10 @@
+--- fluxbox-1.0.0-orig/src/main.cc	2007-08-11 14:22:20.000000000 -0400
++++ fluxbox-1.0.0/src/main.cc	2008-05-05 15:14:59.000000000 -0400
+@@ -49,6 +49,7 @@
+ #include <fstream>
+ #include <stdexcept>
+ #include <typeinfo>
++#include <cstring>
+ 
+ using std::cout;
+ using std::cerr;

Modified: repos/extra-x86_64/PKGBUILD
===================================================================
--- repos/extra-x86_64/PKGBUILD	2008-05-05 18:20:08 UTC (rev 1349)
+++ repos/extra-x86_64/PKGBUILD	2008-05-05 22:19:58 UTC (rev 1350)
@@ -11,13 +11,18 @@
 license=('MIT')
 depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
 makedepends=('pkgconfig')
+options=('!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
-        $pkgname.desktop)
-md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed')
-sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748' 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8')
+        $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
+md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
+         '9ddb3fcd5f080574a44f394282132b3c')
+sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
+          'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
+          '51de3957bacfc4848529ba7df80bddca59b1a20b')
 
 build() {
   cd $startdir/src/$pkgname-${pkgver}
+  patch -p1 < ../fluxbox-1.0.0-gcc43.patch || return 1
   ./configure --prefix=/usr \
    --enable-kde --enable-gnome \
    --enable-xft --enable-xinerama \

Added: repos/extra-x86_64/fluxbox-1.0.0-gcc43.patch
===================================================================
--- repos/extra-x86_64/fluxbox-1.0.0-gcc43.patch	                        (rev 0)
+++ repos/extra-x86_64/fluxbox-1.0.0-gcc43.patch	2008-05-05 22:19:58 UTC (rev 1350)
@@ -0,0 +1,10 @@
+--- fluxbox-1.0.0-orig/src/main.cc	2007-08-11 14:22:20.000000000 -0400
++++ fluxbox-1.0.0/src/main.cc	2008-05-05 15:14:59.000000000 -0400
+@@ -49,6 +49,7 @@
+ #include <fstream>
+ #include <stdexcept>
+ #include <typeinfo>
++#include <cstring>
+ 
+ using std::cout;
+ using std::cerr;

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2008-05-05 18:20:08 UTC (rev 1349)
+++ trunk/PKGBUILD	2008-05-05 22:19:58 UTC (rev 1350)
@@ -11,13 +11,18 @@
 license=('MIT')
 depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
 makedepends=('pkgconfig')
+options=('!makeflags')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
-        $pkgname.desktop)
-md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed')
-sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748' 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8')
+        $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
+md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
+         '9ddb3fcd5f080574a44f394282132b3c')
+sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
+          'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
+          '51de3957bacfc4848529ba7df80bddca59b1a20b')
 
 build() {
   cd $startdir/src/$pkgname-${pkgver}
+  patch -p1 < ../fluxbox-1.0.0-gcc43.patch || return 1
   ./configure --prefix=/usr \
    --enable-kde --enable-gnome \
    --enable-xft --enable-xinerama \

Added: trunk/fluxbox-1.0.0-gcc43.patch
===================================================================
--- trunk/fluxbox-1.0.0-gcc43.patch	                        (rev 0)
+++ trunk/fluxbox-1.0.0-gcc43.patch	2008-05-05 22:19:58 UTC (rev 1350)
@@ -0,0 +1,10 @@
+--- fluxbox-1.0.0-orig/src/main.cc	2007-08-11 14:22:20.000000000 -0400
++++ fluxbox-1.0.0/src/main.cc	2008-05-05 15:14:59.000000000 -0400
+@@ -49,6 +49,7 @@
+ #include <fstream>
+ #include <stdexcept>
+ #include <typeinfo>
++#include <cstring>
+ 
+ using std::cout;
+ using std::cerr;





More information about the arch-commits mailing list