rpms/qcad/devel qcad-assistant.patch,1.2,1.3 qcad.spec,1.5,1.6

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Tue Apr 5 13:44:41 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/qcad/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27287

Modified Files:
	qcad-assistant.patch qcad.spec 
Log Message:
* Tue Apr  5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4.0-3.fc4
- Add missing line in qcad-assistant.patch which prevents orphans.



qcad-assistant.patch:

Index: qcad-assistant.patch
===================================================================
RCS file: /cvs/extras/rpms/qcad/devel/qcad-assistant.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qcad-assistant.patch	20 Feb 2005 23:28:46 -0000	1.2
+++ qcad-assistant.patch	5 Apr 2005 13:44:39 -0000	1.3
@@ -1,6 +1,6 @@
 diff -Nur qcad-2.0.4.0-1.src-orig/qcad/src/qc_applicationwindow.cpp qcad-2.0.4.0-1.src/qcad/src/qc_applicationwindow.cpp
 --- qcad-2.0.4.0-1.src-orig/qcad/src/qc_applicationwindow.cpp	2004-09-14 22:13:07.000000000 +0200
-+++ qcad-2.0.4.0-1.src/qcad/src/qc_applicationwindow.cpp	2005-02-15 19:21:39.559936344 +0100
++++ qcad-2.0.4.0-1.src/qcad/src/qc_applicationwindow.cpp	2005-04-05 15:40:25.000000000 +0200
 @@ -27,6 +27,9 @@
  #include "qc_applicationwindow.h"
  
@@ -11,7 +11,7 @@
  
  #include <qaccel.h>
  #include <qaction.h>
-@@ -2774,11 +2777,40 @@
+@@ -2774,11 +2777,44 @@
  #if QT_VERSION>=0x030200 
          assistant->setArguments(args);
  #endif
@@ -44,9 +44,13 @@
 +		perror( "execvp" );
 +		_exit(1);
 +	    }
++	    int status;
++	    waitpid( pid, &status, 0 );
 +	    _exit(0);
 +	}
 +	// parent
++	int status;
++	waitpid( pid, &status, 0 );
 +    }
 +}
  


Index: qcad.spec
===================================================================
RCS file: /cvs/extras/rpms/qcad/devel/qcad.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- qcad.spec	5 Mar 2005 21:10:24 -0000	1.5
+++ qcad.spec	5 Apr 2005 13:44:39 -0000	1.6
@@ -1,6 +1,6 @@
 Name:		qcad
 Version:	2.0.4.0
-Release:	2
+Release:	3.fc4
 Summary:	Simple 2D CAD program
 
 Group:		Applications/Engineering
@@ -104,6 +104,9 @@
 %{_datadir}/pixmaps/*
 
 %changelog
+* Tue Apr  5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4.0-3.fc4
+- Add missing line in qcad-assistant.patch which prevents orphans.
+
 * Mon Feb 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.0.4.0-2
 - Remove /usr/bin/assistant (-> qt-devel) dependency, replace with
   patches to open a warning dialog in case of Qt Assistant error




More information about the fedora-extras-commits mailing list