diff options
| -rw-r--r-- | debian/patches/dyson-hash.patch | 15 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/dyson-hash.patch b/debian/patches/dyson-hash.patch new file mode 100644 index 000000000..87fad017b --- /dev/null +++ b/debian/patches/dyson-hash.patch @@ -0,0 +1,15 @@ +Index: php/ext/hash/hash_ripemd.c +=================================================================== +--- php.orig/ext/hash/hash_ripemd.c ++++ php/ext/hash/hash_ripemd.c +@@ -172,6 +172,10 @@ static const unsigned char S[80] = { + 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, + 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 }; + ++/* defined at illumos */ ++#ifdef SS ++#undef SS ++#endif + static const unsigned char SS[80] = { + 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, + 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, diff --git a/debian/patches/series b/debian/patches/series index 2930711ae..521bfcd5f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -47,3 +47,4 @@ hack-phpdbg-to-explicitly-link-with-libedit.patch php-fpm-getallheaders.patch 0001-Fix-ZEND_MM_ALIGNMENT-on-m64k.patch dyson-date.patch +dyson-hash.patch |
