rpms/GtkAda/devel GtkAda-2.14.0-lm.patch, NONE, 1.1 GtkAda.spec, 1.33, 1.34

Björn Persson rombobeorn at fedoraproject.org
Sun Feb 14 17:12:51 UTC 2010


Author: rombobeorn

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

Modified Files:
	GtkAda.spec 
Added Files:
	GtkAda-2.14.0-lm.patch 
Log Message:
Link testgtk to libm explicitly (#564610).

GtkAda-2.14.0-lm.patch:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE GtkAda-2.14.0-lm.patch ---
--- testgtk/Makefile.in~	2010-02-14 02:31:31.000000000 +0100
+++ testgtk/Makefile.in	2010-02-14 02:31:31.000000000 +0100
@@ -24,7 +24,7 @@
 
 ifeq ($(HAVE_OPENGL),True)
 OPENGL_C_OBJECTS=lw.o
-OPENGL_LIBS= @GL_LIBS@
+OPENGL_LIBS= @GL_LIBS@ -lm
 else
 OPENGL_C_OBJECTS=
 OPENGL_LIBS=


Index: GtkAda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/GtkAda/devel/GtkAda.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- GtkAda.spec	30 Nov 2009 20:50:17 -0000	1.33
+++ GtkAda.spec	14 Feb 2010 17:12:51 -0000	1.34
@@ -1,6 +1,6 @@
 Name:           GtkAda
 Version:        2.14.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Ada graphical toolkit based on Gtk+
 Group:          System Environment/Libraries
 License:        GPLv2+
@@ -12,6 +12,8 @@ Patch0:         GtkAda-gtk217.patch
 Patch1:         GtkAda-2.14.0-multilib_gpr.patch
 # Patch to make gtkada-config use uname:
 Patch2:         GtkAda-2.14.0-multilib_gtkada-config.patch
+# Patch to fix implicit DSO linking:
+Patch3:         GtkAda-2.14.0-lm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gcc-gnat
 BuildRequires:  libgnat
@@ -92,6 +94,7 @@ Documentation for GtkAda.
 %patch0 -p1 -b .gtk217
 %patch1
 %patch2
+%patch3
 # Replace "/usr/lib" with the appropriate architecture-specific directory, but
 # make an exception for "/usr/lib/gnat". Keep "$(prefix)" so that makeinstall
 # can insert the buildroot.
@@ -197,6 +200,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb 14 2010 Björn Persson <bjorn at rombobjörn.se> - 2.14.0-4
+- Link testgtk to libm explicitly.
+
 * Mon Nov 30 2009 Björn Persson <bjorn at rombobjörn.se> - 2.14.0-3
 - Enabled debug information.
 



More information about the scm-commits mailing list