summaryrefslogtreecommitdiff
path: root/extra/xfce4-dev-tools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-22 01:11:27 -0700
committerroot <root@rshg054.dnsready.net>2013-10-22 01:11:27 -0700
commitd5839dd449651d7781de570240f3d0a1a9162320 (patch)
tree59a51057ead59eda118056ff05b1e2b941fa356b /extra/xfce4-dev-tools
parent61f20cbeb90ac877764e14b7c4e1c5c08b3e5383 (diff)
Tue Oct 22 01:11:15 PDT 2013
Diffstat (limited to 'extra/xfce4-dev-tools')
-rw-r--r--extra/xfce4-dev-tools/PKGBUILD17
-rw-r--r--extra/xfce4-dev-tools/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch22
2 files changed, 34 insertions, 5 deletions
diff --git a/extra/xfce4-dev-tools/PKGBUILD b/extra/xfce4-dev-tools/PKGBUILD
index 36fb4823e..5fc04de6a 100644
--- a/extra/xfce4-dev-tools/PKGBUILD
+++ b/extra/xfce4-dev-tools/PKGBUILD
@@ -1,19 +1,26 @@
-# $Id: PKGBUILD 157849 2012-04-30 04:20:15Z foutrelis $
+# $Id: PKGBUILD 197077 2013-10-21 15:48:24Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
pkgname=xfce4-dev-tools
pkgver=4.10.0
-pkgrel=1
+pkgrel=2
pkgdesc="Xfce developer tools"
arch=('i686' 'x86_64')
url="http://www.xfce.org/"
license=('GPL2')
depends=('gtk-doc' 'automake' 'make' 'intltool' 'pkg-config')
-options=('!libtool')
-source=(http://archive.xfce.org/src/xfce/xfce4-dev-tools/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('f79649bbfbbf16881494ee9f67035063765aec12e23ab9bac31de2c8a4f32bf8')
+source=(http://archive.xfce.org/src/xfce/xfce4-dev-tools/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch)
+sha256sums=('f79649bbfbbf16881494ee9f67035063765aec12e23ab9bac31de2c8a4f32bf8'
+ '4ecfdf8cdb0940ce1044349bdb6646192dffd2b7f4e890f0ef5f00bfdfad7676')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch"
+}
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/extra/xfce4-dev-tools/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch b/extra/xfce4-dev-tools/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch
new file mode 100644
index 000000000..1c9fb4e2f
--- /dev/null
+++ b/extra/xfce4-dev-tools/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch
@@ -0,0 +1,22 @@
+From 236a0c578369bfc726f7d9a830975cbeaefbfee5 Mon Sep 17 00:00:00 2001
+From: Nick Schermer <nick@xfce.org>
+Date: Mon, 23 Jul 2012 15:31:48 +0000
+Subject: Remove FORTIFY_SOURCE=2.
+
+This gives warnings with full debug builds on recent gcc versions.
+---
+diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
+index c5f5583..f258822 100644
+--- a/m4macros/xdt-features.m4
++++ b/m4macros/xdt-features.m4
+@@ -79,7 +79,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
+ -Wcast-align -Wformat-security \
+ -Winit-self -Wmissing-include-dirs -Wundef \
+ -Wmissing-format-attribute -Wnested-externs"
+- CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
++ CPPFLAGS="$CPPFLAGS"
+
+ if test x`uname` = x"Linux"; then
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
+--
+cgit v0.9.2