From 8df406ac6c9aaa03b8bf27f2c0505022569765a7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Aug 22 2007 14:15:14 +0000 Subject: - pkgconfig patch (cflags += -I%_includedir/gc) --- diff --git a/gc-7.0-pkgconfig.patch b/gc-7.0-pkgconfig.patch new file mode 100644 index 0000000..7cbcf14 --- /dev/null +++ b/gc-7.0-pkgconfig.patch @@ -0,0 +1,9 @@ +diff -up gc-7.0/bdw-gc.pc.in.includedir gc-7.0/bdw-gc.pc.in +--- gc-7.0/bdw-gc.pc.in.includedir 2005-10-10 17:33:34.000000000 -0500 ++++ gc-7.0/bdw-gc.pc.in 2007-08-21 16:20:53.000000000 -0500 +@@ -7,4 +7,4 @@ Name: Boehm-Demers-Weiser Conservative G + Description: A garbage collector for C and C++ + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lgc +-Cflags: -I${includedir} ++Cflags: -I${includedir}/gc diff --git a/gc.spec b/gc.spec index 361c048..ca2b3b7 100644 --- a/gc.spec +++ b/gc.spec @@ -3,7 +3,7 @@ Summary: A garbage collector for C and C++ Name: gc Version: 7.0 -Release: 3%{?dist} +Release: 4%{?dist} Group: System Environment/Libraries License: BSD Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/ @@ -11,6 +11,9 @@ Source0: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-%{version}.ta BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: gc-7.0-gcinit.patch +# cflags += %%_includedir/gc +# http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2007-August/001838.html +Patch2: gc-7.0-pkgconfig.patch # rpmforge compatibility Obsoletes: libgc < %{version}-%{release} @@ -36,6 +39,7 @@ Provides: libgc-devel = %{version}-%{release} %setup -q %patch1 -p1 -b .gcinit +%patch2 -p1 -b .pkgconfig %build @@ -94,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 21 2007 Rex Dieter 7.0-4 +- pkgconfig patch (cflags += -I%%_includedir/gc) + * Tue Aug 21 2007 Rex Dieter 7.0-3 - respin (ppc32)