rpms/ghex/devel ghex2-no-as-needed-patch.txt, NONE, 1.1 ghex.spec, 1.30, 1.31

Dodji Seketeli dodji at fedoraproject.org
Tue Feb 9 14:03:28 UTC 2010


Author: dodji

Update of /cvs/pkgs/rpms/ghex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25265

Modified Files:
	ghex.spec 
Added Files:
	ghex2-no-as-needed-patch.txt 
Log Message:
* Tue Feb 09 2010 Dodji Seketeli <dodji at redhat.com> - 2.24.0-5
- Add patch to fix building with --no-as-needed as linker option.





--- NEW FILE ghex2-no-as-needed-patch.txt ---
--- ghex-2.24.0/src/Makefile.in.orig	2010-02-09 13:52:26.298000048 +0100
+++ ghex-2.24.0/src/Makefile.in	2010-02-09 13:52:44.437000108 +0100
@@ -77,7 +77,7 @@
 	gnome-print-font-picker.$(OBJEXT) factory.$(OBJEXT) \
 	hex-dialog.$(OBJEXT)
 ghex2_OBJECTS = $(am_ghex2_OBJECTS)
-ghex2_LDADD = $(LDADD)
+ghex2_LDADD = -lm $(LDADD)
 ghex2_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 	libgtkhex.la
 DEFAULT_INCLUDES = -I. at am__isrc@ -I$(top_builddir)


Index: ghex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghex/devel/ghex.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- ghex.spec	25 Jul 2009 00:06:35 -0000	1.30
+++ ghex.spec	9 Feb 2010 14:03:27 -0000	1.31
@@ -1,6 +1,6 @@
 Name:           ghex
 Version:        2.24.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 
 Summary:        Binary editor for GNOME
 
@@ -8,6 +8,7 @@ Group:          Applications/Editors
 License:        GPLv2+
 URL:            http://ftp.gnome.org/pub/GNOME/sources/ghex/
 Source0:        http://ftp.gnome.org/pub/GNOME/sources/ghex/2.24/ghex-%{version}.tar.bz2
+Patch1:         ghex2-no-as-needed-patch.txt
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libgnomeui-devel
@@ -44,6 +45,7 @@ This package contains a static library a
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure --disable-schemas-install --disable-static
@@ -105,6 +107,9 @@ scrollkeeper-update -q
 
 
 %changelog
+* Tue Feb 09 2010 Dodji Seketeli <dodji at redhat.com> - 2.24.0-5
+- Add patch to fix building with --no-as-needed as linker option.
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.24.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list