git: bae65d81de99 - main - print/openprinting: Fix build with upcoming binutils

Fernando Apesteguía fernape at FreeBSD.org
Thu Aug 5 17:24:25 UTC 2021


The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bae65d81de990bac28938e2822014e81b6837e7c

commit bae65d81de990bac28938e2822014e81b6837e7c
Author:     Yasuhiro Kimura <yasu at utahime.org>
AuthorDate: 2021-08-05 16:50:33 +0000
Commit:     Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-08-05 17:19:32 +0000

    print/openprinting: Fix build with upcoming  binutils
    
    Fix build issue detected in exp-run for the upcoming devel/binutils 2.37
    
    PR:     257640
    Reported by:    yasu at utahime.org
---
 print/openprinting/files/patch-configure | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/print/openprinting/files/patch-configure b/print/openprinting/files/patch-configure
new file mode 100644
index 000000000000..3b078eb7a7f1
--- /dev/null
+++ b/print/openprinting/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig	2006-03-12 06:16:51 UTC
++++ configure
+@@ -20913,6 +20913,9 @@ else
+ fi
+ 
+ case "$os" in
++	FreeBSD)
++		MAP_FILTER="#"
++		MAPFLAGS="-Wl,-Map=mapfile" ;;
+ 	Linux)
+ 		MAP_FILTER="; #"
+ 		MAPFLAGS="-Wl,--version-script=mapfile" ;;


More information about the dev-commits-ports-main mailing list