Skip to content
Permalink
Browse files

groff: fix implicitly defined functions

  • Loading branch information
Schamschula committed Jun 27, 2020
1 parent bcc04bf commit b5e39bad78ab40146cd933246f5f1c7fdcd4e567
Showing with 24 additions and 0 deletions.
  1. +2 −0 sysutils/groff/Portfile
  2. +22 −0 sysutils/groff/files/patch-implicitly-defined.diff
@@ -25,6 +25,8 @@ checksums rmd160 6f0555695ac882a8e1f925cce22f7e3d267188cb \
sha256 e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293 \
size 4137480

patchfiles patch-implicitly-defined.diff

configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
--without-x \
@@ -0,0 +1,22 @@
--- configure.orig 2020-06-26 20:48:51.000000000 -0500
+++ configure 2020-06-26 20:49:18.000000000 -0500
@@ -23730,7 +23730,7 @@
main ()
{

-
+#include <stdlib.h>
main()
{
#ifdef WCOREFLAG
--- lib/math.in.h.orig 2018-12-23 08:34:15.000000000 -0600
+++ lib/math.in.h 2020-06-26 21:03:03.000000000 -0500
@@ -22,6 +22,8 @@
#endif
@PRAGMA_COLUMNS@

+#include "config.h"
+
/* The include_next requires a split double-inclusion guard. */
#@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_MATH_H@

0 comments on commit b5e39ba

Please sign in to comment.
You can’t perform that action at this time.