From d9bb2d56f79798f17629f6037d90800054cb3fa6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 May 2015 19:37:17 +0200 Subject: [PATCH] pluma: unbreak musl build: ACCESSPERMS is unportable. --- srcpkgs/pluma/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/pluma/template b/srcpkgs/pluma/template index 2541c3a53f0..0d77e04f5c6 100644 --- a/srcpkgs/pluma/template +++ b/srcpkgs/pluma/template @@ -1,7 +1,7 @@ # Template file for 'pluma' pkgname=pluma version=1.8.1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-gtk=2.0 --enable-python" hostmakedepends="pkg-config intltool itstool" @@ -16,6 +16,11 @@ homepage="http://mate-desktop.org" distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz" checksum=38accc5c05062981a0649874300bc21ab3ad1a5ef47491186dffe7c035ed9e8b +pre_configure() { + # ACCESSPERMS is glibc specific... unportable. + sed -i 's,ACCESSPERMS,(S_IRWXU|S_IRWXG|S_IRWXO),g' tests/document-saver.c +} + pluma-devel_package() { short_desc+=" - development files" pkg_install() {