pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/m4 m4: fix building on sparcv8
details: https://anonhg.NetBSD.org/pkgsrc/rev/76e0ee19d783
branches: trunk
changeset: 769439:76e0ee19d783
user: nia <nia%pkgsrc.org@localhost>
date: Mon Nov 15 13:20:04 2021 +0000
description:
m4: fix building on sparcv8
from John D. Baker in PR pkg/56498
diffstat:
devel/m4/distinfo | 4 +++-
devel/m4/patches/patch-configure | 15 +++++++++++++++
devel/m4/patches/patch-m4_sparcv8+.m4 | 15 +++++++++++++++
3 files changed, 33 insertions(+), 1 deletions(-)
diffs (51 lines):
diff -r eb29999de284 -r 76e0ee19d783 devel/m4/distinfo
--- a/devel/m4/distinfo Mon Nov 15 13:07:12 2021 +0000
+++ b/devel/m4/distinfo Mon Nov 15 13:20:04 2021 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.51 2021/10/26 10:15:38 nia Exp $
+$NetBSD: distinfo,v 1.52 2021/11/15 13:20:04 nia Exp $
BLAKE2s (m4-1.4.19.tar.gz) = f1380114d839935b2afa53fdd7162dc5df2bbeb6d5eab48528916a138f483cbc
SHA512 (m4-1.4.19.tar.gz) = f5dd0f02fcae65a176a16af9a8e1747c26e9440c6c224003ba458d3298b777a75ffb189aee9051fb0c4840b2a48278be4a51d959381af0b1d627570f478c58f2
Size (m4-1.4.19.tar.gz) = 2953876 bytes
+SHA1 (patch-configure) = 941bba8b1a10c3fc305d20abdb247cf45e44d534
SHA1 (patch-lib_strerror_override.c) = 29905fecf6c92f75c4999f1e3cb56e14fe2f4aae
+SHA1 (patch-m4_sparcv8+.m4) = 761e592a700ea47ac0ba15d960f073115005dedd
diff -r eb29999de284 -r 76e0ee19d783 devel/m4/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-configure Mon Nov 15 13:20:04 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2021/11/15 13:20:04 nia Exp $
+
+PR pkg/56498: "devel/m4" build fails on netbsd-9/sparc
+
+--- configure.orig 2021-05-28 18:49:43.000000000 +0000
++++ configure
+@@ -8835,7 +8835,7 @@ rm -f core conftest.err conftest.$ac_obj
+ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sparc_v8plus" >&5
+ printf "%s\n" "$gl_cv_sparc_v8plus" >&6; }
+- if test $gl_cv_sparc_v8plus = no; then
++ if test $gl_cv_sparc_v8plus != no; then
+ CC="$CC -mcpu=v9"
+ CXX="$CXX -mcpu=v9"
+ fi
diff -r eb29999de284 -r 76e0ee19d783 devel/m4/patches/patch-m4_sparcv8+.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-m4_sparcv8+.m4 Mon Nov 15 13:20:04 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-m4_sparcv8+.m4,v 1.1 2021/11/15 13:20:04 nia Exp $
+
+pkg/56498: "devel/m4" build fails on netbsd-9/sparc
+
+--- m4/sparcv8+.m4.orig 2021-04-22 20:28:47.000000000 +0000
++++ m4/sparcv8+.m4
+@@ -30,7 +30,7 @@ AC_DEFUN([gl_SPARC_V8PLUS],
+ [gl_cv_sparc_v8plus=yes],
+ [gl_cv_sparc_v8plus=no])
+ ])
+- if test $gl_cv_sparc_v8plus = no; then
++ if test $gl_cv_sparc_v8plus != no; then
+ dnl Strangely enough, '-mv8plus' does not have the desired effect.
+ dnl But '-mcpu=v9' does.
+ CC="$CC -mcpu=v9"
Home |
Main Index |
Thread Index |
Old Index