[compat-gdbm] we really need to link against libgdbm

Honza Horak hhorak at fedoraproject.org
Tue Mar 5 10:49:59 UTC 2013


commit 4a2297cc96bfe119a9d6cbe38139b0efcd3fba1f
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Tue Mar 5 11:49:16 2013 +0100

    we really need to link against libgdbm

 compat-gdbm.spec   |    4 ++--
 gdbm-linking.patch |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/compat-gdbm.spec b/compat-gdbm.spec
index 54da2d2..df51051 100644
--- a/compat-gdbm.spec
+++ b/compat-gdbm.spec
@@ -1,7 +1,7 @@
 Summary: A GNU set of database routines compatibility library
 Name: compat-gdbm
 Version: 1.8.3
-Release: 15%{?dist}
+Release: 16%{?dist}
 Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
 # Prevent gdbm from storing uninitialized memory content
 # to database files.
@@ -120,7 +120,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm_compat.la
 %{_includedir}/gdbm*
 
 %changelog
-* Tue Mar  5 2013 Honza Horak <hhorak at redhat.com> - 1.8.3-15
+* Tue Mar  5 2013 Honza Horak <hhorak at redhat.com> - 1.8.3-16
 - Fix building with system libtool
 
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.3-14
diff --git a/gdbm-linking.patch b/gdbm-linking.patch
index d1cb65d..2a28a0f 100644
--- a/gdbm-linking.patch
+++ b/gdbm-linking.patch
@@ -6,7 +6,7 @@ diff -up gdbm-1.8.3/Makefile.in.debug gdbm-1.8.3/Makefile.in
  	rm -f libgdbm_compat.la
  	$(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \
 -		-version-info $(SHLIB_VER) $(C_LOBJS) -lgdbm
-+		-version-info $(SHLIB_VER) $(C_LOBJS)
++		-version-info $(SHLIB_VER) $(C_LOBJS) -lgdbm -I.
  
  gdbm.h:	gdbm.proto gdbmerrno.h gdbm.proto2
  	rm -f gdbm.h


More information about the scm-commits mailing list