- pkgconfig patch (cflags += -I%_includedir/gc)
This commit is contained in:
parent
64807ff765
commit
8df406ac6c
9
gc-7.0-pkgconfig.patch
Normal file
9
gc-7.0-pkgconfig.patch
Normal file
@ -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
|
9
gc.spec
9
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 <rdieter[AT]fedoraproject.org> 7.0-4
|
||||
- pkgconfig patch (cflags += -I%%_includedir/gc)
|
||||
|
||||
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-3
|
||||
- respin (ppc32)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user