Hello community,

here is the log from the commit of package agg for openSUSE:Factory checked in 
at 2012-01-04 07:23:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/agg (Old)
 and      /work/SRC/openSUSE:Factory/.agg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "agg", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/agg/agg.changes  2011-10-03 09:11:36.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.agg.new/agg.changes     2012-01-04 
07:23:11.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Dec 30 11:12:05 UTC 2011 - [email protected]
+
+- Add agg-remove-const-violation.patch: Don't leak non-const 
+  reference to const private member. Based on NetBSD patch.
+
+-------------------------------------------------------------------

New:
----
  agg-remove-const-violation.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ agg.spec ++++++
--- /var/tmp/diff_new_pack.5ZNaVU/_old  2012-01-04 07:23:12.000000000 +0100
+++ /var/tmp/diff_new_pack.5ZNaVU/_new  2012-01-04 07:23:12.000000000 +0100
@@ -15,19 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           agg
-BuildRequires:  SDL-devel freetype2-devel gcc-c++ libbz2-devel xorg-x11-devel
-BuildRequires:  libtool
+Version:        2.5
+Release:        0
+Summary:        C++ SVG Rendering Library
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
-Summary:        C++ SVG Rendering Library
-Version:        2.5
-Release:        170
 Url:            http://antigrain.com
-Provides:       agg = %version
+BuildRequires:  SDL-devel
+BuildRequires:  freetype2-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libbz2-devel
+BuildRequires:  libtool
+BuildRequires:  xorg-x11-devel
+Provides:       agg = %{version}
 Obsoletes:      agg <= 2.5
 %if 0
 Source:         agg-%{version}.tar.bz2
@@ -37,9 +38,10 @@
 Source:         agg-%{version}-patched.tar.bz2
 %endif
 Source1:        agg-patch-source
-Patch:          agg-automake-fix.diff
+Patch0:         agg-automake-fix.diff
 Patch1:         agg-gpc.patch
 Patch2:         agg-2.5.dif
+Patch3:         agg-remove-const-violation.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,7 +49,6 @@
 C++ interface.
 
 %package -n libagg2
-License:        GPL-2.0+
 Summary:        C++ SVG rendering library
 Group:          Development/Libraries/C and C++
 
@@ -55,34 +56,33 @@
 Very fast and complete library to render SVG graphics. It provides a
 C++ interface.
 
-
 %package devel
-License:        GPL-2.0+
 Summary:        C++ SVG rendering library
 Group:          Development/Libraries/C and C++
-Requires:       libagg2 = %{version}
 Requires:       freetype2-devel 
 Requires:       glibc-devel
+Requires:       libagg2 = %{version}
 
 %description devel
 Very fast and complete library to render SVG graphics. It provides a
 C++ interface.
 
 %prep
-%setup -q -n agg-%version
-%patch
+%setup -q -n agg-%{version}
+%patch0
 %patch1
 %patch2 -p0
+%patch3 -p1
 
 %build
 mkdir m4
 autoreconf -fiv
 %configure --disable-static
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
+%make_install
+rm -f %{buildroot}%{_libdir}/lib*.la
 
 %post -n libagg2 -p /sbin/ldconfig
 
@@ -90,7 +90,7 @@
 
 %files -n libagg2
 %defattr(-,root,root)
-%_libdir/lib*.so.*
+%{_libdir}/lib*.so.*
 
 %files devel
 %defattr(-,root,root)

++++++ agg-remove-const-violation.patch ++++++
Index: agg-2.5/include/agg_renderer_outline_aa.h
===================================================================
--- agg-2.5.orig/include/agg_renderer_outline_aa.h
+++ agg-2.5/include/agg_renderer_outline_aa.h
@@ -1375,7 +1375,6 @@ namespace agg
         //---------------------------------------------------------------------
         void profile(const line_profile_aa& prof) { m_profile = &prof; }
         const line_profile_aa& profile() const { return *m_profile; }
-        line_profile_aa& profile() { return *m_profile; }
 
         //---------------------------------------------------------------------
         int subpixel_width() const { return m_profile->subpixel_width(); }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to