Hello community,

here is the log from the commit of package fltk for openSUSE:Factory checked in 
at 2011-12-27 18:35:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fltk (Old)
 and      /work/SRC/openSUSE:Factory/.fltk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fltk", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fltk/fltk.changes        2011-09-23 
01:57:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fltk.new/fltk.changes   2011-12-27 
18:35:17.000000000 +0100
@@ -1,0 +2,11 @@
+Thu Dec 22 07:52:43 UTC 2011 - [email protected]
+
+- buildrequires automake
+
+-------------------------------------------------------------------
+Wed Dec 21 08:41:22 UTC 2011 - [email protected]
+
+- fixed linking library with as-needed [bnc#736410]
+  * as-needed.patch
+
+-------------------------------------------------------------------

New:
----
  fltk-as-needed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fltk.spec ++++++
--- /var/tmp/diff_new_pack.OMRAhr/_old  2011-12-27 18:35:19.000000000 +0100
+++ /var/tmp/diff_new_pack.OMRAhr/_new  2011-12-27 18:35:19.000000000 +0100
@@ -20,6 +20,7 @@
 Name:           fltk
 License:        LGPL-2.1+
 Group:          Development/Libraries/X11
+# Migrating Code from FLTK 1.1 to 1.3: 
http://www.fltk.org/doc-1.3/migration_1_3.html
 Version:        1.3.0
 Release:        1
 Summary:        Free C++ GUI Toolkit for the X Window System, OpenGL, and WIN32
@@ -28,10 +29,11 @@
 # http://cinepaint.cvs.sourceforge.net/cinepaint/cinepaint-project/fltk/
 Source:         %{name}-%{version}-source.tar.bz2
 Source2:        baselibs.conf
+Patch0:         fltk-as-needed.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       libfltk1 >= %{version}
 
-BuildRequires:  doxygen pkgconfig
+BuildRequires:  automake doxygen pkgconfig
 BuildRequires:  gcc-c++
 
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
@@ -140,9 +142,9 @@
 
 %prep
 %setup -q 
+%patch0 -p1
 
 %build
-%{?suse_update_config:%{suse_update_config}}
 export CFLAGS="%optflags -fno-strict-aliasing"
 export CXXFLAGS="%optflags -fno-strict-aliasing"
 %configure \

++++++ fltk-as-needed.patch ++++++
Index: fltk-1.3.0/src/Makefile
===================================================================
--- fltk-1.3.0.orig/src/Makefile
+++ fltk-1.3.0/src/Makefile
@@ -240,7 +240,7 @@ $(LIBNAME): $(OBJECTS)
 
 libfltk.so.1.3: $(OBJECTS)
        echo $(DSOCOMMAND) $@ ...
-       $(DSOCOMMAND) $@ $(OBJECTS)
+       $(DSOCOMMAND) $@ $(OBJECTS) $(LDLIBS)
        $(RM) libfltk.so
        $(LN) libfltk.so.1.3 libfltk.so
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to