Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Latest upstream 7.1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
carlwgeorge committed Nov 8, 2018
1 parent 62660a1 commit 30d886b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
35 changes: 35 additions & 0 deletions SOURCES/php-7.1.24-phpize.patch
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
7 changes: 5 additions & 2 deletions SPECS/php71u.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 30d886b

Please sign in to comment.