commit creduce for openSUSE:Factory

2020-06-02 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2020-06-02 14:38:13

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.3606 (New)


Package is "creduce"

Tue Jun  2 14:38:13 2020 rev:24 rq:810370 version:2.10.0+git.20200420.d83cbda

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2020-04-22 
20:57:37.935939646 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.3606/creduce.changes
2020-06-02 14:38:59.851589367 +0200
@@ -1,0 +2,10 @@
+Sat May 30 14:12:38 UTC 2020 - Martin Liška 
+
+- Use LLVM 10.
+
+---
+Sat May 30 13:45:59 UTC 2020 - Martin Liška 
+
+- Update Requires for the package.
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.Jp8hWP/_old  2020-06-02 14:39:00.679591984 +0200
+++ /var/tmp/diff_new_pack.Jp8hWP/_new  2020-06-02 14:39:00.679591984 +0200
@@ -29,12 +29,12 @@
 Patch3: port-to-llvm10.patch
 Patch4: std-cpp14.patch
 BuildRequires:  astyle
-BuildRequires:  clang9-devel
+BuildRequires:  clang10-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  indent
-BuildRequires:  llvm9-devel
+BuildRequires:  llvm10-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -43,10 +43,10 @@
 BuildRequires:  perl-Regexp-Common
 BuildRequires:  perl-Term-ReadKey
 Requires:   astyle
-Requires:   clang9-devel
+Requires:   clang10
 Requires:   delta
 Requires:   indent
-Requires:   llvm9-devel
+Requires:   llvm10
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which




commit creduce for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2020-04-22 20:57:36

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.2738 (New)


Package is "creduce"

Wed Apr 22 20:57:36 2020 rev:23 rq:796230 version:2.10.0+git.20200420.d83cbda

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2020-04-13 
12:53:30.648653978 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.2738/creduce.changes
2020-04-22 20:57:37.935939646 +0200
@@ -1,0 +2,21 @@
+Wed Apr 22 08:20:25 UTC 2020 - mli...@suse.cz
+
+- Update to version 2.10.0+git.20200420.d83cbda:
+  * fixed an issue of infinitely looking-up function decls
+  * added several tests for remove-unused-function
+  * Fixed issues for replacing decls with macro expansions
+  * Do `apt-key add` before adding the `apt.llvm.org` repository.
+  * Include newly added test in distribution tarball.
+  * skip AutoType for reduce-pointer-level at the moment
+  * workaround to skip invalid locations
+  * remove an assert that was too conservative
+  * handle an initializer of CXXOperatorCallExpr
+  * generate auto decl for callee expr with auto type
+
+---
+Wed Apr 22 08:17:53 UTC 2020 - Martin Liška 
+
+- Move back to configure and make.
+- Remove not needed install-location.patch.
+
+---

Old:

  creduce-2.10.0+git.20191010.8a67e69.tar.xz
  install-location.patch

New:

  creduce-2.10.0+git.20200420.d83cbda.tar.xz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.XcDQV3/_old  2020-04-22 20:57:38.635941039 +0200
+++ /var/tmp/diff_new_pack.XcDQV3/_new  2020-04-22 20:57:38.639941047 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.10.0+git.20191010.8a67e69
+Version:2.10.0+git.20200420.d83cbda
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
@@ -25,13 +25,11 @@
 URL:https://github.com/csmith-project/creduce
 Source: %{name}-%{version}.tar.xz
 Patch0: llvm9-libs-fix.patch
-Patch1: install-location.patch
 Patch2: binary-search-location.patch
 Patch3: port-to-llvm10.patch
 Patch4: std-cpp14.patch
 BuildRequires:  astyle
 BuildRequires:  clang9-devel
-BuildRequires:  cmake
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
@@ -70,22 +68,21 @@
 %autopatch -p1
 
 %build
-%cmake
+%configure
 %make_build
 
 %install
-cd build
 %make_install
 
-rm %{buildroot}/usr/libexec/topformflat
-rm %{buildroot}/usr/libexec/unifdef
+rm %{buildroot}%{_libexecdir}/topformflat
+rm %{buildroot}%{_libexecdir}/unifdef
 
 %files
 %license COPYING
 %{_bindir}/creduce
-%{_bindir}/clang_delta
-%{_bindir}/clex
-%{_bindir}/strlex
+%{_libexecdir}/clang_delta
+%{_libexecdir}/clex
+%{_libexecdir}/strlex
 %{_datadir}/creduce
 
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.XcDQV3/_old  2020-04-22 20:57:38.691941151 +0200
+++ /var/tmp/diff_new_pack.XcDQV3/_new  2020-04-22 20:57:38.691941151 +0200
@@ -5,7 +5,6 @@
 enable
 creduce
 2.10.0+git.%cd.%h
-8a67e69c49ef123a1c0a4898ac259249411a01dd
   
   
 *.tar

++ binary-search-location.patch ++
--- /var/tmp/diff_new_pack.XcDQV3/_old  2020-04-22 20:57:38.699941166 +0200
+++ /var/tmp/diff_new_pack.XcDQV3/_new  2020-04-22 20:57:38.703941174 +0200
@@ -11,45 +11,6 @@
  };
  
  our @EXPORT = qw();
-diff --git a/creduce/pass_clang.pm b/creduce/pass_clang.pm
-index 3bd8314..3b8085b 100644
 a/creduce/pass_clang.pm
