SOURCES: psi-configure_fix.patch (NEW) - fix pdksh issues

shadzik shadzik at pld-linux.org
Thu Oct 18 20:13:44 CEST 2007


Author: shadzik                      Date: Thu Oct 18 18:13:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix pdksh issues

---- Files affected:
SOURCES:
   psi-configure_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/psi-configure_fix.patch
diff -u /dev/null SOURCES/psi-configure_fix.patch:1.1
--- /dev/null	Thu Oct 18 20:13:44 2007
+++ SOURCES/psi-configure_fix.patch	Thu Oct 18 20:13:39 2007
@@ -0,0 +1,29 @@
+--- psi-0.11/configure	2007-10-14 16:00:49.000000000 +0200
++++ psi-0.11/configure-new	2007-10-18 20:03:55.422545889 +0200
+@@ -701,7 +701,7 @@
+ 			if(QFile::exists(path))
+ 			{
+ 				QString certPathString = 
+-					"QCA_SYSTEMSTORE_PATH=\\\\\\\\\\\\\"" + path + "\\\\\\\\\\\\\"";
++					"QCA_SYSTEMSTORE_PATH=" + path + "";
+ 				conf->addDefine(certPathString);
+ 				return true;
+ 			}
+@@ -746,7 +746,7 @@
+ 
+ 		// Qt<4.2 workaround
+ 		QString certPathString = 
+-			"QCA_SYSTEMSTORE_PATH=\\\\\\\\\\\\\"" + path + "\\\\\\\\\\\\\"";
++			"QCA_SYSTEMSTORE_PATH=" + path + "";
+ 		conf->addDefine(certPathString);
+ 
+ 		return true;
+@@ -1078,7 +1078,7 @@
+ 		QFile file("src/config.h");
+ 		if ( file.open(QIODevice::WriteOnly | QIODevice::Text) ) {
+ 			QTextStream stream( &file );
+-			stream << "#define PSI_DATADIR \"" << conf->getenv("DATADIR") << "/psi\"" << endl;
++			stream << "#define PSI_DATADIR \\"" << conf->getenv("DATADIR") << "/psi\\"" << endl;
+ 		}
+ 		
+ 		conf->addDefine("HAVE_CONFIG");
================================================================


More information about the pld-cvs-commit mailing list