- Add upstreamed patch libart-2.3.19-header.patch

- Resolves: #230571
epel9
besfahbo 18 years ago
parent 7cc319922e
commit 1e2a06fa00

@ -0,0 +1,18 @@
--- libart_lgpl-2.3.19/art_misc.h.extern-c 2007-01-02 00:59:22.000000000 +0100
+++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 09:19:06.000000000 +0100
@@ -34,9 +34,15 @@
#include <libart_lgpl/art_config.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
void *art_alloc(size_t size);
void art_free(void *ptr);
void *art_realloc(void *ptr, size_t size);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
/* These aren't, strictly speaking, configuration macros, but they're
damn handy to have around, and may be worth playing with for

@ -1,10 +1,11 @@
Summary: Library of graphics routines used by libgnomecanvas Summary: Library of graphics routines used by libgnomecanvas
Name: libart_lgpl Name: libart_lgpl
Version: 2.3.19 Version: 2.3.19
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.gnome.org/ URL: http://www.gnome.org/
Source0: http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2 Source0: http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2
Patch0: libart-multilib.patch Patch0: libart-multilib.patch
Patch1: libart-2.3.19-header.patch
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -28,6 +29,7 @@ applications. libart renders vector paths and the like.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .multilib %patch0 -p1 -b .multilib
%patch1 -p1 -b .header
%build %build
%configure --disable-static %configure --disable-static
@ -89,6 +91,10 @@ rm -rf %{buildroot}
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Thu Mar 01 2007 Behdad Esfahbod <besfahbo@edhat.com> - 2.3.19-2
- Add upstreamed patch libart-2.3.19-header.patch
- Resolves: #230571
* Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 2.3.19-1 * Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 2.3.19-1
- Update to 2.3.19 - Update to 2.3.19

Loading…
Cancel
Save