rpms/kdeutils/devel kdeutils-3.5.7-glibc-open.patch, NONE, 1.1 kdeutils.spec, 1.95, 1.96

Than Ngo (than) fedora-extras-commits at redhat.com
Thu Sep 27 14:50:23 UTC 2007


Author: than

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

Modified Files:
	kdeutils.spec 
Added Files:
	kdeutils-3.5.7-glibc-open.patch 
Log Message:
fix build issue with new current glibc-2.6.90



kdeutils-3.5.7-glibc-open.patch:

--- NEW FILE kdeutils-3.5.7-glibc-open.patch ---
diff -up kdeutils-3.5.7/ark/compressedfile.cpp.orig kdeutils-3.5.7/ark/compressedfile.cpp
--- kdeutils-3.5.7/ark/compressedfile.cpp.orig	2007-09-27 16:17:26.000000000 +0200
+++ kdeutils-3.5.7/ark/compressedfile.cpp	2007-09-27 16:42:08.000000000 +0200
@@ -365,7 +365,7 @@ void CompressedFile::remove(QStringList 
   // does a reload and finds it no longer exists!
   QFile::remove(m_filename);
 
-  ::close(::open(QFile::encodeName(m_filename), O_WRONLY | O_CREAT | O_EXCL));
+  ::close(KDE_open(QFile::encodeName(m_filename), O_WRONLY | O_CREAT | O_EXCL, 0666));
 
   m_tmpfile = "";
   emit sigDelete(true);


Index: kdeutils.spec
===================================================================
RCS file: /cvs/extras/rpms/kdeutils/devel/kdeutils.spec,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- kdeutils.spec	29 Aug 2007 19:38:55 -0000	1.95
+++ kdeutils.spec	27 Sep 2007 14:49:51 -0000	1.96
@@ -17,7 +17,7 @@
 Summary: K Desktop Environment - Utilities
 Epoch:   6
 Version: 3.5.7
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 License: GPLv2
 Group:   Applications/System
@@ -33,6 +33,7 @@
 Patch2: kdeutils-3.5.4-bz#205553.patch
 Patch3: kdeutils-3.5.4-suspend.patch
 Patch4: kdeutils-3.5.7-klaptopdaemon_libXss.patch
+Patch5: kdeutils-3.5.7-glibc-open.patch
 
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -111,6 +112,7 @@
 %patch2 -p1 -b .bz#205553
 %patch3 -p1 -b .suspend
 %patch4 -p1 -b .libXss
+%patch5 -p1 -b .glibc-open
 
 %if %{make_cvs}
   make -f admin/Makefile.common cvs
@@ -377,6 +379,9 @@
 
 
 %changelog
+* Thu Sep 27 2007 Than Ngo <than at redhat.com> -  3.5.7-6
+- fix build issue with new current glibc-2.6.90
+
 * Wed Aug 29 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 6:3.5.7-5
 - move kcalc back to main pkg
 




More information about the fedora-extras-commits mailing list