This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62660a1
commit 30d886b
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff -Nurp php-7.1.24.orig/scripts/phpize.in php-7.1.24/scripts/phpize.in | ||
--- php-7.1.24.orig/scripts/phpize.in 2018-11-08 15:47:37.682583571 -0600 | ||
+++ php-7.1.24/scripts/phpize.in 2018-11-08 15:51:47.324259810 -0600 | ||
@@ -162,6 +162,15 @@ phpize_autotools() | ||
$PHP_AUTOHEADER || exit 1 | ||
} | ||
|
||
+phpize_check_headers() | ||
+{ | ||
+ if test ! -f $includedir/main/php.h; then | ||
+ echo "Can't find PHP headers in $includedir" | ||
+ echo "The php-devel package is required for use of this command." | ||
+ exit 1 | ||
+ fi | ||
+} | ||
+ | ||
# Main script | ||
|
||
case "$1" in | ||
@@ -180,12 +189,15 @@ case "$1" in | ||
|
||
# Version | ||
--version|-v) | ||
+ phpize_check_headers | ||
phpize_print_api_numbers | ||
exit 0 | ||
;; | ||
|
||
# Default | ||
*) | ||
+ phpize_check_headers | ||
+ | ||
phpize_check_configm4 0 | ||
|
||
phpize_check_build_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,7 @@ | |
|
||
Summary: PHP scripting language for creating dynamic web sites | ||
Name: php71u | ||
Version: 7.1.23 | ||
Version: 7.1.24 | ||
Release: 1.ius%{?dist} | ||
# All files licensed under PHP version 3.01, except | ||
# Zend is licensed under Zend | ||
|
@@ -125,7 +125,7 @@ Patch8: php-7.0.2-libdb.patch | |
Patch40: php-7.1.16-dlopen.patch | ||
Patch42: php-7.1.0-systzdata-v14.patch | ||
# See http://bugs.php.net/53436 | ||
Patch43: php-5.4.0-phpize.patch | ||
Patch43: php-7.1.24-phpize.patch | ||
# Use -lldap_r for OpenLDAP | ||
Patch45: php-7.1.15-ldap_r.patch | ||
# drop "Configure command" from phpinfo output | ||
|
@@ -1869,6 +1869,9 @@ fi | |
|
||
|
||
%changelog | ||
* Thu Nov 08 2018 Carl George <[email protected]> - 7.1.24-1.ius | ||
- Latest upstream | ||
|
||
* Tue Oct 16 2018 Seth Ryder <[email protected]> - 7.1.23-1.ius | ||
- Latest upstream | ||
|
||
|