-+++ b/creduce/pass_clang.pm
-@@ -35,7 +35,7 @@ sub check_prereqs () {
- if ((defined $abs_bindir) && ($FindBin::RealBin eq $abs_bindir)) {
-   # This script is in the installation directory.
-   # Use the installed `clang_delta'.
--  $path = libexecdir . "/clang_delta";
-+  $path = $abs_bindir . "/clang_delta";
- } else {
-   # Assume that this script is in the C-Reduce build tree.
-   # Use the `clang_delta' that is also in the build tree.
-diff --git a/creduce/pass_clang_binsrch.pm b/creduce/pass_clang_binsrch.pm
-index 7470d51..b079214 100644
 a/creduce/pass_clang_binsrch.pm
-+++ b/creduce/pass_clang_binsrch.pm
-@@ -47,7 +47,7 @@ sub check_prereqs () {
- if ((defined $abs_bindir) && ($FindBin::RealBin eq $abs_bindir)) {
-   # This script is in the installation directory.
-   # Use the installed `clang_delta'.
--  $path = libexecdir . "/clang_delta";
-+  $path = $abs_bindir . "/clang_delta";
- } else {
-   # Assume that this script is in the C-Reduce build tree.
-   # Use the 

commit creduce for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2020-04-13 12:53:29

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.3248 (New)


Package is "creduce"

Mon Apr 13 12:53:29 2020 rev:22 rq:793392 version:2.10.0+git.20191010.8a67e69

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2020-04-11 
23:47:35.895137276 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.3248/creduce.changes
2020-04-13 12:53:30.648653978 +0200
@@ -1,0 +2,11 @@
+Sun Apr 12 10:44:12 UTC 2020 - Martin Liška 
+
+- Revert to LLVM 9 due to:
+  https://github.com/csmith-project/creduce/issues/210
+
+---
+Sun Apr 12 07:08:57 UTC 2020 - Martin Liška 
+
+- Add port-to-llvm10.patch and std-cpp14.patch to use LLVM10.
+
+---

New:

  port-to-llvm10.patch
  std-cpp14.patch



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.6kecDz/_old  2020-04-13 12:53:31.468654335 +0200
+++ /var/tmp/diff_new_pack.6kecDz/_new  2020-04-13 12:53:31.472654338 +0200
@@ -27,6 +27,8 @@
 Patch0: llvm9-libs-fix.patch
 Patch1: install-location.patch
 Patch2: binary-search-location.patch
+Patch3: port-to-llvm10.patch
+Patch4: std-cpp14.patch
 BuildRequires:  astyle
 BuildRequires:  clang9-devel
 BuildRequires:  cmake

++ port-to-llvm10.patch ++
>From 37a8db44d97029e95f3ab9a728d23053eb82c1cd Mon Sep 17 00:00:00 2001
From: Bernhard Rosenkraenzer 
Date: Thu, 6 Feb 2020 15:02:35 +0100
Subject: [PATCH] Port to LLVM 10.0

---
 clang_delta/TransformationManager.cpp | 27 +--
 1 file changed, 25 insertions(+), 2 deletions(-)

diff --git a/clang_delta/TransformationManager.cpp 
b/clang_delta/TransformationManager.cpp
index ca2f2b48..acf82837 100644
--- a/clang_delta/TransformationManager.cpp
+++ b/clang_delta/TransformationManager.cpp
@@ -16,6 +16,7 @@
 
 #include 
 
+#include "clang/Basic/Builtins.h"
 #include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Lex/Preprocessor.h"
@@ -101,6 +102,7 @@ bool 
TransformationManager::initializeCompilerInstance(std::string )
   CompilerInvocation  = ClangInstance->getInvocation();
   InputKind IK = FrontendOptions::getInputKindForExtension(
 StringRef(SrcFileName).rsplit('.').second);
+#if LLVM_VERSION_MAJOR < 10
   if (IK.getLanguage() == InputKind::C) {
 Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::C, T, 
PPOpts);
   }
@@ -111,6 +113,18 @@ bool 
TransformationManager::initializeCompilerInstance(std::string )
 Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::CXX, 
T, PPOpts);
   }
   else if(IK.getLanguage() == InputKind::OpenCL) {
+#else
+  if (IK.getLanguage() == Language::C) {
+Invocation.setLangDefaults(ClangInstance->getLangOpts(), 
InputKind(Language::C), T, PPOpts);
+  }
+  else if (IK.getLanguage() == Language::CXX) {
+// ISSUE: it might cause some problems when building AST
+// for a function which has a non-declared callee, e.g.,
+// It results an empty AST for the caller.
+Invocation.setLangDefaults(ClangInstance->getLangOpts(), 
InputKind(Language::CXX), T, PPOpts);
+  }
+  else if(IK.getLanguage() == Language::OpenCL) {
+#endif
 //Commandline parameters
 std::vector Args;
 Args.push_back("-x");
@@ -122,7 +136,7 @@ bool 
TransformationManager::initializeCompilerInstance(std::string )
 ClangInstance->createFileManager();
 
 if(CLCPath != NULL && ClangInstance->hasFileManager() &&
-   ClangInstance->getFileManager().getDirectory(CLCPath, false) != NULL) {
+   ClangInstance->getFileManager().getDirectory(CLCPath, false)) {
 Args.push_back("-I");
 Args.push_back(CLCPath);
 }
@@ -132,10 +146,19 @@ bool 
TransformationManager::initializeCompilerInstance(std::string )
 Args.push_back("-fno-builtin");
 
 CompilerInvocation::CreateFromArgs(Invocation,
+#if LLVM_VERSION_MAJOR >= 10
+   Args,
+#else
[0], [0] + Args.size(),
+#endif
ClangInstance->getDiagnostics());
 Invocation.setLangDefaults(ClangInstance->getLangOpts(),
-   InputKind::OpenCL, T, PPOpts);
+#if LLVM_VERSION_MAJOR >= 10
+   InputKind(Language::OpenCL),
+#else
+   InputKind::OpenCL,
+#endif
+  T, PPOpts);
   }
   else {
 ErrorMsg = "Unsupported file type!";
++ std-cpp14.patch ++

commit creduce for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2020-04-11 23:47:08

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.3248 (New)


Package is "creduce"

Sat Apr 11 23:47:08 2020 rev:21 rq:793062 version:2.10.0+git.20191010.8a67e69

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2019-10-23 
15:53:51.182889352 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.3248/creduce.changes
2020-04-11 23:47:35.895137276 +0200
@@ -1,0 +2,13 @@
+Sat Apr 11 07:53:31 UTC 2020 - Martin Liška 
+
+- Add binary-search-location.patch in order to fix binary
+  locations.
+
+---
+Sat Apr 11 06:57:02 UTC 2020 - Martin Liška 
+
+  - Update llvm9-libs-fix.patch to support cmake.
+  - Add install-location.patch and build the spec file with cmake.
+  - Remove BuildRequires of zlib-devel.
+
+---

New:

  binary-search-location.patch
  install-location.patch



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.28ai65/_old  2020-04-11 23:47:37.307138352 +0200
+++ /var/tmp/diff_new_pack.28ai65/_new  2020-04-11 23:47:37.311138355 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package creduce
 #
-# 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
@@ -25,8 +25,11 @@
 URL:https://github.com/csmith-project/creduce
 Source: %{name}-%{version}.tar.xz
 Patch0: llvm9-libs-fix.patch
+Patch1: install-location.patch
+Patch2: binary-search-location.patch
 BuildRequires:  astyle
 BuildRequires:  clang9-devel
+BuildRequires:  cmake
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
@@ -39,7 +42,6 @@
 BuildRequires:  perl-Getopt-Tabular
 BuildRequires:  perl-Regexp-Common
 BuildRequires:  perl-Term-ReadKey
-BuildRequires:  zlib-devel
 Requires:   astyle
 Requires:   clang9-devel
 Requires:   delta
@@ -63,17 +65,18 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%autopatch -p1
 
 %build
-%configure --libexec=%{_bindir}
+%cmake
 %make_build
 
 %install
+cd build
 %make_install
 
-rm %{buildroot}%{_bindir}/topformflat
-rm %{buildroot}%{_bindir}/unifdef
+rm %{buildroot}/usr/libexec/topformflat
+rm %{buildroot}/usr/libexec/unifdef
 
 %files
 %license COPYING

++ binary-search-location.patch ++
diff --git a/creduce/creduce_config.pm.in b/creduce/creduce_config.pm.in
index 1e71112..4578b30 100644
--- a/creduce/creduce_config.pm.in
+++ b/creduce/creduce_config.pm.in
@@ -32,6 +32,8 @@ use constant {
 # External programs invoked.
 #
 CLANG_FORMAT   => q{@CLANG_FORMAT@},
+UNIFDEF => q{@UNIFDEF@},
+TOPFORMFLAT => q{@TOPFORMFLAT@},
 };
 
 our @EXPORT = qw();
diff --git a/creduce/pass_clang.pm b/creduce/pass_clang.pm
index 3bd8314..3b8085b 100644
--- a/creduce/pass_clang.pm
+++ b/creduce/pass_clang.pm
@@ -35,7 +35,7 @@ sub check_prereqs () {
 if ((defined $abs_bindir) && ($FindBin::RealBin eq $abs_bindir)) {
# This script is in the installation directory.
# Use the installed `clang_delta'.
-   $path = libexecdir . "/clang_delta";
+   $path = $abs_bindir . "/clang_delta";
 } else {
# Assume that this script is in the C-Reduce build tree.
# Use the `clang_delta' that is also in the build tree.
diff --git a/creduce/pass_clang_binsrch.pm b/creduce/pass_clang_binsrch.pm
index 7470d51..b079214 100644
--- a/creduce/pass_clang_binsrch.pm
+++ b/creduce/pass_clang_binsrch.pm
@@ -47,7 +47,7 @@ sub check_prereqs () {
 if ((defined $abs_bindir) && ($FindBin::RealBin eq $abs_bindir)) {
# This script is in the installation directory.
# Use the installed `clang_delta'.
-   $path = libexecdir . "/clang_delta";
+   $path = $abs_bindir . "/clang_delta";
 } else {
# Assume that this script is in the C-Reduce build tree.
# Use the `clang_delta' that is also in the build tree.
diff --git a/creduce/pass_clex.pm b/creduce/pass_clex.pm
index 66707bf..29ea764 100644
--- a/creduce/pass_clex.pm
+++ b/creduce/pass_clex.pm
@@ -35,7 +35,7 @@ sub check_prereqs () {
 if ((defined $abs_bindir) && ($FindBin::RealBin eq $abs_bindir)) {
# This script is in the installation directory.
# Use the installed `clex'.
-   $path = libexecdir . "/clex";
+   $path = $abs_bindir . "/clex";
 } else {
# Assume that this script is in the C-Reduce build tree.
# Use the `clex' 

commit creduce for openSUSE:Factory

2019-10-23 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2019-10-23 15:53:42

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.2352 (New)


Package is "creduce"

Wed Oct 23 15:53:42 2019 rev:20 rq:742088 version:2.10.0+git.20191010.8a67e69

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2019-10-22 
15:46:00.189754840 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.2352/creduce.changes
2019-10-23 15:53:51.182889352 +0200
@@ -1,0 +2,6 @@
+Wed Oct 23 09:20:56 UTC 2019 - Martin Liška 
+
+- Add llvm9-libs-fix.patch and build the package with LLVM9
+  as a dependency.
+
+---

New:

  llvm9-libs-fix.patch



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.jvuCPI/_old  2019-10-23 15:53:53.038891358 +0200
+++ /var/tmp/diff_new_pack.jvuCPI/_new  2019-10-23 15:53:53.042891362 +0200
@@ -24,13 +24,14 @@
 Group:  Development/Tools/Other
 URL:https://github.com/csmith-project/creduce
 Source: %{name}-%{version}.tar.xz
+Patch0: llvm9-libs-fix.patch
 BuildRequires:  astyle
-BuildRequires:  clang8-devel
+BuildRequires:  clang9-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  indent
-BuildRequires:  llvm8-devel
+BuildRequires:  llvm9-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -40,10 +41,10 @@
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
-Requires:   clang8-devel
+Requires:   clang9-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm8-devel
+Requires:   llvm9-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which
@@ -62,6 +63,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --libexec=%{_bindir}

++ llvm9-libs-fix.patch ++
diff --git a/clang_delta/Makefile.in b/clang_delta/Makefile.in
index 5bd6e56..b915946 100644
--- a/clang_delta/Makefile.in
+++ b/clang_delta/Makefile.in
@@ -575,12 +575,7 @@ clang_delta_CXXFLAGS = \
 # libraries.  So probably, we could move `LLVMLDFLAGS' back to the definition
 # of `clang_delta_LDFLAGS'.  I'll do that later.
 clang_delta_LDADD = \
-   -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers \
-   -lclangStaticAnalyzerCore \
-   -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization \
-   -lclangCodeGen -lclangParse -lclangSema -lclangAnalysis \
-   -lclangRewriteFrontend -lclangRewrite -lclangAST -lclangBasic 
-lclangEdit -lclangLex \
-   -lclangARCMigrate \
+   -lclang-cpp \
$(LLVMLIBS) \
$(CLANG_LDFLAGS) \
$(LLVMLDFLAGS)



commit creduce for openSUSE:Factory

2019-10-22 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2019-10-22 15:45:54

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.2352 (New)


Package is "creduce"

Tue Oct 22 15:45:54 2019 rev:19 rq:741677 version:2.10.0+git.20191010.8a67e69

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2019-06-20 
19:04:26.797589435 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.2352/creduce.changes
2019-10-22 15:46:00.189754840 +0200
@@ -1,0 +2,45 @@
+Tue Oct 22 06:52:25 UTC 2019 - Martin Liška 
+
+- Move back Group in spec file.
+
+---
+Thu Oct 17 10:04:01 UTC 2019 - Martin Pluskal 
+
+- Update to version 2.10.0+git.20191010.8a67e69:
+  * Update the Travis-CI test-build configuration.
+  * Update copyright years.
+  * Put recently added clang_delta test files into distributions.
+  * fixed an issue for processing dependent template name
+  * added a bunch of tests for rename-class pass
+  * fixed an issue for rewriting dtor
+  * added several tests for rename-class
+  * added a couple of tests
+  * handle another case for overloaded operators
+  * skip overloaded functions for rename-fun
+  * skip AttributedStmt
+  * more fixes to macros
+  * handle function bodies with macro expansions
+  * handle macro arg expansions
+  * fixed an issue for removing unused vars
+  * fixed a crash for empty-struct-to-int
+  * a couple of tests for empty-struct-to-int
+  * fixed an issue for processing macro expansions
+  * handle cases where CurrentFD is null
+  * added a utility function to get expansion loc for macroID
+  * added one more test
+  * get expansion loc for checing isInIncludedFile
+  * relax the constraint on CurrentFD
+  * fixed another issue with macro expansion
+  * added several tests for return-void pass
+  * handle cases where return type is macro
+  * added several tests for aggregate-to-scalar pass
+  * skip invalid types early
+  * handle cases for invalid params
+  * handle builtin macros
+  * reset a flag upon failure
+  * handled CXXSCalarValueInitExpr for replacing initializers
+  * added a test for empty-struct-to-int pass
+  * Increment version number to 2.11.0.
+- Update _constraints - increase amount of required memory
+
+---

Old:

  creduce-2.10.0+git.20190513.fb91843.tar.xz

New:

  creduce-2.10.0+git.20191010.8a67e69.tar.xz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.aWbapP/_old  2019-10-22 15:46:01.053755824 +0200
+++ /var/tmp/diff_new_pack.aWbapP/_new  2019-10-22 15:46:01.057755829 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   creduce
-Version:2.10.0+git.20190513.fb91843
+Version:2.10.0+git.20191010.8a67e69
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
-Url:https://github.com/csmith-project/creduce
+URL:https://github.com/csmith-project/creduce
 Source: %{name}-%{version}.tar.xz
 BuildRequires:  astyle
 BuildRequires:  clang8-devel
@@ -65,7 +65,7 @@
 
 %build
 %configure --libexec=%{_bindir}
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install

++ _constraints ++
--- /var/tmp/diff_new_pack.aWbapP/_old  2019-10-22 15:46:01.097755875 +0200
+++ /var/tmp/diff_new_pack.aWbapP/_new  2019-10-22 15:46:01.097755875 +0200
@@ -4,7 +4,7 @@
   16
 
 
-  4
+  6
 
   
 

++ _service ++
--- /var/tmp/diff_new_pack.aWbapP/_old  2019-10-22 15:46:01.117755897 +0200
+++ /var/tmp/diff_new_pack.aWbapP/_new  2019-10-22 15:46:01.121755902 +0200
@@ -5,7 +5,7 @@
 enable
 creduce
 2.10.0+git.%cd.%h
-fb91843c547794f165e5764a003166191e6c6643
+8a67e69c49ef123a1c0a4898ac259249411a01dd
   
   
 *.tar

++ creduce-2.10.0+git.20190513.fb91843.tar.xz -> 
creduce-2.10.0+git.20191010.8a67e69.tar.xz ++
 2158 lines of diff (skipped)




commit creduce for openSUSE:Factory

2019-06-20 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2019-06-20 19:04:23

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.4811 (New)


Package is "creduce"

Thu Jun 20 19:04:23 2019 rev:18 rq:76 version:2.10.0+git.20190513.fb91843

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2019-05-07 
23:18:19.756838936 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.4811/creduce.changes
2019-06-20 19:04:26.797589435 +0200
@@ -1,0 +2,20 @@
+Thu Jun 20 11:45:35 UTC 2019 - Martin Liška 
+
+- Fix typo in spec file.
+
+---
+Tue Jun 18 08:30:24 UTC 2019 - mli...@suse.cz
+
+- Update to version 2.10.0+git.20190513.fb91843:
+  * Remove mention of FreeBSD 10.4.
+  * Update copyright years.
+  * Use LLVM 8 toolchain in the Travis-CI build.
+  * Update copyright years.
+  * Require LLVM 8.0.
+  * Increment version number to 2.10.0.
+  * Set `BUILD_WITH_INSTALL_RPATH` property on target `clang_delta`.
+  * On the CMake-based build path, set rpath for `clang_delta`.
+  * Largely revert commit be741fc.
+  * update to LLVM 8.0
+
+---

Old:

  creduce-2.9.0+git.20190501.0fc288e.tar.xz

New:

  creduce-2.10.0+git.20190513.fb91843.tar.xz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.hEwCYA/_old  2019-06-20 19:04:27.497590394 +0200
+++ /var/tmp/diff_new_pack.hEwCYA/_new  2019-06-20 19:04:27.501590400 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.9.0+git.20190501.0fc288e
+Version:2.10.0+git.20190513.fb91843
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
@@ -25,12 +25,12 @@
 Url:https://github.com/csmith-project/creduce
 Source: %{name}-%{version}.tar.xz
 BuildRequires:  astyle
-BuildRequires:  clang7-devel
+BuildRequires:  clang8-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  indent
-BuildRequires:  llvm7-devel
+BuildRequires:  llvm8-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -40,10 +40,10 @@
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
-Requires:   clang7-devel
+Requires:   clang8-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm7-devel
+Requires:   llvm8-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which

++ _service ++
--- /var/tmp/diff_new_pack.hEwCYA/_old  2019-06-20 19:04:27.533590444 +0200
+++ /var/tmp/diff_new_pack.hEwCYA/_new  2019-06-20 19:04:27.533590444 +0200
@@ -4,8 +4,8 @@
 git
 enable
 creduce
-2.9.0+git.%cd.%h
-0fc288e1958a7c38c74ef85803f0e3b79f904a73
+2.10.0+git.%cd.%h
+fb91843c547794f165e5764a003166191e6c6643
   
   
 *.tar

++ creduce-2.9.0+git.20190501.0fc288e.tar.xz -> 
creduce-2.10.0+git.20190513.fb91843.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-2.9.0+git.20190501.0fc288e/.travis.yml 
new/creduce-2.10.0+git.20190513.fb91843/.travis.yml
--- old/creduce-2.9.0+git.20190501.0fc288e/.travis.yml  2019-05-02 
00:14:13.0 +0200
+++ new/creduce-2.10.0+git.20190513.fb91843/.travis.yml 2019-05-13 
23:17:30.0 +0200
@@ -17,9 +17,9 @@
   - sudo scripts/travis_deps.sh
 
 script: >
-  CXX=/usr/lib/llvm-7/bin/clang++
-  CC=/usr/lib/llvm-7/bin/clang
-  ./configure --with-llvm=/usr/lib/llvm-7 &&
+  CXX=/usr/lib/llvm-8/bin/clang++
+  CC=/usr/lib/llvm-8/bin/clang
+  ./configure --with-llvm=/usr/lib/llvm-8 &&
   make -j2 &&
   make check
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-2.9.0+git.20190501.0fc288e/CMakeLists.txt 
new/creduce-2.10.0+git.20190513.fb91843/CMakeLists.txt
--- old/creduce-2.9.0+git.20190501.0fc288e/CMakeLists.txt   2019-05-02 
00:14:13.0 +0200
+++ new/creduce-2.10.0+git.20190513.fb91843/CMakeLists.txt  2019-05-13 
23:17:30.0 +0200
@@ -26,8 +26,8 @@
 find_package(LLVM REQUIRED CONFIG NO_CMAKE_BUILDS_PATH)
 message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
 message(STATUS "Using LLVMConfig.cmake in ${LLVM_DIR}")
-if (${LLVM_PACKAGE_VERSION} VERSION_LESS "7.0")
-  message(FATAL_ERROR "C-Reduce requires LLVM 7.0 or later")
+if (${LLVM_PACKAGE_VERSION} VERSION_LESS "8.0")
+  message(FATAL_ERROR "C-Reduce requires LLVM 8.0 or later")
 endif()
 #
 # Do this here, too, just to keep it with the LLVM check above.
@@ 

commit creduce for openSUSE:Factory

2019-05-07 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2019-05-07 23:18:18

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.5148 (New)


Package is "creduce"

Tue May  7 23:18:18 2019 rev:17 rq:701041 version:2.9.0+git.20190501.0fc288e

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2019-04-23 
14:39:03.469578928 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.5148/creduce.changes
2019-05-07 23:18:19.756838936 +0200
@@ -1,0 +2,13 @@
+Mon May 06 09:15:15 UTC 2019 - mli...@suse.cz
+
+- Update to version 2.9.0:
+  * Supports and requires LLVM 7
+  * New pass to remove constant `#if` blocks
+  * New pass to remove `#if` blocks
+  * New pass to remove `#line` directives
+  * New binary-search pass for removing C++-style comments
+  * Automatically run parallel "interestingness" tests on FreeBSD
+  * New `--version` command-line option reports version and exits
+  * Numerous bug fixes
+
+---

Old:

  creduce-2.9.0+git.20190422.763bd26.tar.xz

New:

  creduce-2.9.0+git.20190501.0fc288e.tar.xz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.5YJrv0/_old  2019-05-07 23:18:20.172839811 +0200
+++ /var/tmp/diff_new_pack.5YJrv0/_new  2019-05-07 23:18:20.176839818 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.9.0+git.20190422.763bd26
+Version:2.9.0+git.20190501.0fc288e
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause

++ _service ++
--- /var/tmp/diff_new_pack.5YJrv0/_old  2019-05-07 23:18:20.212839895 +0200
+++ /var/tmp/diff_new_pack.5YJrv0/_new  2019-05-07 23:18:20.212839895 +0200
@@ -5,7 +5,7 @@
 enable
 creduce
 2.9.0+git.%cd.%h
-763bd26729783249be1efba1fa5b2e8b4cc77398
+0fc288e1958a7c38c74ef85803f0e3b79f904a73
   
   
 *.tar

++ creduce-2.9.0+git.20190422.763bd26.tar.xz -> 
creduce-2.9.0+git.20190501.0fc288e.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/INSTALL.md 
new/creduce-2.9.0+git.20190501.0fc288e/INSTALL.md
--- old/creduce-2.9.0+git.20190422.763bd26/INSTALL.md   2019-04-23 
05:41:40.0 +0200
+++ new/creduce-2.9.0+git.20190501.0fc288e/INSTALL.md   2019-05-02 
00:14:13.0 +0200
@@ -46,12 +46,12 @@
 * [Flex](http://flex.sourceforge.net/)
 
 * [LLVM/Clang 7.0.0](http://llvm.org/releases/download.html#7.0.0)
-  (No need to compile it: the appropriate "Clang binaries" package is
+  (No need to compile it: the appropriate "pre-built binaries" package is
   all you need.  If you use one of the binary packages, you may need
   to install additional packages that the binary package depends on.
-  For example, the "Clang for x86_64 Ubuntu 14.04" binary package
-  depends on "libtinfo5".  You may need to install this, e.g.: "sudo
-  apt-get install libtinfo-dev".)
+  For example, the "Ubuntu 18.04" binary package depends on "libtinfo5"
+  and "libxml2".  You may need to install these, e.g.:
+  `sudo apt-get install libtinfo-dev libxml2-dev`.)
 
 * Perl modules:
   - Exporter::Lite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-2.9.0+git.20190422.763bd26/README.md 
new/creduce-2.9.0+git.20190501.0fc288e/README.md
--- old/creduce-2.9.0+git.20190422.763bd26/README.md2019-04-23 
05:41:40.0 +0200
+++ new/creduce-2.9.0+git.20190501.0fc288e/README.md2019-05-02 
00:14:13.0 +0200
@@ -18,7 +18,7 @@
 
 ## Installation
 
-See 
[INSTALL.md](https://github.com/csmith-project/creduce/blob/master/INSTALL.md)
+See [INSTALL.md](INSTALL.md).
 
 ## Notes
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/creduce-2.9.0+git.20190422.763bd26/clang_delta/CMakeLists.txt 
new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/CMakeLists.txt
--- old/creduce-2.9.0+git.20190422.763bd26/clang_delta/CMakeLists.txt   
2019-04-23 05:41:40.0 +0200
+++ new/creduce-2.9.0+git.20190501.0fc288e/clang_delta/CMakeLists.txt   
2019-05-02 00:14:13.0 +0200
@@ -1,6 +1,6 @@
 ## -*- mode: CMake -*-
 ##
-## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018 The University of 
Utah
+## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 The University 
of Utah
 ## All rights reserved.
 ##
 ## This file is distributed under the University of Illinois Open Source
@@ -57,6 +57,23 @@
 
 link_directories(${LLVM_LIBRARY_DIRS})
 
+# ENE: Note that LLVM_LIBS is unused.
+#
+# The CLANG_LIBS defined below depend on various LLVM libraries.  

commit creduce for openSUSE:Factory

2019-04-23 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2019-04-23 14:39:00

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new.5536 (New)


Package is "creduce"

Tue Apr 23 14:39:00 2019 rev:16 rq:697014 version:2.9.0+git.20190422.763bd26

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2018-07-18 
22:53:43.235004544 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new.5536/creduce.changes
2019-04-23 14:39:03.469578928 +0200
@@ -1,0 +2,39 @@
+Tue Apr 23 08:40:39 UTC 2019 - Martin Liška 
+
+- Use %license COPYING.
+
+---
+Tue Apr 23 07:07:33 UTC 2019 - mli...@suse.cz
+
+- Update to version 2.9.0+git.20190422.763bd26:
+  * Regenerate Autoconf stuff.
+  * Add `INSTALL.md` and `README.md` to `EXTRA_DIST`.
+  * Use `automake --foreign` instead of `automake --gnu`.
+  * Require LLVM 7.0 or later.
+  * Do less I/O in the Darwin version of `ncpus()`.
+  * Implement `ncpus()` for FreeBSD.
+  * Update INSTALL instructions for FreeBSD.
+  * Update copyright years.
+
+---
+Thu Apr 18 15:19:24 UTC 2019 - Martin Liška 
+
+- Remove README from installed files.
+- Depend on llvm7 and clang7 packages.
+
+---
+Thu Apr 18 15:11:11 UTC 2019 - mli...@suse.cz
+
+- Update to version 2.9.0+git.20190414.095c551:
+  * Fixed a crash in UnionToStruct pass
+  * add pass to remove if directives
+  * skip inlining calls in default arguments
+  * patch from Mingwandroid to update to LLVM 7
+  * convert to markdown
+  * add binary search removal of c++ style comments
+  * add pass for line markers
+  * add pass to remove constant ifs
+  * change ordering so pass_includes is called after pass_unifdef
+  * built with LLVM 7.0
+
+---

Old:

  creduce-2.8.0.tar.gz

New:

  _service
  creduce-2.9.0+git.20190422.763bd26.tar.xz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.tI1aN9/_old  2019-04-23 14:39:04.013579208 +0200
+++ /var/tmp/diff_new_pack.tI1aN9/_new  2019-04-23 14:39:04.017579210 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package creduce
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,25 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   creduce
-Version:2.8.0
+Version:2.9.0+git.20190422.763bd26
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
 Url:https://github.com/csmith-project/creduce
-Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
+Source: %{name}-%{version}.tar.xz
 BuildRequires:  astyle
-BuildRequires:  clang6-devel
+BuildRequires:  clang7-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  indent
-BuildRequires:  llvm6-devel
+BuildRequires:  llvm7-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -40,10 +40,10 @@
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
-Requires:   clang6-devel
+Requires:   clang7-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm6-devel
+Requires:   llvm7-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which
@@ -61,7 +61,7 @@
 bugs in compilers and other tools that process C/C++ code.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 
 %build
 %configure --libexec=%{_bindir}
@@ -74,7 +74,7 @@
 rm %{buildroot}%{_bindir}/unifdef
 
 %files
-%doc README COPYING
+%license COPYING
 %{_bindir}/creduce
 %{_bindir}/clang_delta
 %{_bindir}/clex

++ _service ++

  
git://github.com/csmith-project/creduce
git
enable
creduce
2.9.0+git.%cd.%h
763bd26729783249be1efba1fa5b2e8b4cc77398
  
  
*.tar
xz
  
  




commit creduce for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2018-07-18 22:53:37

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Wed Jul 18 22:53:37 2018 rev:15 rq:621906 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2018-02-21 
14:13:54.192935085 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2018-07-18 
22:53:43.235004544 +0200
@@ -1,0 +2,34 @@
+Tue Jul 10 13:04:09 UTC 2018 - mli...@suse.cz
+
+- Remove Requires to perl-Sys-CPU.
+
+---
+Mon Jul  9 08:37:34 UTC 2018 - idon...@suse.com
+
+- Update to version 2.8.0
+  * Include newer `clang_delta` tests in distributions.
+  * Mention CMake-based build system near the top of the file.
+  * Update copyright years.
+  * Do not list `LLVM_LIBS` in the `target_link_libraries`.
+  * Mention that `pkg install` example works for FreeBSD 11.1, too.
+  * Remove remaining references to `Sys::CPU` Perl module.
+  * Update copyright years.
+  * stop using dead sys::cpu perl module
+  * Require LLVM 6.0.
+
+---
+Thu May 10 11:02:15 UTC 2018 - mli...@suse.cz
+
+- Update to version 2.8.0+git.20180410.48e622b:
+  * Fixed an issue for checking function declarations
+  * Fixed crashes due to groupdecls
+  * update copyright year
+  * Handle anonymous unions are declared with other decls
+  * Handle designated init expressions
+  * Regenerate Autoconf/Automake stuff.
+  * Add copyright notices to some `clang_delta/tests/` files.
+  * Add more `clang_delta/tests/` files to distributions.
+  * add todo about try-catch
+  * Update copyright years.
+
+---

Old:

  creduce-2.7.0.tar.gz

New:

  creduce-2.8.0.tar.gz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.xhfXWA/_old  2018-07-18 22:53:43.935002223 +0200
+++ /var/tmp/diff_new_pack.xhfXWA/_new  2018-07-18 22:53:43.999002011 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.7.0
+Version:2.8.0
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
@@ -25,32 +25,30 @@
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
-BuildRequires:  clang4-devel
+BuildRequires:  clang6-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  indent
-BuildRequires:  llvm4-devel
+BuildRequires:  llvm6-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
 BuildRequires:  perl-File-Which
 BuildRequires:  perl-Getopt-Tabular
 BuildRequires:  perl-Regexp-Common
-BuildRequires:  perl-Sys-CPU
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
-Requires:   clang4-devel
+Requires:   clang6-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm4-devel
+Requires:   llvm6-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which
 Requires:   perl-Getopt-Tabular
 Requires:   perl-Regexp-Common
-Requires:   perl-Sys-CPU
 Requires:   perl-Term-ReadKey
 Requires:   unifdef
 

++ creduce-2.7.0.tar.gz -> creduce-2.8.0.tar.gz ++
 8102 lines of diff (skipped)




commit creduce for openSUSE:Factory

2018-02-21 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2018-02-21 14:13:52

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Wed Feb 21 14:13:52 2018 rev:14 rq:578610 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2018-02-16 
21:46:15.823643960 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2018-02-21 
14:13:54.192935085 +0100
@@ -1,0 +2,5 @@
+Tue Feb 20 14:20:07 UTC 2018 - mli...@suse.cz
+
+- Change compiler to GCC.
+
+---

New:

  _constraints



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.Cz0bWs/_old  2018-02-21 14:13:55.052904115 +0100
+++ /var/tmp/diff_new_pack.Cz0bWs/_new  2018-02-21 14:13:55.052904115 +0100
@@ -28,6 +28,7 @@
 BuildRequires:  clang4-devel
 BuildRequires:  delta
 BuildRequires:  flex
+BuildRequires:  gcc-c++
 BuildRequires:  indent
 BuildRequires:  llvm4-devel
 BuildRequires:  ncurses-devel
@@ -65,13 +66,6 @@
 %setup -q -n %{name}-%{name}-%{version}
 
 %build
-# bypass bug 927268 for PowerPC
-tmpflags="%{optflags}"
-%ifarch ppc64 ppc64le
-tmpflags=${tmpflags/-fstack-protector-strong}
-%endif
-export CXX=clang++
-export CXXFLAGS="${tmpflags}"
 %configure --libexec=%{_bindir}
 make %{?_smp_mflags}
 

++ _constraints ++

  

  16


  4

  




commit creduce for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2018-02-16 21:46:11

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Fri Feb 16 21:46:11 2018 rev:13 rq:577227 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2018-01-05 
01:00:23.328583951 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2018-02-16 
21:46:15.823643960 +0100
@@ -1,0 +2,5 @@
+Fri Feb 16 10:17:09 UTC 2018 - mli...@suse.cz
+
+- Remove not needed dependency (boo#1081147).
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.hMIkXG/_old  2018-02-16 21:46:16.491619869 +0100
+++ /var/tmp/diff_new_pack.hMIkXG/_new  2018-02-16 21:46:16.491619869 +0100
@@ -22,7 +22,7 @@
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
-URL:https://github.com/csmith-project/creduce
+Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
 BuildRequires:  clang4-devel
@@ -52,9 +52,6 @@
 Requires:   perl-Sys-CPU
 Requires:   perl-Term-ReadKey
 Requires:   unifdef
-%if 0%{?suse_version} >= 1330
-BuildRequires:  clang4-devel-static
-%endif
 
 %description
 




commit creduce for openSUSE:Factory

2018-01-04 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2018-01-05 01:00:16

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Fri Jan  5 01:00:16 2018 rev:12 rq:561447 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2017-10-27 
14:00:48.553734250 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2018-01-05 
01:00:23.328583951 +0100
@@ -1,0 +2,11 @@
+Wed Jan  3 16:21:17 UTC 2018 - mplus...@suse.com
+
+- Run spec-cleaner
+
+---
+Wed Jan  3 15:14:32 UTC 2018 - dims...@opensuse.org
+
+- BuildRequire clang4-devel-static instead of clang-devel-static:
+  all the other llvm/clang deps are hard on version 4.x.
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.W3YFBs/_old  2018-01-05 01:00:25.767772400 +0100
+++ /var/tmp/diff_new_pack.W3YFBs/_new  2018-01-05 01:00:25.779768409 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package creduce
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -22,13 +22,10 @@
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
-Url:https://github.com/csmith-project/creduce
+URL:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
 BuildRequires:  clang4-devel
-%if 0%{?suse_version} >= 1330
-BuildRequires:  clang-devel-static
-%endif
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  indent
@@ -55,7 +52,9 @@
 Requires:   perl-Sys-CPU
 Requires:   perl-Term-ReadKey
 Requires:   unifdef
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} >= 1330
+BuildRequires:  clang4-devel-static
+%endif
 
 %description
 
@@ -86,13 +85,11 @@
 rm %{buildroot}%{_bindir}/unifdef
 
 %files
-%defattr(-,root,root)
 %doc README COPYING
 %{_bindir}/creduce
 %{_bindir}/clang_delta
 %{_bindir}/clex
 %{_bindir}/strlex
-
 %{_datadir}/creduce
 
 %changelog




commit creduce for openSUSE:Factory

2017-10-27 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2017-10-27 14:00:46

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Fri Oct 27 14:00:46 2017 rev:11 rq:536858 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2017-05-20 
10:14:19.590260676 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2017-10-27 
14:00:48.553734250 +0200
@@ -1,0 +2,6 @@
+Thu Oct 26 11:44:23 UTC 2017 - dims...@opensuse.org
+
+- Add clang-devel-static BuildRequires: adapt to llvm4 packaging
+  changes.
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.kHMDe6/_old  2017-10-27 14:00:50.113661329 +0200
+++ /var/tmp/diff_new_pack.kHMDe6/_new  2017-10-27 14:00:50.117661142 +0200
@@ -26,6 +26,9 @@
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
 BuildRequires:  clang4-devel
+%if 0%{?suse_version} >= 1330
+BuildRequires:  clang-devel-static
+%endif
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  indent




commit creduce for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2017-05-20 10:14:16

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Sat May 20 10:14:16 2017 rev:10 rq:496502 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2017-04-28 
09:13:51.149436009 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2017-05-20 
10:14:19.590260676 +0200
@@ -1,0 +2,8 @@
+Fri May 19 08:11:00 UTC 2017 - idon...@suse.com
+
+- Update to version 2.7.0
+  * Minor bugfixes
+  * LLVM 4.0 support
+- Depend on llvm4/clang4
+
+---

Old:

  creduce-2.6.0.tar.gz

New:

  creduce-2.7.0.tar.gz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.cWlYuq/_old  2017-05-20 10:14:20.062193996 +0200
+++ /var/tmp/diff_new_pack.cWlYuq/_new  2017-05-20 10:14:20.066193431 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.6.0
+Version:2.7.0
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
@@ -25,11 +25,11 @@
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
-BuildRequires:  clang3_9-devel
+BuildRequires:  clang4-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  indent
-BuildRequires:  llvm3_9-devel
+BuildRequires:  llvm4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -40,10 +40,10 @@
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
-Requires:   clang3_9-devel
+Requires:   clang4-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm3_9-devel
+Requires:   llvm4-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which

++ creduce-2.6.0.tar.gz -> creduce-2.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-creduce-2.6.0/.travis.yml 
new/creduce-creduce-2.7.0/.travis.yml
--- old/creduce-creduce-2.6.0/.travis.yml   2016-12-16 21:57:38.0 
+0100
+++ new/creduce-creduce-2.7.0/.travis.yml   2017-05-18 18:42:08.0 
+0200
@@ -1,5 +1,5 @@
 ##
-## Copyright (c) 2015, 2016 The University of Utah
+## Copyright (c) 2015, 2016, 2017 The University of Utah
 ## Copyright (c) 2015 Tamir Duberstein
 ## All rights reserved.
 ##
@@ -17,9 +17,9 @@
   - sudo scripts/travis_deps.sh
 
 script: >
-  CXX=/usr/lib/llvm-3.9/bin/clang++
-  CC=/usr/lib/llvm-3.9/bin/clang
-  ./configure --with-llvm=/usr/lib/llvm-3.9 &&
+  CXX=/usr/lib/llvm-4.0/bin/clang++
+  CC=/usr/lib/llvm-4.0/bin/clang
+  ./configure --with-llvm=/usr/lib/llvm-4.0 &&
   make -j2 &&
   make check
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/creduce-creduce-2.6.0/CMakeLists.txt 
new/creduce-creduce-2.7.0/CMakeLists.txt
--- old/creduce-creduce-2.6.0/CMakeLists.txt2016-12-16 21:57:38.0 
+0100
+++ new/creduce-creduce-2.7.0/CMakeLists.txt2017-05-18 18:42:08.0 
+0200
@@ -1,6 +1,6 @@
 ## -*- mode: CMake -*-
 ##
-## Copyright (c) 2012, 2013, 2014, 2015, 2016 The University of Utah
+## Copyright (c) 2012, 2013, 2014, 2015, 2016, 2017 The University of Utah
 ## All rights reserved.
 ##
 ## This file is distributed under the University of Illinois Open Source
@@ -26,9 +26,14 @@
 find_package(LLVM REQUIRED CONFIG NO_CMAKE_BUILDS_PATH)
 message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
 message(STATUS "Using LLVMConfig.cmake in ${LLVM_DIR}")
-if (${LLVM_PACKAGE_VERSION} VERSION_LESS "3.9")
-  message(FATAL_ERROR "C-Reduce requires LLVM 3.9 or later")
+if (${LLVM_PACKAGE_VERSION} VERSION_LESS "4.0")
+  message(FATAL_ERROR "C-Reduce requires LLVM 4.0 or later")
 endif()
+#
+# Do this here, too, just to keep it with the LLVM check above.
+#
+find_package(Clang REQUIRED CONFIG NO_CMAKE_BUILDS_PATH)
+message(STATUS "Using ClangConfig.cmake in ${Clang_DIR}")
 
 # Locate Perl and check its version.
 #
@@ -51,7 +56,7 @@
 # `git archive' inserts the abbreviated hash of the archive's commit into this
 # file.  (See the `.gitattributes' file.)
 #
-set(GIT_HASH "b02c375")
+set(GIT_HASH "c0c7f0be")
 if(GIT_HASH MATCHES "^\\$")
   ## METHOD 2: The source tree is a git repository.
   get_git_head_revision(GIT_REFSPEC GIT_HASH)
@@ -85,11 +90,11 @@
 set(creduce_PACKAGE"creduce")
 set(creduce_PACKAGE_BUGREPORT  

commit creduce for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2017-04-28 09:13:46

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Fri Apr 28 09:13:46 2017 rev:9 rq:491221 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2017-03-12 
20:00:13.189850582 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2017-04-28 
09:13:51.149436009 +0200
@@ -1,0 +2,5 @@
+Wed Apr 26 09:03:18 UTC 2017 - mli...@suse.cz
+
+- Depend on clang and LLVM 3.9.
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.Jpp6S2/_old  2017-04-28 09:13:51.981318700 +0200
+++ /var/tmp/diff_new_pack.Jpp6S2/_new  2017-04-28 09:13:51.985318136 +0200
@@ -25,11 +25,11 @@
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
 BuildRequires:  astyle
+BuildRequires:  clang3_9-devel
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  indent
-BuildRequires:  llvm-clang-devel >= 3.9.0
-BuildRequires:  llvm-devel >= 3.9.0
+BuildRequires:  llvm3_9-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite
@@ -40,10 +40,10 @@
 BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
+Requires:   clang3_9-devel
 Requires:   delta
 Requires:   indent
-Requires:   llvm-clang-devel >= 3.9.0
-Requires:   llvm-devel >= 3.9.0
+Requires:   llvm3_9-devel
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which




commit creduce for openSUSE:Factory

2017-03-12 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2017-03-12 20:00:12

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Sun Mar 12 20:00:12 2017 rev:8 rq:476760 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2017-01-20 
13:08:05.419813156 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2017-03-12 
20:00:13.189850582 +0100
@@ -1,0 +2,11 @@
+Fri Mar  3 14:22:05 UTC 2017 - mli...@suse.cz
+
+- Add llvm-clang and llvm as requirements for the package.
+- Clean up spec file via spec-cleaner.
+
+---
+Fri Mar  3 10:18:17 UTC 2017 - idon...@suse.com
+
+- Fix build for PowerPC 
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.2CwKIC/_old  2017-03-12 20:00:13.785766262 +0100
+++ /var/tmp/diff_new_pack.2CwKIC/_new  2017-03-12 20:00:13.789765696 +0100
@@ -42,6 +42,8 @@
 Requires:   astyle
 Requires:   delta
 Requires:   indent
+Requires:   llvm-clang-devel >= 3.9.0
+Requires:   llvm-devel >= 3.9.0
 Requires:   perl-Benchmark-Timer
 Requires:   perl-Exporter-Lite
 Requires:   perl-File-Which
@@ -67,7 +69,7 @@
 # bypass bug 927268 for PowerPC
 tmpflags="%{optflags}"
 %ifarch ppc64 ppc64le
-tmpflags=${tmpflags/-fstack-protector}
+tmpflags=${tmpflags/-fstack-protector-strong}
 %endif
 export CXX=clang++
 export CXXFLAGS="${tmpflags}"
@@ -75,10 +77,10 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 
-rm $RPM_BUILD_ROOT%{_prefix}/bin/topformflat
-rm $RPM_BUILD_ROOT%{_prefix}/bin/unifdef
+rm %{buildroot}%{_bindir}/topformflat
+rm %{buildroot}%{_bindir}/unifdef
 
 %files
 %defattr(-,root,root)




commit creduce for openSUSE:Factory

2017-01-20 Thread root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2017-01-20 13:08:04

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2016-05-19 
12:14:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2017-01-20 
13:08:05.419813156 +0100
@@ -1,0 +2,5 @@
+Thu Jan 19 09:19:07 UTC 2017 - mli...@suse.cz
+
+- Update to version 2.6.0.
+
+---

Old:

  creduce-2.5.0.tar.gz

New:

  creduce-2.6.0.tar.gz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.eYV7It/_old  2017-01-20 13:08:05.919741802 +0100
+++ /var/tmp/diff_new_pack.eYV7It/_new  2017-01-20 13:08:05.923741232 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package creduce
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:   creduce
-Version:2.5.0
+Version:2.6.0
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
@@ -28,8 +28,8 @@
 BuildRequires:  delta
 BuildRequires:  flex
 BuildRequires:  indent
-BuildRequires:  llvm-clang-devel >= 3.8.0
-BuildRequires:  llvm-devel >= 3.8.0
+BuildRequires:  llvm-clang-devel >= 3.9.0
+BuildRequires:  llvm-devel >= 3.9.0
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-Benchmark-Timer
 BuildRequires:  perl-Exporter-Lite

++ creduce-2.5.0.tar.gz -> creduce-2.6.0.tar.gz ++
 7653 lines of diff (skipped)




commit creduce for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2016-05-19 12:14:52

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2016-03-26 
17:25:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2016-05-19 
12:14:53.0 +0200
@@ -1,0 +2,11 @@
+Tue May 17 09:26:36 UTC 2016 - martin.li...@suse.com
+
+- Require unifdef package.
+
+---
+Mon May 16 12:28:58 UTC 2016 - martin.li...@suse.com
+
+- Update to version 2.5.0
+- Drop creduce-llvm-3.8.patch
+
+---

Old:

  creduce-2.4.0.tar.gz
  creduce-llvm-3.8.patch

New:

  creduce-2.5.0.tar.gz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.KhVvIr/_old  2016-05-19 12:14:54.0 +0200
+++ /var/tmp/diff_new_pack.KhVvIr/_new  2016-05-19 12:14:54.0 +0200
@@ -17,18 +17,27 @@
 
 
 Name:   creduce
-Version:2.4.0
+Version:2.5.0
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
-Patch1: creduce-llvm-3.8.patch
+BuildRequires:  astyle
+BuildRequires:  delta
 BuildRequires:  flex
-BuildRequires:  llvm-clang-devel >= 3.7.0
-BuildRequires:  llvm-devel >= 3.7.0
+BuildRequires:  indent
+BuildRequires:  llvm-clang-devel >= 3.8.0
+BuildRequires:  llvm-devel >= 3.8.0
 BuildRequires:  ncurses-devel
+BuildRequires:  perl-Benchmark-Timer
+BuildRequires:  perl-Exporter-Lite
+BuildRequires:  perl-File-Which
+BuildRequires:  perl-Getopt-Tabular
+BuildRequires:  perl-Regexp-Common
+BuildRequires:  perl-Sys-CPU
+BuildRequires:  perl-Term-ReadKey
 BuildRequires:  zlib-devel
 Requires:   astyle
 Requires:   delta
@@ -39,6 +48,8 @@
 Requires:   perl-Getopt-Tabular
 Requires:   perl-Regexp-Common
 Requires:   perl-Sys-CPU
+Requires:   perl-Term-ReadKey
+Requires:   unifdef
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -51,9 +62,6 @@
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
-%if 0%{?suse_version} > 1320
-%patch1 -p1
-%endif
 
 %build
 # bypass bug 927268 for PowerPC
@@ -69,6 +77,9 @@
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
+rm $RPM_BUILD_ROOT%{_prefix}/bin/topformflat
+rm $RPM_BUILD_ROOT%{_prefix}/bin/unifdef
+
 %files
 %defattr(-,root,root)
 %doc README COPYING

++ creduce-2.4.0.tar.gz -> creduce-2.5.0.tar.gz ++
 15282 lines of diff (skipped)




commit creduce for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2016-03-26 15:28:31

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2015-10-25 
19:13:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2016-03-26 
17:25:16.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar 24 08:04:57 UTC 2016 - idon...@suse.com
+
+- Add creduce-llvm-3.8.patch to fix build with llvm 3.8.0
+
+---

New:

  creduce-llvm-3.8.patch



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.2AZafj/_old  2016-03-26 17:25:17.0 +0100
+++ /var/tmp/diff_new_pack.2AZafj/_new  2016-03-26 17:25:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package creduce
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,6 +24,7 @@
 Group:  Development/Tools/Other
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
+Patch1: creduce-llvm-3.8.patch
 BuildRequires:  flex
 BuildRequires:  llvm-clang-devel >= 3.7.0
 BuildRequires:  llvm-devel >= 3.7.0
@@ -50,6 +51,9 @@
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
+%if 0%{?suse_version} > 1320
+%patch1 -p1
+%endif
 
 %build
 # bypass bug 927268 for PowerPC

++ creduce-llvm-3.8.patch ++
Index: creduce-creduce-2.4.0/clang_delta/TransformationManager.cpp
===
--- creduce-creduce-2.4.0.orig/clang_delta/TransformationManager.cpp
+++ creduce-creduce-2.4.0/clang_delta/TransformationManager.cpp
@@ -147,7 +147,7 @@ bool TransformationManager::initializeCo
   ClangInstance->setASTConsumer(
 std::unique_ptr(CurrentTransformationImpl));
   Preprocessor  = ClangInstance->getPreprocessor();
-  PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(),
+  PP.getBuiltinInfo().initializeBuiltins(PP.getIdentifierTable(),
  PP.getLangOpts());
 
   if (!ClangInstance->InitializeSourceManager(FrontendInputFile(SrcFileName, 
IK))) {



commit creduce for openSUSE:Factory

2015-10-25 Thread h_root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2015-10-25 19:13:13

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2015-10-20 
00:09:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2015-10-25 
19:13:15.0 +0100
@@ -1,0 +2,5 @@
+Thu Oct 22 11:55:28 UTC 2015 - norm...@linux.vnet.ibm.com
+
+- bypass boo#927268 for ppc64/ppc64le removing -fstack_protector
+
+---



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.GU0MYu/_old  2015-10-25 19:13:16.0 +0100
+++ /var/tmp/diff_new_pack.GU0MYu/_new  2015-10-25 19:13:16.0 +0100
@@ -52,7 +52,13 @@
 %setup -q -n %{name}-%{name}-%{version}
 
 %build
+# bypass bug 927268 for PowerPC
+tmpflags="%{optflags}"
+%ifarch ppc64 ppc64le
+tmpflags=${tmpflags/-fstack-protector}
+%endif
 export CXX=clang++
+export CXXFLAGS="${tmpflags}"
 %configure --libexec=%{_bindir}
 make %{?_smp_mflags}
 




commit creduce for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2015-10-19 22:53:56

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2015-09-17 
09:21:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2015-10-20 
00:09:00.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 19 13:09:42 UTC 2015 - idon...@suse.com
+
+- Update to version 2.4.0
+- Drop llvm-3.7.patch, fixed upstream
+
+---

Old:

  creduce-2.3.0.tar.gz
  llvm-3.7.patch

New:

  creduce-2.4.0.tar.gz



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.8R9hTw/_old  2015-10-20 00:09:01.0 +0200
+++ /var/tmp/diff_new_pack.8R9hTw/_new  2015-10-20 00:09:01.0 +0200
@@ -17,14 +17,13 @@
 
 
 Name:   creduce
-Version:2.3.0
+Version:2.4.0
 Release:0
 Summary:C-Reduce, a C program reducer
 License:BSD-3-Clause
 Group:  Development/Tools/Other
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
-Patch1: llvm-3.7.patch
 BuildRequires:  flex
 BuildRequires:  llvm-clang-devel >= 3.7.0
 BuildRequires:  llvm-devel >= 3.7.0
@@ -51,7 +50,6 @@
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
-%patch1 -p1
 
 %build
 export CXX=clang++

++ creduce-2.3.0.tar.gz -> creduce-2.4.0.tar.gz ++
 3161 lines of diff (skipped)




commit creduce for openSUSE:Factory

2015-09-17 Thread h_root
Hello community,

here is the log from the commit of package creduce for openSUSE:Factory checked 
in at 2015-09-17 09:21:42

Comparing /work/SRC/openSUSE:Factory/creduce (Old)
 and  /work/SRC/openSUSE:Factory/.creduce.new (New)


Package is "creduce"

Changes:

--- /work/SRC/openSUSE:Factory/creduce/creduce.changes  2015-07-03 
00:02:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.creduce.new/creduce.changes 2015-09-17 
09:21:46.0 +0200
@@ -1,0 +2,8 @@
+Tue Sep 15 08:23:05 UTC 2015 - idon...@suse.com
+
+- Add llvm-3.7.patch to fix compilation with llvm 3.7
+- Require llvm >= 3.7
+- Add missing astyle/indent Requires
+- Move perl BuildRequires into Requires, they are needed at runtime
+
+---

New:

  llvm-3.7.patch



Other differences:
--
++ creduce.spec ++
--- /var/tmp/diff_new_pack.7jdxZ9/_old  2015-09-17 09:21:47.0 +0200
+++ /var/tmp/diff_new_pack.7jdxZ9/_new  2015-09-17 09:21:47.0 +0200
@@ -24,18 +24,21 @@
 Group:  Development/Tools/Other
 Url:https://github.com/csmith-project/creduce
 Source: 
https://github.com/csmith-project/%{name}/archive/creduce-%{version}.tar.gz
-BuildRequires:  delta
+Patch1: llvm-3.7.patch
 BuildRequires:  flex
-BuildRequires:  llvm-clang-devel >= 3.6.0
-BuildRequires:  llvm-devel >= 3.6.0
+BuildRequires:  llvm-clang-devel >= 3.7.0
+BuildRequires:  llvm-devel >= 3.7.0
 BuildRequires:  ncurses-devel
-BuildRequires:  perl-Benchmark-Timer
-BuildRequires:  perl-Exporter-Lite
-BuildRequires:  perl-File-Which
-BuildRequires:  perl-Getopt-Tabular
-BuildRequires:  perl-Regexp-Common
-BuildRequires:  perl-Sys-CPU
 BuildRequires:  zlib-devel
+Requires:   astyle
+Requires:   delta
+Requires:   indent
+Requires:   perl-Benchmark-Timer
+Requires:   perl-Exporter-Lite
+Requires:   perl-File-Which
+Requires:   perl-Getopt-Tabular
+Requires:   perl-Regexp-Common
+Requires:   perl-Sys-CPU
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -48,6 +51,7 @@
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
+%patch1 -p1
 
 %build
 export CXX=clang++
@@ -59,7 +63,7 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog README COPYING
+%doc README COPYING
 %{_bindir}/creduce
 %{_bindir}/clang_delta
 %{_bindir}/clex

++ llvm-3.7.patch ++
diff --git a/clang_delta/RemoveNamespace.cpp b/clang_delta/RemoveNamespace.cpp
index 3e9ab98..c2559d7 100644
--- a/clang_delta/RemoveNamespace.cpp
+++ b/clang_delta/RemoveNamespace.cpp
@@ -742,7 +742,7 @@ bool RemoveNamespace::hasNameConflict(const NamedDecl *ND,
 return false;
 
   DeclarationName Name = ND->getDeclName();
-  DeclContext::lookup_const_result Result = ParentCtx->lookup(Name);
+  DeclContext::lookup_result Result = ParentCtx->lookup(Name);
   return !Result.empty();
 }
 
diff --git a/clang_delta/RemoveNestedFunction.cpp 
b/clang_delta/RemoveNestedFunction.cpp
index dd59b7d..411ac6b 100644
--- a/clang_delta/RemoveNestedFunction.cpp
+++ b/clang_delta/RemoveNestedFunction.cpp
@@ -427,7 +427,7 @@ bool RemoveNestedFunction::addNewTmpVariable(ASTContext 
)
 return RewriteHelper->addLocalVarToFunc(VarStr, TheFuncDecl);
   }
   //  return writeNewIntTmpVariable(VarStr);
-  QT = TheCallExpr->getCallReturnType();
+  QT = TheCallExpr->getCallReturnType(ASTCtx);
   return writeNewTmpVariable(QT, VarStr);
 }
 
diff --git a/clang_delta/RemoveUnusedFunction.cpp 
b/clang_delta/RemoveUnusedFunction.cpp
index bfd83c2..41b7d6c 100644
--- a/clang_delta/RemoveUnusedFunction.cpp
+++ b/clang_delta/RemoveUnusedFunction.cpp
@@ -647,8 +647,8 @@ RemoveUnusedFunction::lookupFunctionDeclShallow(const 
DeclarationName ,
 {
   if (dyn_cast(Ctx))
 return NULL;
-  DeclContext::lookup_const_result Result = Ctx->lookup(DName);
-  for (DeclContext::lookup_const_iterator I = Result.begin(), E = Result.end();
+  DeclContext::lookup_result Result = Ctx->lookup(DName);
+  for (auto I = Result.begin(), E = Result.end();
I != E; ++I) {
 if (const FunctionDecl *FD = dyn_cast(*I))
   return FD;
diff --git a/clang_delta/ReplaceCallExpr.cpp b/clang_delta/ReplaceCallExpr.cpp
index c274244..687313d 100644
--- a/clang_delta/ReplaceCallExpr.cpp
+++ b/clang_delta/ReplaceCallExpr.cpp
@@ -153,7 +153,7 @@ bool ReplaceCallExprVisitor::VisitCallExpr(CallExpr *CE)
   if (FD->getBuiltinID())
 T = FD->getReturnType().getTypePtr();
   else 
-T = CE->getCallReturnType().getTypePtr();
+T = CE->getCallReturnType(FD->getASTContext()).getTypePtr();
   if (T->isVoidType())
 return true;
 
diff --git a/clang_delta/SimpleInliner.cpp b/clang_delta/SimpleInliner.cpp
index 50bc5e4..05d5993 100644
--- a/clang_delta/SimpleInliner.cpp
+++