Accepting request 205222 from home:Andreas_Schwab:Factory

- debugedit-m68k.patch: Add support for m68k

OBS-URL: https://build.opensuse.org/request/show/205222
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=301
This commit is contained in:
Michael Schröder 2013-10-30 11:45:12 +00:00 committed by Git OBS Bridge
parent 6ab9975100
commit bce54364d3
3 changed files with 22 additions and 0 deletions

15
debugedit-m68k.patch Normal file
View File

@ -0,0 +1,15 @@
Index: tools/debugedit.c
===================================================================
--- tools/debugedit.c.orig
+++ tools/debugedit.c
@@ -1235,6 +1235,10 @@ edit_dwarf2 (DSO *dso)
goto fail;
break;
#endif
+ case EM_68K:
+ if (rtype != R_68K_32)
+ goto fail;
+ break;
default:
fail:
error (1, 0, "%s: Unhandled relocation %d in .debug_info section",

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 30 10:19:00 UTC 2013 - schwab@suse.de
- debugedit-m68k.patch: Add support for m68k
-------------------------------------------------------------------
Wed Oct 9 09:49:47 UTC 2013 - schwab@suse.de

View File

@ -144,6 +144,7 @@ Patch89: application_provides.diff
Patch90: appdata_provides.diff
Patch6464: auto-config-update-aarch64.diff
Patch68000: m68k.patch
Patch68001: debugedit-m68k.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@ -235,6 +236,7 @@ rm -f rpmdb/db.h
%patch6464
%endif
%patch68000
%patch68001
cp config.guess config.sub db/dist/
cp config.guess config.sub beecrypt/
#chmod 755 scripts/find-supplements{,.ksyms}