Hello community, here is the log from the commit of package cxref for openSUSE:Factory checked in at 2017-09-12 19:53:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cxref (Old) and /work/SRC/openSUSE:Factory/.cxref.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cxref" Tue Sep 12 19:53:29 2017 rev:2 rq:521895 version:1.6e Changes: -------- --- /work/SRC/openSUSE:Factory/cxref/cxref.changes 2015-05-28 09:54:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cxref.new/cxref.changes 2017-09-12 19:53:34.738397033 +0200 @@ -1,0 +2,11 @@ +Thu Sep 7 08:43:58 CEST 2017 - p...@suse.de + +- Add cxref-new_float_types.patch from upstream to add new float types. + +------------------------------------------------------------------- +Wed Sep 6 10:23:06 CEST 2017 - p...@suse.de + +- Add allow_redirect_of_cxref_cpp_configure_output_in_postinst.patch from + Debian. + +------------------------------------------------------------------- New: ---- allow_redirect_of_cxref_cpp_configure_output_in_postinst.patch cxref-new_float_types.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cxref.spec ++++++ --- /var/tmp/diff_new_pack.PzzuGI/_old 2017-09-12 19:53:35.442298062 +0200 +++ /var/tmp/diff_new_pack.PzzuGI/_new 2017-09-12 19:53:35.442298062 +0200 @@ -1,7 +1,7 @@ # # spec file for package cxref # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 by Philipp Thomas <p...@suse.de> # # All modifications and additions to the file contributed by third parties @@ -27,6 +27,8 @@ Source0: http://www.gedanken.org.uk/software/cxref/download/%{name}-%{version}.tgz Source1: http://www.gedanken.org.uk/software/cxref/download/%{name}-%{version}.tgz.asc Source2: %{name}.keyring +Patch0: allow_redirect_of_cxref_cpp_configure_output_in_postinst.patch +Patch1: cxref-new_float_types.patch BuildRequires: bison BuildRequires: flex BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -82,8 +84,11 @@ %prep %setup -q +%patch0 -p1 +%patch1 %build +export CFLAGS="%{optflags}" %configure make %{?_smp_mflags} make %{?_smp_mflags} docs ++++++ allow_redirect_of_cxref_cpp_configure_output_in_postinst.patch ++++++ Description: <short summary of the patch> TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . cxref (1.6d-4) unstable; urgency=high . * Bug fix: "modifies conffiles (policy 10.7.3): /etc/cxref/config", thanks to Andreas Beckmann (Closes: #688562). Provide default cxref-cpp.defines Author: Camm Maguire <c...@debian.org> Bug-Debian: http://bugs.debian.org/688562 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: <vendor|upstream|other>, <url of original patch> Bug: <url in upstream bugtracker> Bug-Debian: http://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> Last-Update: <YYYY-MM-DD> --- cxref-1.6d.orig/cpp/cxref-cpp-configure.in +++ cxref-1.6d/cpp/cxref-cpp-configure.in @@ -24,6 +24,10 @@ prefix="@prefix@" datarootdir="@datarootdir@" cxref_cpp_defines="@datadir@/cxref/cxref-cpp.defines" +if test "$CXREF_DEFINE_DIR" != "" ; then + cxref_cpp_defines="$CXREF_DEFINE_DIR/cxref-cpp.defines" +fi + # Chose the C compiler and output file to use if not specified. # (Defaults to compiler found by configure script). ++++++ cxref-new_float_types.patch ++++++ >From a...@gedanken.org.uk Wed Sep 6 19:22:09 2017 From: "Andrew M. Bishop" <a...@gedanken.org.uk> To: Philipp Thomas <p...@suse.de> Subject: Re: cxref and __Float128 Looking at https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html it seems that there are a few new floating point options. The patch needs to modify more than one file so I thought it easier to offer you a patch to test (I don't have glibc 2.26) than to try to make up a test case myself. --- src/parse.l (revision 661) +++ src/parse.l (working copy) @@ -319,6 +319,12 @@ "_Complex" { } "_Bool" { yylval="_Bool"; return(BOOL); } + /* ISO/IEC TS 18661-3:2015 */ + +"_Float128" { yylval="_Float128"; return(FLOAT_EXTENSION); } +"_Float80" { yylval="_Float80" ; return(FLOAT_EXTENSION); } +"_Float64x" { yylval="_Float64x"; return(FLOAT_EXTENSION); } + /* C language keywords. */ "auto" { yylval="auto" ; return(AUTO); } --- src/parse.y (revision 661) +++ src/parse.y (working copy) @@ -152,7 +152,7 @@ %token LEFT_SHIFT RIGHT_SHIFT %token SIZEOF %token TYPEDEF EXTERN STATIC AUTO REGISTER CONST VOLATILE VOID INLINE -%token CHAR SHORT INT LONG SIGNED UNSIGNED FLOAT DOUBLE BOOL +%token CHAR SHORT INT LONG SIGNED UNSIGNED FLOAT DOUBLE BOOL FLOAT_EXTENSION %token STRUCT UNION ENUM %token CASE DEFAULT IF ELSE SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN %token ASM @@ -448,6 +448,7 @@ floating_type_specifier : FLOAT | DOUBLE + | FLOAT_EXTENSION | DOUBLE LONG { $$=ConcatStrings(3,$1," ",$2); } | LONG DOUBLE @@ -1424,7 +1425,7 @@ last_yyl==GOTO || last_yyl==CHAR || last_yyl==SHORT || last_yyl==INT || last_yyl==LONG || last_yyl==SIGNED || last_yyl==UNSIGNED || - last_yyl==FLOAT || last_yyl==DOUBLE || + last_yyl==FLOAT || last_yyl==DOUBLE || last_yyl==FLOAT_EXTENSION || last_yyl==BOOL) yyl=IDENTIFIER;