From fef61209fea87f7d513ffa931e5920db354abf3529facfbde0352cd5ab7cfe68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 5 Feb 2015 13:55:45 +0000 Subject: [PATCH] Accepting request 283858 from home:elvigia:branches:devel:tools:compiler - re2c-nogenerationdatedefault.patch: Default to --no-generation-date to avoid build-compare problems [BNC#915937] OBS-URL: https://build.opensuse.org/request/show/283858 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=13 --- re2c-nogenerationdatedefault.patch | 11 +++++++++++ re2c.changes | 6 ++++++ re2c.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 re2c-nogenerationdatedefault.patch diff --git a/re2c-nogenerationdatedefault.patch b/re2c-nogenerationdatedefault.patch new file mode 100644 index 0000000..3a7fad5 --- /dev/null +++ b/re2c-nogenerationdatedefault.patch @@ -0,0 +1,11 @@ +--- re2c-0.13.7.5.orig/main.cc ++++ re2c-0.13.7.5/main.cc +@@ -35,7 +35,7 @@ bool rFlag = false; + bool sFlag = false; + bool tFlag = false; + +-bool bNoGenerationDate = false; ++bool bNoGenerationDate = true; + + bool bSinglePass = false; + bool bFirstPass = true; diff --git a/re2c.changes b/re2c.changes index 606cdd1..45bcfb4 100644 --- a/re2c.changes +++ b/re2c.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 3 11:35:34 UTC 2015 - crrodriguez@opensuse.org + +- re2c-nogenerationdatedefault.patch: Default to + --no-generation-date to avoid build-compare problems [BNC#915937] + ------------------------------------------------------------------- Thu Dec 11 23:03:37 UTC 2014 - crrodriguez@opensuse.org diff --git a/re2c.spec b/re2c.spec index 0a52069..05cc780 100644 --- a/re2c.spec +++ b/re2c.spec @@ -1,7 +1,7 @@ # # spec file for package re2c # -# 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 @@ -26,6 +26,7 @@ Url: http://re2c.org/ Source: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: re2c-nogenerationdatedefault.patch %description re2c is a tool for writing fast and flexible lexers. Unlike other such @@ -36,6 +37,7 @@ terms of size and speed. %prep %setup -q +%patch0 -p1 find lessons examples -type f -print0 \ | xargs -r0 chmod -v a-x