From bce54364d3b6376b84cce01fc5b2df16d11cd2f64fc93e4c63ddf40ca7babfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Wed, 30 Oct 2013 11:45:12 +0000 Subject: [PATCH] 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 --- debugedit-m68k.patch | 15 +++++++++++++++ rpm.changes | 5 +++++ rpm.spec | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 debugedit-m68k.patch 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}