- add dtc-no-common-conflict.patch (bsc#1160388)

OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=50
This commit is contained in:
Dirk Mueller 2020-01-16 08:58:28 +00:00 committed by Git OBS Bridge
parent efebb20a5c
commit bbdbf47540
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- dtc-lexer.l
+++ dtc-lexer.l
@@ -23,7 +23,6 @@
#include "srcpos.h"
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 14 12:54:51 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- add dtc-no-common-conflict.patch (bsc#1160388)
-------------------------------------------------------------------
Sun Dec 8 09:18:44 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
#
# spec file for package dtc
#
# Copyright (c) 2019 SUSE LLC
# 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
@ -26,6 +26,7 @@ URL: https://github.com/dgibson/dtc
Source0: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.gz
Source1: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.sign
Source2: baselibs.conf
Patch0: dtc-no-common-conflict.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: libyaml-devel
@ -71,6 +72,7 @@ Python binding part.
%prep
%setup -q
%patch0
%build
export EXTRA_CFLAGS="%{optflags}"