From dfeea47ba82f02418003dbe8e3c2ab391b348902 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 1 Aug 2016 14:05:22 +0200 Subject: [PATCH] xfig: fix botched permissions. --- srcpkgs/xfig/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xfig/template b/srcpkgs/xfig/template index 2086b159f0f..b6688276a05 100644 --- a/srcpkgs/xfig/template +++ b/srcpkgs/xfig/template @@ -1,7 +1,7 @@ # Template file for 'xfig' pkgname=xfig version=3.2.5c -revision=1 +revision=2 wrksrc="${pkgname}.${version}" patch_args="-Np1" hostmakedepends="imake xorg-cf-files" @@ -16,6 +16,8 @@ checksum=ea628f975b79ab175ab29220cc118274466497f6217f2989928317be2993a1f9 nocross=yes post_extract() { + find . -type d -perm 0700 -print0 | xargs -0 chmod 0755 + find . -type f -perm 0700 -print0 | xargs -0 chmod 0644 sed -i -e '/define XAW3D/s/^/XCOMM /' \ -e '/USEINLINE/s/^XCOMM //' \ -e '/define I18N/s/^XCOMM //' \