Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package duktape for openSUSE:Factory checked 
in at 2022-12-04 14:57:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/duktape (Old)
 and      /work/SRC/openSUSE:Factory/.duktape.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "duktape"

Sun Dec  4 14:57:54 2022 rev:9 rq:1039751 version:2.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/duktape/duktape.changes  2020-11-02 
09:42:42.921743611 +0100
+++ /work/SRC/openSUSE:Factory/.duktape.new.1835/duktape.changes        
2022-12-04 14:58:04.584174184 +0100
@@ -1,0 +2,6 @@
+Mon Nov 28 10:47:19 UTC 2022 - Marcus Meissner <meiss...@suse.com>
+
+- duktape-link-m.patch: link against libm for sin() and related functions,
+  in case the compiler with -Os creates external references. bsc#1205805
+
+-------------------------------------------------------------------

New:
----
  duktape-link-m.patch

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

Other differences:
------------------
++++++ duktape.spec ++++++
--- /var/tmp/diff_new_pack.OocWLa/_old  2022-12-04 14:58:04.972176419 +0100
+++ /var/tmp/diff_new_pack.OocWLa/_new  2022-12-04 14:58:04.976176442 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package duktape
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 URL:            https://duktape.org/
 Source0:        https://duktape.org/%{name}-%{version}.tar.xz
 Source1:        duktape.pc.in
+Patch0:         duktape-link-m.patch
 BuildRequires:  gcc
 BuildRequires:  pkgconfig
 
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 sed -e's|@prefix@|%{_prefix}|' \
     -e's|@libdir@|%{_lib}|' \

++++++ duktape-link-m.patch ++++++
Index: duktape-2.6.0/Makefile.sharedlibrary
===================================================================
--- duktape-2.6.0.orig/Makefile.sharedlibrary
+++ duktape-2.6.0/Makefile.sharedlibrary
@@ -63,11 +63,11 @@ all: libduktape.$(SO_REALNAME_SUFFIX) li
 
 libduktape.$(SO_REALNAME_SUFFIX):
        $(CC) -shared -fPIC -Wall -Wextra -Os 
-Wl,$(LD_SONAME_ARG),libduktape.$(SO_SONAME_SUFFIX) \
-               -o $@ $(DUKTAPE_SRCDIR)/duktape.c
+               -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm
 
 libduktaped.$(SO_REALNAME_SUFFIX):
        $(CC) -shared -fPIC -g -Wall -Wextra -Os 
-Wl,$(LD_SONAME_ARG),libduktaped.$(SO_SONAME_SUFFIX) \
-               -o $@ $(DUKTAPE_SRCDIR)/duktape.c
+               -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm
 
 # Symlinks depend on platform conventions.
 .PHONY: install

Reply via email to