Fix build on DragonFly 3.4.3

This commit is contained in:
ryoon 2013-11-01 09:49:20 +00:00
parent 10cd765abe
commit e6c4214668
2 changed files with 17 additions and 1 deletions

View file

@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.39 2013/10/29 17:34:04 jklos Exp $
$NetBSD: distinfo,v 1.40 2013/11/01 09:49:20 ryoon Exp $
SHA1 (m4-1.4.17.tar.gz) = 4f80aed6d8ae3dacf97a0cb6e989845269e342f0
RMD160 (m4-1.4.17.tar.gz) = d81675f1d358ce5eee27184a9d946acfc97a912b
Size (m4-1.4.17.tar.gz) = 1820658 bytes
SHA1 (patch-ab) = 9e9527cdd4b7ba3501d603f0e5ca60c2150e4359
SHA1 (patch-isnan.c) = a960f35e5168bed47c5924e36bfb254dc1a44621
SHA1 (patch-lib_fpending.h) = 6f29893c24b03916200f36867ad30ba101f8ef16
SHA1 (patch-lib_stdio.in.h) = cc5a8572e274b576a154c7a6b14f0a14de5abacd

View file

@ -0,0 +1,15 @@
$NetBSD: patch-lib_fpending.h,v 1.1 2013/11/01 09:49:20 ryoon Exp $
https://github.com/jrmarino/DPorts/blob/9d9256e3b72a1273339bce4b68878e64b6fadcde/devel/m4/dragonfly/patch-lib_fpending.h
--- lib/fpending.h.orig 2013-09-22 06:15:20.000000000 +0000
+++ lib/fpending.h
@@ -24,6 +24,8 @@
# include <stdio_ext.h>
#endif
+#ifndef __DragonFly__
#ifndef __fpending
size_t __fpending (FILE *);
#endif
+#endif