From d5839dd449651d7781de570240f3d0a1a9162320 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 Oct 2013 01:11:27 -0700 Subject: Tue Oct 22 01:11:15 PDT 2013 --- extra/xfce4-dev-tools/PKGBUILD | 17 ++++++++++++----- ...-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch | 22 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 extra/xfce4-dev-tools/xfce4-dev-tools-4.10.0-remove-FORTIFY_SOURCE-2.patch (limited to 'extra/xfce4-dev-tools') 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 # Contributor: Andreas Radke # Contributor: Tobias Kieslich 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 +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 -- cgit v1.2.3-54-g00ecf