From 5776a1570f7d1337a2143e96bba35278ae027259 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:42:14 +0100 Subject: [PATCH] add a patch to fix blocking (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163513) [release 0.9.88-4mamba;Thu Mar 03 2016] --- automoc4-0.9.88-fix-blocking.patch | 11 +++++++++++ automoc4.spec | 9 +++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 automoc4-0.9.88-fix-blocking.patch diff --git a/automoc4-0.9.88-fix-blocking.patch b/automoc4-0.9.88-fix-blocking.patch new file mode 100644 index 0000000..8dcbd4d --- /dev/null +++ b/automoc4-0.9.88-fix-blocking.patch @@ -0,0 +1,11 @@ +--- kde4automoc.cpp.orig 2009-01-22 09:50:09.000000000 -0900 ++++ kde4automoc.cpp 2011-11-28 08:49:56.000000000 -0900 +@@ -71,7 +71,7 @@ + QStringList args(cmakeEchoColorArgs); + args << msg; + cmakeEcho.start(cmakeExecutable, args, QIODevice::NotOpen); +- cmakeEcho.waitForFinished(-1); ++ cmakeEcho.waitForFinished(2000); + } + + QString builddir; \ No newline at end of file diff --git a/automoc4.spec b/automoc4.spec index c06dca1..0a74791 100644 --- a/automoc4.spec +++ b/automoc4.spec @@ -1,14 +1,15 @@ Name: automoc4 Version: 0.9.88 -Release: 3mamba +Release: 4mamba Summary: Automatic moc for Qt 4 packages Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://www.kde.org -Source: ftp://ftp.kde.org/pub/kde/stable/automoc4/%{version}/automoc4-%{version}.tar.bz2 +Source: http://download.kde.org/stable/automoc4/%{version}/automoc4-%{version}.tar.bz2 Patch0: automoc4-0.9.88-boost-definitions.patch +Patch1: automoc4-0.9.88-fix-blocking.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -26,6 +27,7 @@ This package is part of the KDE4, as a component of the kdesupport module. %prep %setup -q %patch0 -p0 +%patch1 -p0 %build %cmake -d build @@ -44,6 +46,9 @@ This package is part of the KDE4, as a component of the kdesupport module. %{_libdir}/automoc4/ %changelog +* Thu Mar 03 2016 Silvan Calarco 0.9.88-4mamba +- add a patch to fix blocking (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163513) + * Fri Feb 26 2016 Silvan Calarco 0.9.88-3mamba - rebuilt