From 1fc8ae80cf10fcff086e7ce1f6c8ff145b2794d6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Jun 2014 12:03:55 +0200 Subject: [PATCH] herbstluftwm: update to 0.6.2. --- srcpkgs/herbstluftwm/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/herbstluftwm/template b/srcpkgs/herbstluftwm/template index d2b121aae2..0ca3453a8d 100644 --- a/srcpkgs/herbstluftwm/template +++ b/srcpkgs/herbstluftwm/template @@ -1,7 +1,7 @@ # Template file for 'herbstluftwm' pkgname=herbstluftwm -version=0.5.2 -revision=2 +version=0.6.2 +revision=1 hostmakedepends="pkg-config" makedepends="libXinerama-devel libglib-devel" conf_files="/etc/xdg/${pkgname}/autostart" @@ -10,12 +10,14 @@ maintainer="Juan RP " license="Simplified BSD" homepage="http://herbstluftwm.org" distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz" -checksum=c53d3309f9f05cc4b1b23907f4c0c403d850817dac8d1cc481e122fece599995 +checksum=a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac -do_build() { - make COLOR=0 CC=$CC LD=$CC +do_configure() { + sed -e 's,-I/usr/include,,g' -i config.mk +} +do_build() { + make COLOR=0 CC=$CC LD=$CC CFLAGS="$CFLAGS -std=c99" } - do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install vmkdir usr/share/bash-completion/completions