rpms/grisbi/devel grisbi-dso.patch,NONE,1.1 grisbi.spec,1.23,1.24

Aurelien Bompard abompard at fedoraproject.org
Wed May 5 20:39:56 UTC 2010


Author: abompard

Update of /cvs/pkgs/rpms/grisbi/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5963/devel

Modified Files:
	grisbi.spec 
Added Files:
	grisbi-dso.patch 
Log Message:
* Wed May 05 2010 Aurelien Bompard <abompard at fedoraproject.org> -  0.5.9-11
- Fix build without ld's implicit linking
  (http://fedoraproject.org/wiki/UnderstandingDSOLinkChange)


grisbi-dso.patch:
 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE grisbi-dso.patch ---
diff -up ./configure.in.implicit ./configure.in
--- ./configure.in.implicit	2010-05-05 09:22:03.771470768 +0200
+++ ./configure.in	2010-05-05 09:22:42.459497327 +0200
@@ -51,7 +51,7 @@ AM_CONDITIONAL(NOOFX, test x$noofx = xtr
 AC_SUBST(prefix)
 
 PKG_CHECK_MODULES(GRISBI, gtk+-2.0 >= 2.2.0 glib-2.0 libxml-2.0 >= 2.0)
-LDFLAGS="${LDFLAGS} ${GRISBI_LIBS}"
+LDFLAGS="${LDFLAGS} ${GRISBI_LIBS} -lm"
 CFLAGS="${CFLAGS} ${GRISBI_CFLAGS}"
 
 


Index: grisbi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/grisbi/devel/grisbi.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- grisbi.spec	25 Jul 2009 01:29:40 -0000	1.23
+++ grisbi.spec	5 May 2010 20:39:56 -0000	1.24
@@ -1,7 +1,7 @@
 %define GRISBI_HELP_DIR %{_datadir}/doc/%{name}/help
 Name:		grisbi
 Version:	0.5.9
-Release:	10%{?dist}
+Release:	11%{?dist}
 Summary:	Personal finances manager
 
 Group:		Applications/Productivity
@@ -11,10 +11,14 @@ Source0:	http://dl.sf.net/grisbi/%{name}
 Source1:	%{name}.desktop
 Patch0:		grisbi-0.5.9-xdgopen.patch
 Patch1:     grisbi-0.5.9-check.g_free.patch
+Patch2:     grisbi-dso.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel, libxml2-devel, glib2-devel, gettext
 BuildRequires:	desktop-file-utils, libofx-devel >= 0.7.0
+# Only as long as we have to run autogen.sh
+BuildRequires:  gettext-devel
+
 Requires:	xdg-utils
 # for report generation
 Requires:	texlive-texmf-latex, texlive-dvips
@@ -35,6 +39,8 @@ party, nice and easy user interface, use
 %setup -q
 %patch0 -p0 -b .xdgopen
 %patch1 -p1 -b .check-g_free
+%patch2 -p0 -b .dso
+./autogen.sh
 
 %build
 %configure
@@ -114,6 +120,10 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %{_datadir}/doc/%{name}/help/fr/grisbi-manuel.html
 
 %changelog
+* Wed May 05 2010 Aurelien Bompard <abompard at fedoraproject.org> -  0.5.9-11
+- Fix build without ld's implicit linking
+  (http://fedoraproject.org/wiki/UnderstandingDSOLinkChange)
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.9-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list