diff -ruN rpmbuild-orig/SOURCES/qpidd-SystemInfo.cpp.patch rpmbuild/SOURCES/qpidd-SystemInfo.cpp.patch
--- rpmbuild-orig/SOURCES/qpidd-SystemInfo.cpp.patch	1970-01-01 01:00:00.000000000 +0100
+++ rpmbuild/SOURCES/qpidd-SystemInfo.cpp.patch	2015-01-30 10:54:00.147391985 +0100
@@ -0,0 +1,11 @@
+--- qpid/trunk/qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp	2012/07/10 19:22:54	1359855
++++ qpid/trunk/qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp	2012/08/10 13:30:44	1371695
+@@ -91,7 +91,7 @@
+                 // * The scope id is illegal in URL syntax
+                 // * Clients won't be able to use a link local address
+                 //   without adding their own (potentially different) scope id
+-                sockaddr_in6* sa6 = (sockaddr_in6*)(ifap->ifa_addr);
++                sockaddr_in6* sa6 = (sockaddr_in6*)((void*)ifap->ifa_addr);
+                 if (IN6_IS_ADDR_LINKLOCAL(&sa6->sin6_addr)) break;
+                 // Fallthrough
+             }
diff -ruN rpmbuild-orig/SPECS/qpid-qmf.spec rpmbuild/SPECS/qpid-qmf.spec
--- rpmbuild-orig/SPECS/qpid-qmf.spec	2014-11-12 21:12:48.000000000 +0100
+++ rpmbuild/SPECS/qpid-qmf.spec	2015-01-30 10:58:52.610995378 +0100
@@ -60,7 +60,7 @@
 
 Name:          qpid-qmf
 Version:       0.18
-Release:       29%{?dist}
+Release:       29%{?dist}.redsleeve
 Summary:       The Qpid Management Framework
 Group:         System Environment/Libraries
 License:       ASL 2.0
@@ -73,6 +73,7 @@
 Patch4:        mrg-2.5.1.patch
 Patch5:        mrg-2.5.5.patch
 Patch6:        mrg-2.5.9.patch
+Patch10001:    qpidd-SystemInfo.cpp.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -222,6 +223,7 @@
 %patch4 -p2
 %patch5 -p2
 %patch6 -p2
+%patch10001 -p3
 
 %build
 (
@@ -293,6 +295,10 @@
 rm -rf %{buildroot}
 
 %changelog
+* Wed Jan 28 2015 Jacco LIgthart <jacco@redsleeve.org> - 0.18-36.redsleeve
+- added a patch:
+- http://mail-archives.apache.org/mod_mbox/qpid-commits/201208.mbox/%3C20120810133045.1F3DB238890D@eris.apache.org%3E
+
 * Wed Nov 12 2014 Mike Cressman <mcressma@redhat.com> - 0.18-29
 - BZ 1153763 - disable SSLv3 in cpp client and broker
 - BZ 1153775 - disable SSLv3 in windows cpp client
