Author: glen                         Date: Wed May 26 17:52:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- never touch error_reporting in a production

---- Files affected:
packages/ckfinder:
   ckfinder.spec (1.1 -> 1.2) , error_reporting.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ckfinder/ckfinder.spec
diff -u packages/ckfinder/ckfinder.spec:1.1 packages/ckfinder/ckfinder.spec:1.2
--- packages/ckfinder/ckfinder.spec:1.1 Tue Feb 16 14:27:34 2010
+++ packages/ckfinder/ckfinder.spec     Wed May 26 19:52:02 2010
@@ -3,12 +3,13 @@
 Summary(pl.UTF-8):     Edytor tekstowy dla Internetu
 Name:          ckfinder
 Version:       1.4.2
-Release:       0.18
+Release:       0.19
 License:       Custom
 Group:         Applications/WWW
 Source0:       
http://download.cksource.com/CKFinder/CKFinder%20for%20PHP/%{version}/%{name}_php_%{version}.tar.gz
 # Source0-md5: 0f37b528272f915b9fcd3a12e2f53439
 URL:           http://www.ckfinder.com/
+Patch0:                error_reporting.patch
 Source1:       find-lang.sh
 Source2:       apache.conf
 Source3:       lighttpd.conf
@@ -73,6 +74,8 @@
 # undos the files
 find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' -o -name '*.html' -o 
-name '*.php' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
 
+%patch0 -p1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d 
$RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},%{php_data_dir},/var/lib/%{name}}
@@ -165,5 +168,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/05/26 17:52:02  glen
+- never touch error_reporting in a production
+
 Revision 1.1  2010/02/16 13:27:34  glen
 - new, based on ckeditor and fckeditor specs

================================================================
Index: packages/ckfinder/error_reporting.patch
diff -u /dev/null packages/ckfinder/error_reporting.patch:1.1
--- /dev/null   Wed May 26 19:52:07 2010
+++ packages/ckfinder/error_reporting.patch     Wed May 26 19:52:02 2010
@@ -0,0 +1,15 @@
+--- ckfinder-1.4.2/./core/connector/php/connector.php~ 2010-05-26 
19:50:10.000000000 +0300
++++ ckfinder-1.4.2/./core/connector/php/connector.php  2010-05-26 
19:50:50.329046561 +0300
+@@ -20,12 +20,6 @@
+  */
+ 
+ /**
+- * Protect against sending warnings to the browser (#186).
+- * Comment out this line during debugging. 
+- */
+-error_reporting(0);
+-
+-/**
+  * Protect against sending content before all HTTP headers are sent (#186).
+  */
+ ob_start();
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ckfinder/ckfinder.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to