diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-08 20:38:36 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-08 20:40:56 +0000 |
commit | 922097ae63e405d32d9c40c04ba28e64141b63cc (patch) | |
tree | ca8712393ebef56010380ff74d345e855aee452d /www-apps/mythweb/mythweb-0.28.1-php-7.2.patch | |
parent | Remove unneeded gvim patches (diff) | |
download | patches-922097ae63e405d32d9c40c04ba28e64141b63cc.tar.bz2 patches-922097ae63e405d32d9c40c04ba28e64141b63cc.tar.xz patches-922097ae63e405d32d9c40c04ba28e64141b63cc.zip |
Patch fix for mythweb with php-7.2
Diffstat (limited to 'www-apps/mythweb/mythweb-0.28.1-php-7.2.patch')
-rw-r--r-- | www-apps/mythweb/mythweb-0.28.1-php-7.2.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch b/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch new file mode 100644 index 0000000..345142b --- /dev/null +++ b/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch @@ -0,0 +1,21 @@ +--- mythweb/modules/tv/recorded.php 2019-01-08 20:32:48.755707414 +0000 ++++ mythweb/modules/tv/recorded.php 2019-01-08 20:33:16.975573210 +0000 +@@ -179,14 +179,14 @@ + if (function_exists('gmp_mul')) { + // GMP functions should work better with 64 bit numbers. + $size = gmp_mul('1024', $size); +- define(disk_size, gmp_strval($size)); ++ define('disk_size', gmp_strval($size)); + $size = gmp_mul('1024', $used); +- define(disk_used, gmp_strval($size)); ++ define('disk_used', gmp_strval($size)); + } + else { + // This is inaccurate, but it's the best we can get without GMP. +- define(disk_size, ($size * 1024)); +- define(disk_used, ($used * 1024)); ++ define('disk_size', ($size * 1024)); ++ define('disk_used', ($used * 1024)); + } + + // Load the class for this page |