summaryrefslogtreecommitdiff
path: root/system/mandoc/configure.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-05 16:45:20 -0500
committerMax Rees <maxcrees@me.com>2020-06-12 19:07:10 -0500
commit550361815d6a1cf261e99ad2b430433ef6966e1a (patch)
treee1a44528172acab832067997083e95fc74f8f79c /system/mandoc/configure.patch
parent4e53c51f591cbd62817c797c10d240c008182ab3 (diff)
downloadpackages-550361815d6a1cf261e99ad2b430433ef6966e1a.tar.gz
packages-550361815d6a1cf261e99ad2b430433ef6966e1a.tar.bz2
packages-550361815d6a1cf261e99ad2b430433ef6966e1a.tar.xz
packages-550361815d6a1cf261e99ad2b430433ef6966e1a.zip
system/mandoc: new package
Diffstat (limited to 'system/mandoc/configure.patch')
-rw-r--r--system/mandoc/configure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/mandoc/configure.patch b/system/mandoc/configure.patch
new file mode 100644
index 000000000..2fda25409
--- /dev/null
+++ b/system/mandoc/configure.patch
@@ -0,0 +1,21 @@
+--- mandoc-1.14.5/test-recvmsg.c 2019-03-10 04:56:43.000000000 -0500
++++ mandoc-1.14.5/test-recvmsg.c 2020-06-04 20:08:33.420299034 -0500
+@@ -4,5 +4,6 @@
+ int
+ main(void)
+ {
+- return recvmsg(-1, NULL, 0) != -1;
++ struct msghdr buf;
++ return recvmsg(-1, &buf, 0) != -1;
+ }
+--- mandoc-1.14.5/configure 2019-03-10 04:56:43.000000000 -0500
++++ mandoc-1.14.5/configure 2020-06-04 20:03:24.790295729 -0500
+@@ -41,7 +41,7 @@ OSENUM=
+ OSNAME=
+ UTF8_LOCALE=
+
+-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
++CC=cc
+ CFLAGS=
+ LDADD=
+ LDFLAGS=