blackbox: fix compilation with recent gcc's
This commit is contained in:
parent
149969802a
commit
d5ab82053b
@ -1 +1,2 @@
|
||||
d6921a3cff4f11583f5bdc2d5a2fb9a3 blackbox-0.70.1-include-fix.diff
|
||||
53b84260b9d38b35fb25b4baf7bb795a blackbox-0.70.1.tar.bz2
|
||||
|
@ -6,11 +6,13 @@
|
||||
name=blackbox
|
||||
version=0.70.1
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/blackboxwm/$name-$version.tar.bz2)
|
||||
source=(http://dl.sourceforge.net/sourceforge/blackboxwm/$name-$version.tar.bz2
|
||||
blackbox-0.70.1-include-fix.diff)
|
||||
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/blackbox-0.70.1-include-fix.diff
|
||||
./configure --prefix=/usr --disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
10
blackbox/blackbox-0.70.1-include-fix.diff
Normal file
10
blackbox/blackbox-0.70.1-include-fix.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- blackbox-0.70.1/lib/Image.cc.orig 2008-10-03 09:23:56.000000000 +0200
|
||||
+++ blackbox-0.70.1/lib/Image.cc 2008-10-03 09:24:08.000000000 +0200
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
// #define COLORTABLE_DEBUG
|
||||
// #define MITSHM_DEBUG
|
Loading…
x
Reference in New Issue
Block a user