Accepting request 338811 from home:Dmitry_R:branches:electronics
- Fix build with GCC5 * crosstool-ng-gcc5.patch OBS-URL: https://build.opensuse.org/request/show/338811 OBS-URL: https://build.opensuse.org/package/show/electronics/crosstool-ng?expand=0&rev=6
This commit is contained in:
parent
62cc9d6e73
commit
dc9737138e
13
crosstool-ng-gcc5.patch
Normal file
13
crosstool-ng-gcc5.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: crosstool-ng-1.21.0/kconfig/nconf.c
|
||||
===================================================================
|
||||
--- crosstool-ng-1.21.0.orig/kconfig/nconf.c
|
||||
+++ crosstool-ng-1.21.0/kconfig/nconf.c
|
||||
@@ -1518,7 +1518,7 @@ int main(int ac, char **av)
|
||||
}
|
||||
|
||||
notimeout(stdscr, FALSE);
|
||||
- ESCDELAY = 1;
|
||||
+ set_escdelay(1);
|
||||
|
||||
/* set btns menu */
|
||||
curses_menu = new_menu(curses_menu_items);
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 14 11:06:12 UTC 2015 - dmitry_r@opensuse.org
|
||||
|
||||
- Fix build with GCC5
|
||||
* crosstool-ng-gcc5.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 13:20:25 UTC 2015 - dmitry_r@opensuse.org
|
||||
|
||||
|
@ -24,6 +24,8 @@ License: GPL-2.0 and GPL-2.0+ and GPL-3.0+ and LGPL-2.1 and LGPL-3.0+
|
||||
Group: Development/Tools/Building
|
||||
Url: http://crosstool-ng.org
|
||||
Source0: http://crosstool-ng.org/download/crosstool-ng/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM -- crosstool-ng-gcc5.patch -- fix build with GCC5
|
||||
Patch1: crosstool-ng-gcc5.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
@ -50,6 +52,7 @@ in the resulting binary/ies: static libraries are but an example.
|
||||
|
||||
%prep
|
||||
%setup -qc %{name}-%{version}
|
||||
%patch1 -p1
|
||||
# from legal team
|
||||
# "Distribution and use is free, also for commercial purposes" (no modification permission)
|
||||
find patches/ -name '*-new-valencian-locale.patch' -type f -delete -print
|
||||
|
Loading…
Reference in New Issue
Block a user