[arch-commits] Commit in codeblocks/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Jan 19 12:01:33 UTC 2017
Date: Thursday, January 19, 2017 @ 12:01:32
Author: jelle
Revision: 208022
Fix FS#52516, FS#49799
Rebuild codeblocks against wxgtk, since wxgtk2.8 will be dropped.
Make a better fix for the crash on startup, which re-enables the optmizations and
stack protection.
Modified:
codeblocks/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-19 11:52:05 UTC (rev 208021)
+++ PKGBUILD 2017-01-19 12:01:32 UTC (rev 208022)
@@ -8,13 +8,13 @@
pkgname=codeblocks
pkgver=16.01
-pkgrel=7
+pkgrel=8
pkgdesc='Cross-platform C/C++ IDE'
arch=('x86_64' 'i686')
url='http://www.codeblocks.org/'
license=('GPL3')
depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 'webkitgtk2')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm' 'webkitgtk2')
makedepends=('boost' 'zip' 'webkitgtk2')
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz")
sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
@@ -24,12 +24,10 @@
# Fix build with boost 1.59
export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
- export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+ export WX_CONFIG_PATH=/usr/bin/wx-config
# FS#49799
- export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
- export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
- export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+ export CPPFLAGS+=" -fno-delete-null-pointer-checks"
./bootstrap
./configure --prefix=/usr --with-contrib-plugins=all
More information about the arch-commits
mailing list