Accepting request 283860 from home:elvigia:branches:devel:tools:compiler
- yasm-re2c-nogendate.patch: Do not add date and time to files generated with builtin old/different implementation of re2c. [BNC#915937] OBS-URL: https://build.opensuse.org/request/show/283860 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/yasm?expand=0&rev=23
This commit is contained in:
parent
106b9bd149
commit
fa2786a276
15
yasm-re2c-nogendate.patch
Normal file
15
yasm-re2c-nogendate.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- yasm-1.3.0.orig/tools/re2c/parser.c
|
||||
+++ yasm-1.3.0/tools/re2c/parser.c
|
||||
@@ -232,9 +232,9 @@ void parse(FILE *i, FILE *o){
|
||||
|
||||
peektok = NONE;
|
||||
|
||||
- fputs("/* Generated by re2c 0.9.1-C on ", o);
|
||||
- fprintf(o, "%-24s", ctime(&now));
|
||||
- fputs(" */\n", o); oline+=2;
|
||||
+ //fputs("/* Generated by re2c 0.9.1-C on ", o);
|
||||
+ //fprintf(o, "%-24s", ctime(&now));
|
||||
+ //fputs(" */\n", o); oline+=2;
|
||||
|
||||
in = Scanner_new(i);
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 11:45:57 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
||||
- yasm-re2c-nogendate.patch: Do not add date and time
|
||||
to files generated with builtin old/different implementation
|
||||
of re2c. [BNC#915937]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 17 11:42:03 UTC 2014 - idonmez@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package yasm
|
||||
#
|
||||
# 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://www.tortall.net/projects/yasm/
|
||||
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
|
||||
Patch0: %{name}-no-build-date.patch
|
||||
Patch1: %{name}-no-rpm-opt-flags.patch
|
||||
Patch2: yasm-re2c-nogendate.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-base
|
||||
BuildRequires: xmlto
|
||||
@ -50,7 +51,7 @@ libyasm.
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
|
||||
%patch2 -p1
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user