rpms/hackedbox/devel blackbox-0.65.0-gcc34.patch, NONE, 1.1 hackedbox.spec, 1.3, 1.4

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Nov 16 17:47:33 UTC 2004


Changeset from: thias

Update of /cvs/extras/rpms/hackedbox/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv23713

Modified Files:
	hackedbox.spec 
Added Files:
	blackbox-0.65.0-gcc34.patch 
Log Message:
Bump release, add gcc 3.4 fix.


blackbox-0.65.0-gcc34.patch:

--- NEW FILE blackbox-0.65.0-gcc34.patch ---
diff -Naur blackbox-0.65.0.orig/src/Timer.hh blackbox-0.65.0/src/Timer.hh
--- blackbox-0.65.0.orig/src/Timer.hh	2002-08-23 14:50:54.000000000 -0400
+++ blackbox-0.65.0/src/Timer.hh	2004-04-11 01:23:27.000000000 -0400
@@ -98,9 +98,10 @@
   ~_timer_queue(void) {}
 
   void release(const _Tp& value) {
-    c.erase(std::remove(c.begin(), c.end(), value), c.end());
+    _Base::c.erase(std::remove(_Base::c.begin(), _Base::c.end(), value),
+			_Base::c.end());
     // after removing the item we need to make the heap again
-    std::make_heap(c.begin(), c.end(), comp);
+    std::make_heap(_Base::c.begin(), _Base::c.end(), _Base::comp);
   }
   bool empty(void) const { return _Base::empty(); }
   size_t size(void) const { return _Base::size(); }


Index: hackedbox.spec
===================================================================
RCS file: /cvs/extras/rpms/hackedbox/devel/hackedbox.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hackedbox.spec	9 Nov 2004 02:47:03 -0000	1.3
+++ hackedbox.spec	16 Nov 2004 17:47:31 -0000	1.4
@@ -4,12 +4,13 @@
 Summary: The bastard son of Blackbox, a small and fast Window Manager
 Name: hackedbox
 Version: 0.8.4
-Release: 1.1.fc2.fr
+Release: 3
 License: GPL
 Group: User Interface/Desktops
 URL: http://scrudgeware.org/projects/Hackedbox
 Source: http://scrudgeware.org/downloads/hackedbox/hackedbox-%{version}.tar.gz
 Source1: hackedbox.desktop
+Patch: blackbox-0.65.0-gcc34.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: XFree86-devel, libstdc++-devel, gcc-c++, perl
 
@@ -22,6 +23,7 @@
 
 %prep
 %setup
+%patch -p1 -b .gcc34
 
 
 %build
@@ -72,6 +74,12 @@
 
 
 %changelog
+* Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 0.8.4-3
+- Bump release to provide Extras upgrade path.
+
+* Mon Nov 15 2004 Matthias Saou <http://freshrpms.net/> 0.8.4-2
+- Added gcc 3.4 patch from Arch Linux (the same as Linux From Scratch).
+
 * Fri Jul 16 2004 Matthias Saou <http://freshrpms.net/> 0.8.4-1
 - Update to 0.8.4.
 - Remove the NLS workaround, no longer required.




More information about the fedora-extras-commits mailing list