From e763ccc6cabab59335f50c29fc91f5a990146336 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 1 May 2017 00:32:05 +0200 Subject: community/php7: remove unneeded headers and fix bogus perms This is copied from Fedora spec. --- community/php7/APKBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'community') diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index b9715f7021..8069b29436 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -89,6 +89,21 @@ prepare() { error "Upstreram API version is now $vapi. Expecting $_apiver" return 1 fi + + # https://bugs.php.net/63362 - Not needed but installed headers. + # Drop some Windows specific headers to avoid installation, + # before build to ensure they are really not needed. + rm -f TSRM/tsrm_win32.h \ + TSRM/tsrm_config.w32.h \ + Zend/zend_config.w32.h \ + ext/mysqlnd/config-win.h \ + ext/standard/winver.h \ + main/win32_internal_function_disabled.h \ + main/win95nt.h + + # Fix some bogus permissions. + find . -name \*.[ch] -exec chmod 644 {} \; + autoconf } -- cgit v1.2.3