public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Nasrat <pnasrat@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Remove ppc64 inline asm (#233145)
Date: Mon, 23 Nov 2026 09:24:02 GMT [thread overview]
Message-ID: <179542584286.1.17590192331927927882.rpms-rpm-eb6953f5513e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : eb6953f5513e000c20d2074d56405296af4239c1
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date : 2007-04-04T13:17:15+00:00
Stats : +37/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/eb6953f5513e000c20d2074d56405296af4239c1?branch=pmatilai-v6
Log:
Remove ppc64 inline asm (#233145)
---
diff --git a/rpm-4.4.2-no-ppc-asm.patch b/rpm-4.4.2-no-ppc-asm.patch
new file mode 100644
index 0000000..8a5efd3
--- /dev/null
+++ b/rpm-4.4.2-no-ppc-asm.patch
@@ -0,0 +1,30 @@
+--- rpm-4.3.3/lib/rpmrc.c.asm 2005-09-19 13:17:02.000000000 -0400
++++ rpm-4.3.3/lib/rpmrc.c 2005-09-19 13:17:23.000000000 -0400
+@@ -1278,27 +1278,6 @@
+ }
+ # endif
+
+-# if defined(__linux__) && defined(__powerpc__)
+- {
+- unsigned pvr = 0;
+- __sighandler_t oldh = signal(SIGILL, mfspr_ill);
+- if (setjmp(mfspr_jmpbuf) == 0) {
+- __asm__ __volatile__ ("mfspr %0, 287" : "=r" (pvr));
+- }
+- signal(SIGILL, oldh);
+-
+- if ( pvr ) {
+- pvr >>= 16;
+- if ( pvr >= 0x40)
+- strcpy(un.machine, "ppcpseries");
+- else if ( (pvr == 0x36) || (pvr == 0x37) )
+- strcpy(un.machine, "ppciseries");
+- else
+- strcpy(un.machine, "ppc");
+- }
+- }
+-# endif
+-
+ /* the uname() result goes through the arch_canon table */
+ canon = lookupInCanonTable(un.machine,
+ tables[RPM_MACHTABLE_INSTARCH].canons,
diff --git a/rpm.spec b/rpm.spec
index f9ccec2..29cb7c0 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1,4 +1,4 @@
-%define with_python_version 2.4%{nil}
+%define with_python_version 2.5%{nil}
%define with_apidocs 1%{nil}
# XXX legacy requires './' payload prefix to be omitted from rpm packages.
@@ -17,7 +17,7 @@ Summary: The RPM package management system
Name: rpm
Version: 4.4.2
%{expand: %%define rpm_version %{version}}
-Release: 41%{?dist}
+Release: 42%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source: rpm-%{rpm_version}.tar.gz
@@ -62,6 +62,7 @@ Patch35: rpm-4.4.2-query-flushbuffer.patch
Patch36: rpm-4.4.2-unicodekey.patch
Patch37: rpm-4.4.2-noneon.patch
Patch38: rpm-4.4.2-debugedit-canonicalize-path.patch
+Patch39: rpm-4.4.2-no-ppc-asm.patch
License: GPL
Requires: patch > 2.5
Prereq: shadow-utils
@@ -202,6 +203,7 @@ shell-like rules.
%patch36 -p1 -b .unicode
%patch37 -p1 -b .noneon
%patch38 -p0 -b .debugcan
+%patch39 -p1 -b .noppcasm
# rebuild configure for ipv6
autoconf
@@ -560,6 +562,9 @@ exit 0
%{__includedir}/popt.h
%changelog
+* Wed Apr 04 2007 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-42
+- Remove ppc64 inline asm (#233145)
+
* Tue Mar 13 2007 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-41
- Fix potential segfault when no rpmloc_path (#231146)
- Fix debugedit for relative paths (#232222)
reply other threads:[~2026-11-23 9:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542584286.1.17590192331927927882.rpms-rpm-eb6953f5513e@fedoraproject.org \
--to=pnasrat@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox