Hello community, here is the log from the commit of package gfan for openSUSE:Factory checked in at 2020-09-21 17:42:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gfan (Old) and /work/SRC/openSUSE:Factory/.gfan.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gfan" Mon Sep 21 17:42:00 2020 rev:10 rq:835562 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gfan/gfan.changes 2019-08-27 10:19:18.179947892 +0200 +++ /work/SRC/openSUSE:Factory/.gfan.new.4249/gfan.changes 2020-09-21 17:43:59.628945287 +0200 @@ -1,0 +2,5 @@ +Sat Sep 19 10:05:47 UTC 2020 - Jan Engelhardt <jeng...@inai.de> + +- Add cddlib.patch + +------------------------------------------------------------------- New: ---- cddlib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gfan.spec ++++++ --- /var/tmp/diff_new_pack.Y4OkR4/_old 2020-09-21 17:44:01.432946987 +0200 +++ /var/tmp/diff_new_pack.Y4OkR4/_new 2020-09-21 17:44:01.436946991 +0200 @@ -1,7 +1,7 @@ # # spec file for package gfan # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz Patch1: gfan-automake.diff Patch2: gfan-warnings.diff +Patch3: cddlib.patch BuildRequires: automake BuildRequires: cddlib-devel BuildRequires: gcc-c++ ++++++ cddlib.patch ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2020-09-19 11:39:47.110726857 +0200 To fix the CDDPREFIX yes-or-no conundrum, cddlib 0.94k has introduced new unique locations for use inside <>. Adjust gfan. --- src/app_librarytest.cpp | 9 ++------- src/gfanlib_zcone.cpp | 9 ++------- src/lp_cdd.cpp | 12 +++--------- 3 files changed, 7 insertions(+), 23 deletions(-) Index: gfan0.6.2/src/app_librarytest.cpp =================================================================== --- gfan0.6.2.orig/src/app_librarytest.cpp +++ gfan0.6.2/src/app_librarytest.cpp @@ -8,13 +8,8 @@ #include "gfanapplication.h" #include "gfanlib.h" #include "printer.h" -#ifdef NOCDDPREFIX -#include "setoper.h" -#include "cdd.h" -#else -#include "cdd/setoper.h" -#include "cdd/cdd.h" -#endif +#include <cddlib/setoper.h> +#include <cddlib/cdd.h> #include <iostream> #include <fstream> using namespace gfan; Index: gfan0.6.2/src/gfanlib_zcone.cpp =================================================================== --- gfan0.6.2.orig/src/gfanlib_zcone.cpp +++ gfan0.6.2/src/gfanlib_zcone.cpp @@ -12,13 +12,8 @@ #include <sstream> //extern "C"{ -#ifdef NOCDDPREFIX -#include "setoper.h" -#include "cdd.h" -#else -#include "cdd/setoper.h" -#include "cdd/cdd.h" -#endif +#include <cddlib/setoper.h> +#include <cddlib/cdd.h> //} namespace gfan{ Index: gfan0.6.2/src/lp_cdd.cpp =================================================================== --- gfan0.6.2.orig/src/lp_cdd.cpp +++ gfan0.6.2/src/lp_cdd.cpp @@ -1,14 +1,8 @@ #include "lp_cdd.h" //extern "C"{ -#ifdef NOCDDPREFIX -#include "setoper.h" -#include "cdd.h" -#include "cdd_f.h" -#else -#include "cdd/setoper.h" -#include "cdd/cdd.h" -#include "cdd/cdd_f.h" -#endif +#include <cddlib/setoper.h> +#include <cddlib/cdd.h> +#include <cddlib/cdd_f.h> //} #include "termorder.h" #include "printer.h"