Hello community, here is the log from the commit of package php7 for openSUSE:Factory checked in at 2016-09-01 14:03:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7 (Old) and /work/SRC/openSUSE:Factory/.php7.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php7" Changes: -------- --- /work/SRC/openSUSE:Factory/php7/php7.changes 2016-08-24 10:08:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.php7.new/php7.changes 2016-09-01 14:03:12.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 31 06:13:36 UTC 2016 - crrodrig...@opensuse.org + +- php7-getrandom-test.patch: Fix incorrect test for the getrandom + syscall. + +------------------------------------------------------------------- New: ---- php7-getrandom-test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php7.spec ++++++ --- /var/tmp/diff_new_pack.NU45En/_old 2016-09-01 14:03:13.000000000 +0200 +++ /var/tmp/diff_new_pack.NU45En/_new 2016-09-01 14:03:13.000000000 +0200 @@ -96,7 +96,8 @@ Patch15: php7-fix_net-snmp_disable_MD5.patch # https://bugs.php.net/bug.php?id=70015 Patch16: aarch64-mult.patch - +#https://bugs.php.net/bug.php?id=71200 +Patch17: php7-getrandom-test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: apache-rpm-macros BuildRequires: apache2-devel @@ -1038,6 +1039,7 @@ %patch14 %patch15 %patch16 -p1 +%patch17 -p1 # Safety check for API version change. vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h` ++++++ php7-getrandom-test.patch ++++++ Index: php-7.0.10/ext/standard/random.c =================================================================== --- php-7.0.10.orig/ext/standard/random.c +++ php-7.0.10/ext/standard/random.c @@ -94,7 +94,7 @@ PHPAPI int php_random_bytes(void *bytes, } #elif HAVE_DECL_ARC4RANDOM_BUF && ((defined(__OpenBSD__) && OpenBSD >= 201405) || (defined(__NetBSD__) && __NetBSD_Version__ >= 700000001)) arc4random_buf(bytes, size); -#elif HAVE_DECL_GETRANDOM +#elif defined(SYS_getrandom) /* Linux getrandom(2) syscall */ size_t read_bytes = 0; size_t amount_to_read = 0;