Hello community,

here is the log from the commit of package qucs for openSUSE:Factory checked in 
at 2015-08-12 15:14:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qucs (Old)
 and      /work/SRC/openSUSE:Factory/.qucs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qucs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/qucs/qucs.changes        2014-11-10 
17:27:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qucs.new/qucs.changes   2015-08-12 
15:14:29.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 11 15:58:57 UTC 2015 - norm...@linux.vnet.ibm.com
+
+- for ppc64le archi add a new patch to avoid build error.
+  qucs_powerpc_gcc_undef_vector.patch
+
+-------------------------------------------------------------------

New:
----
  qucs_powerpc_gcc_undef_vector.patch

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

Other differences:
------------------
++++++ qucs.spec ++++++
--- /var/tmp/diff_new_pack.b4Fxyy/_old  2015-08-12 15:14:30.000000000 +0200
+++ /var/tmp/diff_new_pack.b4Fxyy/_new  2015-08-12 15:14:30.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qucs
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Patch1:         qucs-digisim-verilog.patch
 # PATCH-FIX-UPSTREAM qucs-no-return-in-nonvoid-function.patch
 Patch2:         qucs-no-return-in-nonvoid-function.patch
+Patch3:         qucs_powerpc_gcc_undef_vector.patch
 BuildRequires:  bison
 BuildRequires:  fdupes
 BuildRequires:  flex
@@ -79,6 +80,9 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%ifarch ppc64le
+%patch3 -p1
+%endif
 
 cp %{SOURCE1} .
 cp %{SOURCE2} .


++++++ qucs_powerpc_gcc_undef_vector.patch ++++++
From: Michel Normand <norm...@linux.vnet.ibm.com>
Subject: qucs powerpc gcc undef vector
Date: Tue, 11 Aug 2015 14:24:52 +0200

qucs powerpc gcc undef vector
Required to avoid build error like:
===
[  475s] evaluate.cpp: In static member function 'static qucs::eqn::constant* 
qucs::eqn::evaluate::noise_circle_d_v(qucs::eqn::constant*)':
[  475s] evaluate.cpp:2826:18: error: expected unqualified-id before '=' token
[  475s]    qucs::vector R = sqrt (N * N + N * (1 - norm (*Sopt))) / (1 + N);
[  475s]                   ^
===

Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 qucs-core/src/Makefile.am  |    2 +-
 qucs-core/src/Makefile.in  |    2 +-

Index: qucs-0.0.18/qucs-core/src/Makefile.am
===================================================================
--- qucs-0.0.18.orig/qucs-core/src/Makefile.am
+++ qucs-0.0.18/qucs-core/src/Makefile.am
@@ -30,7 +30,7 @@ EXTRA_DIST = parse_netlist.y scan_netlis
 SUBDIRS = math components interface . converter
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/math -I$(top_srcdir)/src/components \
-       -I$(top_srcdir)/src/interface -I$(builddir)
+       -I$(top_srcdir)/src/interface -I$(builddir) -Uvector
 
 lib_LTLIBRARIES = libqucs.la
 
Index: qucs-0.0.18/qucs-core/src/Makefile.in
===================================================================
--- qucs-0.0.18.orig/qucs-core/src/Makefile.in
+++ qucs-0.0.18/qucs-core/src/Makefile.in
@@ -456,7 +456,7 @@ EXTRA_DIST = parse_netlist.y scan_netlis
 
 SUBDIRS = math components interface . converter
 AM_CPPFLAGS = -I$(top_srcdir)/src/math -I$(top_srcdir)/src/components \
-       -I$(top_srcdir)/src/interface -I$(builddir)
+       -I$(top_srcdir)/src/interface -I$(builddir) -Uvector
 
 lib_LTLIBRARIES = libqucs.la
 libqucs_la_LIBADD = math/libqucsmath.la   \

Reply via email to