diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/gimmage/PKGBUILD | 7 | ||||
-rw-r--r-- | community/gimmage/gimmage-0.2.3-gcc47.patch | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/community/gimmage/PKGBUILD b/community/gimmage/PKGBUILD index f4a994d35..521b13153 100644 --- a/community/gimmage/PKGBUILD +++ b/community/gimmage/PKGBUILD @@ -13,11 +13,14 @@ 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" + |