FreeBSD Bugzilla – Attachment 237341 Details for
Bug 267021
deskutils/remind: fix build on riscv64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
deskutils/remind: fix build on riscv64
0001-deskutils-remind-fix-build-on-riscv64.patch (text/plain), 1.87 KB, created by
Robert Clausecker
on 2022-10-15 16:53:53 UTC
(
hide
)
Description:
deskutils/remind: fix build on riscv64
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2022-10-15 16:53:53 UTC
Size:
1.87 KB
patch
obsolete
>From 5b1063661ef26a16c3054bf93dbdc21d85302774 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Thu, 13 Oct 2022 16:41:21 +0200 >Subject: [PATCH] deskutils/remind: fix build on riscv64 > >The LTO build fails on riscv64 due to a phony linker error >about ABI incompatibility. Disable LTO on riscv64 to make >the build succeed. >--- > deskutils/remind/Makefile | 6 ++++++ > deskutils/remind/files/extra-patch-configure.in | 10 ++++++++++ > 2 files changed, 16 insertions(+) > create mode 100644 deskutils/remind/files/extra-patch-configure.in > >diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile >index 5a51642b9e67..d5bdc89a2ef1 100644 >--- a/deskutils/remind/Makefile >+++ b/deskutils/remind/Makefile >@@ -11,11 +11,17 @@ WWW= https://dianne.skoll.ca/projects/remind/ > > LICENSE= GPLv2 > >+USES= autoreconf >+ > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --disable-perl-build-artifacts > MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}" > INSTALL_TARGET= ${WITH_DEBUG:Dinstall:Uinstall-stripped} > >+# disable LTO on riscv64 >+EXTRA_PATCHES_riscv64= ${FILESDIR}/extra-patch-configure.in >+EXTRA_PATCHES= ${EXTRA_PATCHES_${ARCH}} >+ > OPTIONS_DEFINE= A4 TCLTK REM2HTML REM2PDF > OPTIONS_DEFAULT= LANG_US REM2HTML REM2PDF > OPTIONS_SINGLE= LANGUAGE >diff --git a/deskutils/remind/files/extra-patch-configure.in b/deskutils/remind/files/extra-patch-configure.in >new file mode 100644 >index 000000000000..bac6c6366f21 >--- /dev/null >+++ b/deskutils/remind/files/extra-patch-configure.in >@@ -0,0 +1,10 @@ >+--- configure.in.orig 2022-10-13 14:15:40 UTC >++++ configure.in >+@@ -51,7 +51,6 @@ if test "$GCC" = yes; then >+ AC_MSG_CHECKING([whether $CC supports $f]) >+ if $CC -E $f /dev/null > /dev/null 2>&1 ; then >+ AC_MSG_RESULT([yes]) >+- CFLAGS="$CFLAGS $f" >+ else >+ AC_MSG_RESULT([no]) >+ fi >-- >2.37.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 267021
:
237268
| 237341