public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - Hopefully fix armv7 vfp/neon detection
Date: Mon, 23 Nov 2026 09:28:59 GMT	[thread overview]
Message-ID: <179542613960.1.9689664311635241476.rpms-rpm-017fe597e0e9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 017fe597e0e9dbc5150b8850b89e4bc3a04f5759
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2014-07-02T14:32:57+03:00
Stats  : +20/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/017fe597e0e9dbc5150b8850b89e4bc3a04f5759?branch=pmatilai-v6

Log:
- Hopefully fix armv7 vfp/neon detection

---
diff --git a/rpm-4.11.90-arm-vfp3.patch b/rpm-4.11.90-arm-vfp3.patch
new file mode 100644
index 0000000..36027de
--- /dev/null
+++ b/rpm-4.11.90-arm-vfp3.patch
@@ -0,0 +1,18 @@
+diff -up rpm-4.11.90-git12844/lib/rpmrc.c.arm-vfp3 rpm-4.11.90-git12844/lib/rpmrc.c
+--- rpm-4.11.90-git12844/lib/rpmrc.c.arm-vfp3	2014-07-02 13:06:07.626643228 +0300
++++ rpm-4.11.90-git12844/lib/rpmrc.c	2014-07-02 13:06:24.290591042 +0300
+@@ -1156,11 +1156,11 @@ static void defaultMachine(rpmrcCtx ctx,
+ #	if !defined(HWCAP_ARM_NEON)
+ #	    define HWCAP_ARM_NEON	(1 << 12)
+ #	endif
+-#	if !defined(HWCAP_ARM_VFPv3D16)
+-#	    define HWCAP_ARM_VFPv3D16	(1 << 13)
++#	if !defined(HWCAP_ARM_VFPv3)
++#	    define HWCAP_ARM_VFPv3	(1 << 13)
+ #	endif
+ 	if (rstreq(un.machine, "armv7l")) {
+-	    if (rpmat.hwcap & HWCAP_ARM_VFPv3D16) {
++	    if (rpmat.hwcap & HWCAP_ARM_VFPv3) {
+ 		if (rpmat.hwcap & HWCAP_ARM_NEON)
+ 		    strcpy(un.machine, "armv7hnl");
+ 		else

diff --git a/rpm.spec b/rpm.spec
index b5aa2ae..c205d95 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -50,6 +50,7 @@ Patch4: rpm-4.8.1-use-gpg2.patch
 # Patches already upstream:
 Patch100: rpm-4.11.90-hardlink-groups.patch
 Patch101: rpm-4.11.90-expand-load-arg.patch
+Patch102: rpm-4.11.90-arm-vfp3.patch
 
 # These are not yet upstream
 Patch302: rpm-4.7.1-geode-i686.patch
@@ -530,6 +531,7 @@ exit 0
 %changelog
 * Wed Jul 02 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.90-0.git12844.4
 - Use autosetup for building rpm itself
+- Hopefully fix armv7 vfp/neon detection
 
 * Tue Jul 01 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.90-0.git12844.3
 - Drop no longer needed temporary UsrMove patch

                 reply	other threads:[~2026-11-23  9:28 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=179542613960.1.9689664311635241476.rpms-rpm-017fe597e0e9@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --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