Author: kwizart
Update of /cvs/free/rpms/amule/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19344/devel
Modified Files:
amule.spec
Added Files:
aMule-2.3.1-gcc47.patch
Log Message:
Fix build with gcc47
aMule-2.3.1-gcc47.patch:
ObservableQueue.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE aMule-2.3.1-gcc47.patch ---
diff -up aMule-2.3.1/src/ObservableQueue.h.gcc47 aMule-2.3.1/src/ObservableQueue.h
--- aMule-2.3.1/src/ObservableQueue.h.gcc47 2011-06-13 10:50:25.000000000 +0200
+++ aMule-2.3.1/src/ObservableQueue.h 2012-05-13 19:20:12.019301155 +0200
@@ -331,14 +331,14 @@ CObservableQueue<ValueType>::~CObservabl
template <typename ValueType>
void CObservableQueue<ValueType>::ObserverAdded( ObserverType* o )
{
- NotifyObservers( EventType( EventType::STARTING ), o );
+ this->NotifyObservers( EventType( EventType::STARTING ), o );
}
template <typename ValueType>
void CObservableQueue<ValueType>::ObserverRemoved( ObserverType* o )
{
- NotifyObservers( EventType( EventType::STOPPING ), o );
+ this->NotifyObservers( EventType( EventType::STOPPING ), o );
}
Index: amule.spec
===================================================================
RCS file: /cvs/free/rpms/amule/devel/amule.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- amule.spec 4 May 2012 19:56:23 -0000 1.15
+++ amule.spec 13 May 2012 17:26:04 -0000 1.16
@@ -7,6 +7,7 @@
License: GPLv2+
Group: Applications/Internet
Source0:
http://dl.sourceforge.net/%{name}/aMule-%{version}.tar.xz
+Patch0: aMule-2.3.1-gcc47.patch
URL:
http://amule.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# See
http://www.amule.org/wiki/index.php/Requirements
@@ -48,6 +49,7 @@
%prep
%setup -q -n aMule-%{version}
+%patch0 -p1 -b .gcc47
manfiles=`find . -name "*.1"`
for manfile in $manfiles; do
iconv -f ISO-8859-1 -t UTF-8 < $manfile > $manfile.utf8
@@ -168,7 +170,10 @@
%changelog
-* Mon Jan 23 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.1-1
+* Sun May 13 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.1-1
+- Fix build with gcc47
+
+* Mon Jan 23 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.1-0
- Update to 2.3.1
* Thu Oct 14 2010 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2.6-3