aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@utahime.org>2021-08-05 16:50:33 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-08-05 17:19:32 +0000
commitbae65d81de990bac28938e2822014e81b6837e7c (patch)
tree71879285e2df39eadcd4d5ae8b7d1b5bfd3c24ec
parent3401e541d6c4566e5549aa25c1cadbad9b9cfd25 (diff)
downloadports-bae65d81de99.tar.gz
ports-bae65d81de99.zip
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@utahime.org
-rw-r--r--print/openprinting/files/patch-configure12
1 files changed, 12 insertions, 0 deletions
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" ;;