diff options
Diffstat (limited to 'community/gimmage')
-rw-r--r-- | community/gimmage/PKGBUILD | 9 | ||||
-rw-r--r-- | community/gimmage/gimmage-0.2.3-gcc47.patch | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/community/gimmage/PKGBUILD b/community/gimmage/PKGBUILD index 36b32322a..521b13153 100644 --- a/community/gimmage/PKGBUILD +++ b/community/gimmage/PKGBUILD @@ -7,17 +7,20 @@ pkgname=gimmage pkgver=0.2.3 pkgrel=4 pkgdesc="A gtkmm image viewer" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://gimmage.berlios.de" license=('GPL') depends=('gtkmm' 'curl' 'file') makedepends=('pkgconfig') changelog=ChangeLog -source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('f51cca53b3d33415e75a91cf81b6ac39') +source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz + gimmage-0.2.3-gcc47.patch) +md5sums=('f51cca53b3d33415e75a91cf81b6ac39' + '23969d3aaaaf4285dc45bd59f4fb11c3') build() { cd $srcdir/$pkgname-$pkgver + patch -Np1 -i ${srcdir}/gimmage-0.2.3-gcc47.patch rm gimmage.desktop sed -i 's|Exec=@prefix@/bin/gimmage|Exec=@prefix@/bin/gimmage %U|' gimmage.desktop.in ./configure --prefix=/usr diff --git a/community/gimmage/gimmage-0.2.3-gcc47.patch b/community/gimmage/gimmage-0.2.3-gcc47.patch new file mode 100644 index 000000000..72f53396f --- /dev/null +++ b/community/gimmage/gimmage-0.2.3-gcc47.patch @@ -0,0 +1,11 @@ +--- gimmage-0.2.3.orig/src/FileManager.cpp 2007-06-26 15:51:15.000000000 +0200 ++++ gimmage-0.2.3/src/FileManager.cpp 2008-02-16 13:58:34.000000000 +0100 +@@ -21,6 +21,8 @@ + + // we make extensive use of get_current_dir_name() from Glib + ++#include <unistd.h> ++ + #include "FileManager.h" + #include "defines.h" + |