Accepting request 338812 from electronics

1

OBS-URL: https://build.opensuse.org/request/show/338812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crosstool-ng?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2015-10-19 20:51:19 +00:00 committed by Git OBS Bridge
commit 198c015424
3 changed files with 22 additions and 0 deletions

13
crosstool-ng-gcc5.patch Normal file
View 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);

View File

@ -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

View File

@ -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