Date: Mon, 23 Feb 2026 13:13:03 +0000 From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a7eebe08411f - main - net/openpgm: fix build on non-x86 Message-ID: <699c525f.460aa.d95280c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7eebe08411fbfa7eebacd06874639bf113940b0 commit a7eebe08411fbfa7eebacd06874639bf113940b0 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2026-02-23 13:11:45 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2026-02-23 13:12:57 +0000 net/openpgm: fix build on non-x86 cpu.c:44:7: error: invalid output constraint '=a' in asm 44 | : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) | ^ cpu.c:56:16: error: invalid output constraint '=a' in asm 56 | "xgetbv" : "=a"(eax), "=d"(edx) : "c"(xcr)); | ^ 2 errors generated. --- net/openpgm/files/patch-cpu.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/net/openpgm/files/patch-cpu.c b/net/openpgm/files/patch-cpu.c new file mode 100644 index 000000000000..b0035eb136b8 --- /dev/null +++ b/net/openpgm/files/patch-cpu.c @@ -0,0 +1,11 @@ +--- cpu.c.orig 2026-02-23 13:07:38 UTC ++++ cpu.c +@@ -33,7 +33,7 @@ + //#define CPU_DEBUG + + +-#ifndef _MSC_VER ++#if defined(__i386__) || defined(__x86_64__) + static + void + __cpuidex (int cpu_info[4], int function_id, int subfunction_id) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699c525f.460aa.d95280c>
