Author: glen                         Date: Tue Feb  1 14:23:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unhide errors from mysql connect, otherwise impossible to diagnose connection 
failures

---- Files affected:
packages/phorum:
   phorum.spec (1.66 -> 1.67) , unhide-errors.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/phorum/phorum.spec
diff -u packages/phorum/phorum.spec:1.66 packages/phorum/phorum.spec:1.67
--- packages/phorum/phorum.spec:1.66    Tue Feb  1 15:16:57 2011
+++ packages/phorum/phorum.spec Tue Feb  1 15:23:13 2011
@@ -24,6 +24,7 @@
 Patch9:                multibyte_description.patch
 Patch10:       translate-macros.patch
 Patch11:       wordwrap.patch
+Patch12:       unhide-errors.patch
 URL:           http://www.phorum.org/
 BuildRequires: iconv
 BuildRequires: rpm-php-pearprov
@@ -329,6 +330,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -613,6 +615,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2011/02/01 14:23:13  glen
+- unhide errors from mysql connect, otherwise impossible to diagnose 
connection failures
+
 Revision 1.66  2011/02/01 14:16:57  glen
 - start update to 5.2.16
 

================================================================
Index: packages/phorum/unhide-errors.patch
diff -u /dev/null packages/phorum/unhide-errors.patch:1.1
--- /dev/null   Tue Feb  1 15:23:19 2011
+++ packages/phorum/unhide-errors.patch Tue Feb  1 15:23:13 2011
@@ -0,0 +1,11 @@
+--- phorum/include/db/mysql/mysqli_replication.php~    2011-02-01 
16:10:39.000000000 +0200
++++ phorum/include/db/mysql/mysqli_replication.php     2011-02-01 
16:20:50.127122766 +0200
+@@ -119,7 +119,7 @@
+             } else {
+                 // we suppress errors from the mysqli_connect command as 
errors
+                 // are catched differently.                   
+-                $conn_write = @mysqli_connect(
++                $conn_write = mysqli_connect(
+                     $PHORUM['DBCONFIG']['server'],
+                     $PHORUM['DBCONFIG']['user'],
+                     $PHORUM['DBCONFIG']['password'],
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phorum/phorum.spec?r1=1.66&r2=1.67&f=u

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

Reply via email to