Hello community,

here is the log from the commit of package eclipse for openSUSE:Factory checked 
in at 2020-07-17 20:49:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/eclipse (Old)
 and      /work/SRC/openSUSE:Factory/.eclipse.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "eclipse"

Fri Jul 17 20:49:58 2020 rev:13 rq:821377 version:4.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/eclipse/eclipse.changes  2020-07-16 
12:15:15.834771272 +0200
+++ /work/SRC/openSUSE:Factory/.eclipse.new.3592/eclipse.changes        
2020-07-17 20:50:38.212906944 +0200
@@ -1,0 +2,8 @@
+Thu Jul 16 23:57:01 UTC 2020 - Fridrich Strba <fst...@suse.com>
+
+- Added patch:
+  * eclipse-libkeystorelinuxnative.patch
+    + Fix unresolved symbols when trying to load
+      libkeystorelinuxnative.so on platforms that have it
+
+-------------------------------------------------------------------

New:
----
  eclipse-libkeystorelinuxnative.patch

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

Other differences:
------------------
++++++ eclipse.spec ++++++
--- /var/tmp/diff_new_pack.R4D8pY/_old  2020-07-17 20:50:40.988909839 +0200
+++ /var/tmp/diff_new_pack.R4D8pY/_new  2020-07-17 20:50:40.992909844 +0200
@@ -114,6 +114,7 @@
 Patch31:        eclipse-suse-batik.patch
 # Fix build on ppc64 big endian
 Patch33:        eclipse-ppc64.patch
+Patch34:        eclipse-libkeystorelinuxnative.patch
 BuildRequires:  ant >= 1.10.5
 BuildRequires:  ant-antlr
 BuildRequires:  ant-apache-bcel
@@ -503,6 +504,7 @@
 
 %patch31 -p1
 %patch33 -p1
+%patch34 -p1
 
 # Optional (unused) multipart support (see patch 25)
 rm 
rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/multipart/MultipartSupport{Impl,FactoryImpl,Part}.java

++++++ eclipse-libkeystorelinuxnative.patch ++++++
--- 
eclipse-platform-sources-I20180906-0745/rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c
      2020-06-04 09:40:51.525778305 +0200
+++ 
eclipse-platform-sources-I20180906-0745/rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/keystoreLinuxNative.c
      2020-07-17 00:04:15.481020726 +0200
@@ -17,6 +17,7 @@
 #include <sys/types.h>
 #include <stdlib.h>
 #include <string.h>
+#include <gio/gio.h>
 
 const SecretSchema *
 equinox_get_schema (void)
--- 
eclipse-platform-sources-I20180906-0745/rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile
   2020-07-17 00:17:39.178284379 +0200
+++ 
eclipse-platform-sources-I20180906-0745/rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile
   2020-07-17 00:47:40.882104621 +0200
@@ -2,7 +2,7 @@
 LIBSECRET_LIBS = `pkg-config --libs libsecret-1`
 
 CFLAGS := $(CFLAGS) -fPIC -I"${JAVA_HOME}/include" 
-I"${JAVA_HOME}/include/linux" $(LIBSECRET_CFLAGS)
-LDFLAGS := $(LDFLAGS) -shared $(LIBSECRET_LIBS)
+LDFLAGS := $(LDFLAGS) $(LIBSECRET_LIBS)
 
 all: ../libkeystorelinuxnative.so
 
@@ -10,7 +10,7 @@
        rm ../libkeystorelinuxnative.so ../target/keystoreLinuxNative.o
 
 ../libkeystorelinuxnative.so: ../target/keystoreLinuxNative.o
-       $(CC) $(LDFLAGS) -o $@ $<
+       $(CC) -shared -o $@ $< $(LDFLAGS) -Wl,--no-undefined -Wl,--as-needed
 
 ../target/keystoreLinuxNative.o: ../target keystoreLinuxNative.c
        $(CC) -c $(CFLAGS) -o $@ $(TESTFLAGS) keystoreLinuxNative.c

Reply via email to