Hello community,

here is the log from the commit of package scilab for openSUSE:Factory checked 
in at 2015-08-19 09:29:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scilab (Old)
 and      /work/SRC/openSUSE:Factory/.scilab.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scilab"

Changes:
--------
--- /work/SRC/openSUSE:Factory/scilab/scilab.changes    2015-05-27 
12:53:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.scilab.new/scilab.changes       2015-08-19 
09:29:17.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jul 26 11:46:46 UTC 2015 - [email protected]
+
+- Add scilab-disable-debian-specific-cflags.patch to disable
+  cflags meant excl. for Debian.
+
+-------------------------------------------------------------------

New:
----
  scilab-disable-debian-specific-cflags.patch

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

Other differences:
------------------
++++++ scilab.spec ++++++
--- /var/tmp/diff_new_pack.UVKCEc/_old  2015-08-19 09:29:20.000000000 +0200
+++ /var/tmp/diff_new_pack.UVKCEc/_new  2015-08-19 09:29:20.000000000 +0200
@@ -48,6 +48,8 @@
 Patch7:         %{name}-0003-fix-desktop-categories.patch
 # PATCH-FIX-UPSTREAM scilab-build-with-jogl-gluegen-2.3.patch 
[email protected] -- Make scilab build with jogl and gluegen >= 2.3.0
 Patch8:         scilab-build-with-jogl-2.3.patch
+# PATCH-FIX-UPSTREAM scilab-disable-debian-specific-cflags.patch 
[email protected] -- Disable cflags meant excl. for Debian
+Patch9:         scilab-disable-debian-specific-cflags.patch
 # Dependencies are extracted from :
 # "http://wiki.scilab.org/Dependencies of Scilab 5.X"
 # Mandatory
@@ -278,6 +280,7 @@
 %endif
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 # Fix Class-Path in manifest
 sed -i '/name="Class-Path"/d' build.incl.xml

++++++ scilab-disable-debian-specific-cflags.patch ++++++
>From 9c245277d95bc541bcee16c76e9aa11051a51e8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20DAVID?=
 <[email protected]>
Date: Wed, 20 May 2015 10:14:09 +0200
Subject: [PATCH] Configure: disable Ubuntu/Debian specific flags

These flags were used to avoid dependency on a recent glibc and thus
allow the binary release to run on older systems than the compilation
chain.

As the compilation chain now use the older system where a Scilab runs
such quirks are no more needed. Let distribution packagers perform their
own choices !

Change-Id: I15683378286ec2439483aafb838ca8c7996ea6cf
---
 scilab/configure    | 11 -----------
 scilab/configure.ac | 11 -----------
 2 files changed, 22 deletions(-)

--- a/configure
+++ b/configure
@@ -9850,7 +9850,6 @@ case "$CXX" in
         else
             DEBUG_CXXFLAGS="-DNDEBUG"
         fi
-        COMPILER_CXXFLAGS="-fno-stack-protector " # bug 3131
     ;;
 
 esac
@@ -9890,16 +9889,6 @@ case "$CC" in
       DEBUG_CFLAGS="-DNDEBUG"
    fi
 
-   COMPILER_CFLAGS="-fno-stack-protector " # bug 3131
-   # Explictly disable the as needed. It was disable by default but Ubuntu
-   # activated it by default since release 11.04. See bug #8961.
-   # Once all cyclic dependencies have been dropped, this line could be 
removed.
-   # Check if linker supports --as-needed and --no-as-needed options
-   if $LD --help 2>/dev/null | grep no-as-needed > /dev/null; then
-      LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
-   fi
-
-
    case "$host" in
      x86_64-*-linux-gnu | x86_64-linux-gnu)
         ARCH_CFLAGS="-m64"
--- a/configure.ac
+++ b/configure.ac
@@ -545,7 +545,6 @@ case "$CXX" in
         else
             DEBUG_CXXFLAGS="-DNDEBUG"
         fi
-        COMPILER_CXXFLAGS="-fno-stack-protector " # bug 3131
     ;;
 
 esac
@@ -585,16 +584,6 @@ case "$CC" in
       DEBUG_CFLAGS="-DNDEBUG"
    fi
 
-   COMPILER_CFLAGS="-fno-stack-protector " # bug 3131
-   # Explictly disable the as needed. It was disable by default but Ubuntu
-   # activated it by default since release 11.04. See bug #8961.
-   # Once all cyclic dependencies have been dropped, this line could be 
removed.
-   # Check if linker supports --as-needed and --no-as-needed options
-   if $LD --help 2>/dev/null | grep no-as-needed > /dev/null; then
-      LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
-   fi
-
-
    case "$host" in
      x86_64-*-linux-gnu | x86_64-linux-gnu)
         ARCH_CFLAGS="-m64"

Reply via email to