From: Elan Ruusamäe Date: Sun, 18 Nov 2012 21:52:42 +0000 (+0200) Subject: finished pld logo patch X-Git-Tag: auto/th/php55-5.5.1-1~24 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=5eecc0ee05ac0e0afb051c71acb554922b93acde;p=packages%2Fphp.git finished pld logo patch --- diff --git a/php-pldlogo.patch b/php-pldlogo.patch index ff13c1c..6b037ce 100644 --- a/php-pldlogo.patch +++ b/php-pldlogo.patch @@ -1,23 +1,20 @@ ---- php-4.3.3RC3/ext/standard/info.c.orig 2003-06-19 18:43:41.000000000 +0200 -+++ php-4.3.3RC3/ext/standard/info.c 2003-08-16 21:37:18.705836072 +0200 -@@ -518,6 +518,21 @@ - PUTS(!sapi_module.phpinfo_as_text?"
":"\n"); - PUTS(zend_version); +--- php-5.5.0alpha1/ext/standard/info.c~ 2012-11-13 22:00:16.000000000 +0200 ++++ php-5.5.0alpha1/ext/standard/info.c 2012-11-18 23:37:48.607735302 +0200 +@@ -794,6 +794,18 @@ + zend_html_puts(zend_version, strlen(zend_version) TSRMLS_CC); + } php_info_print_box_end(); + /* PLD Linux */ + php_info_print_box_start(0); -+ if (expose_php && !sapi_module.phpinfo_as_text) { -+ PUTS("\"PLD\n"); ++ if (!sapi_module.phpinfo_as_text) { ++ php_info_print("\"PLD\n"); + } -+ PUTS("This server is using PLD Linux."); ++ php_info_print("This server is using PLD Linux."); + if (!sapi_module.phpinfo_as_text) -+ PUTS("
More information at http://www.pld-linux.org/.
\n"); ++ php_info_print("
More information at http://www.pld-linux.org/.
\n"); + else -+ PUTS("\nMore information at http://www.pld-linux.org/.\n"); ++ php_info_print("\nMore information at http://www.pld-linux.org/.\n"); + php_info_print_box_end(); efree(php_uname); } diff --git a/php.spec b/php.spec index ccd2f54..8ad8044 100644 --- a/php.spec +++ b/php.spec @@ -126,7 +126,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules. %define orgname php %define php_suffix 55 -%define rel 0.1 +%define rel 0.2 %define subver alpha1 Summary: PHP: Hypertext Preprocessor Summary(fr.UTF-8): Le langage de script embarque-HTML PHP @@ -1866,7 +1866,7 @@ Moduł PHP umożliwiający używanie kompresji zlib. %prep %setup -q -n %{orgname}-%{version}%{?subver} %patch0 -p1 -#%patch1 -p1 # redo with _DATA_URI +%patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1