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]

This commit is contained in:
Silvan Calarco 2024-01-05 20:42:14 +01:00
parent c7f91d4c0c
commit 5776a1570f
2 changed files with 18 additions and 2 deletions

View File

@ -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;

View File

@ -1,14 +1,15 @@
Name: automoc4 Name: automoc4
Version: 0.9.88 Version: 0.9.88
Release: 3mamba Release: 4mamba
Summary: Automatic moc for Qt 4 packages Summary: Automatic moc for Qt 4 packages
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.kde.org 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 Patch0: automoc4-0.9.88-boost-definitions.patch
Patch1: automoc4-0.9.88-fix-blocking.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -26,6 +27,7 @@ This package is part of the KDE4, as a component of the kdesupport module.
%prep %prep
%setup -q %setup -q
%patch0 -p0 %patch0 -p0
%patch1 -p0
%build %build
%cmake -d build %cmake -d build
@ -44,6 +46,9 @@ This package is part of the KDE4, as a component of the kdesupport module.
%{_libdir}/automoc4/ %{_libdir}/automoc4/
%changelog %changelog
* Thu Mar 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.9.88-3mamba * Fri Feb 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-3mamba
- rebuilt - rebuilt