summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/iceweasel-libre/PKGBUILD6
-rw-r--r--pcr/xcftools/PKGBUILD44
2 files changed, 50 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 19b9ee9a2..283d6e088 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -144,10 +144,16 @@ build() {
fi
if $_pgo; then
+ unset CPPFLAGS
+ export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+ export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 &
LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="$MAKEFLAGS"
kill $! || true
else
+ unset CPPFLAGS
+ export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+ export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
LD_PRELOAD="" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
fi
}
diff --git a/pcr/xcftools/PKGBUILD b/pcr/xcftools/PKGBUILD
new file mode 100644
index 000000000..979453d24
--- /dev/null
+++ b/pcr/xcftools/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Jonathan Frawley <jonathanfrawley@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+pkgname=xcftools
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Miscellaneous command line tools for use with the open ${pkgname::3} format used by The GIMP."
+url=http://henning.makholm.net/software
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=(
+ GPL2
+ perl
+)
+depends=(
+ libpng
+ perl
+)
+optdepends=gimp
+makedepends=libpng
+source=(
+ http://henning.makholm.net/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.patch
+)
+md5sums=(
+ fd960b6470fb23520fc4b1ade6cf6e25
+ 7439f6a8369a12913243ded6c93d31e1
+)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -i ../$pkgname.patch
+ /bin/bash configure --prefix=/usr
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et: