Accepting request 283969 from devel:tools:compiler
1 OBS-URL: https://build.opensuse.org/request/show/283969 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yasm?expand=0&rev=27
This commit is contained in:
commit
6480874cb1
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
|
Fri Oct 17 11:42:03 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package yasm
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
|
||||||
Patch0: %{name}-no-build-date.patch
|
Patch0: %{name}-no-build-date.patch
|
||||||
Patch1: %{name}-no-rpm-opt-flags.patch
|
Patch1: %{name}-no-rpm-opt-flags.patch
|
||||||
|
Patch2: yasm-re2c-nogendate.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-base
|
BuildRequires: python-base
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -50,7 +51,7 @@ libyasm.
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2 -p1
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user