diff --git a/debugedit-m68k.patch b/debugedit-m68k.patch new file mode 100644 index 0000000..89bc25f --- /dev/null +++ b/debugedit-m68k.patch @@ -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", diff --git a/rpm.changes b/rpm.changes index 23ac616..8309201 100644 --- a/rpm.changes +++ b/rpm.changes @@ -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 diff --git a/rpm.spec b/rpm.spec index 3b6ef4a..51ab917 100644 --- a/rpm.spec +++ b/rpm.spec @@ -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}