From f611c4e19f68643203793e0496969bb26cf633d3 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Apr 05 2005 13:44:39 +0000 Subject: - Add missing line in qcad-assistant.patch which prevents orphans. --- diff --git a/qcad-assistant.patch b/qcad-assistant.patch index 44d9a57..5443759 100644 --- a/qcad-assistant.patch +++ b/qcad-assistant.patch @@ -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 @@ diff -Nur qcad-2.0.4.0-1.src-orig/qcad/src/qc_applicationwindow.cpp qcad-2.0.4.0 #include #include -@@ -2774,11 +2777,40 @@ +@@ -2774,11 +2777,44 @@ #if QT_VERSION>=0x030200 assistant->setArguments(args); #endif @@ -44,9 +44,13 @@ diff -Nur qcad-2.0.4.0-1.src-orig/qcad/src/qc_applicationwindow.cpp qcad-2.0.4.0 + perror( "execvp" ); + _exit(1); + } ++ int status; ++ waitpid( pid, &status, 0 ); + _exit(0); + } + // parent ++ int status; ++ waitpid( pid, &status, 0 ); + } +} diff --git a/qcad.spec b/qcad.spec index 4f1d0e9..f472bb9 100644 --- a/qcad.spec +++ b/qcad.spec @@ -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 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %changelog +* Tue Apr 5 2005 Michael Schwendt - 2.0.4.0-3.fc4 +- Add missing line in qcad-assistant.patch which prevents orphans. + * Mon Feb 14 2005 Michael Schwendt - 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