From e38f6d0d5f565352a372f430b7710edeab4e4d90 Mon Sep 17 00:00:00 2001 From: asau Date: Thu, 17 Apr 2014 21:34:16 +0000 Subject: Stop using malloc.h, it is intentionally broken on FreeBSD. --- print/rtf2latex2e/distinfo | 3 ++- print/rtf2latex2e/patches/patch-src_common_cole_oledecod.c | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 print/rtf2latex2e/patches/patch-src_common_cole_oledecod.c diff --git a/print/rtf2latex2e/distinfo b/print/rtf2latex2e/distinfo index 37cae17d86a..1bcac2da8ce 100644 --- a/print/rtf2latex2e/distinfo +++ b/print/rtf2latex2e/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/02/03 02:45:23 reed Exp $ +$NetBSD: distinfo,v 1.2 2014/04/17 21:34:16 asau Exp $ SHA1 (rtf2latex2eUnix1.tar.gz) = e077351b0ee0713aaa7a02121449f568e4cdace5 RMD160 (rtf2latex2eUnix1.tar.gz) = 4b7174f0c680874b0ac6dd712827d8c659b9dc66 Size (rtf2latex2eUnix1.tar.gz) = 540992 bytes SHA1 (patch-aa) = a9cba2a36e0b0eb65779cbdc810e2e6f04306dd8 +SHA1 (patch-src_common_cole_oledecod.c) = adcf9d97671192102a28ce81dba5c87af5a5d3b4 diff --git a/print/rtf2latex2e/patches/patch-src_common_cole_oledecod.c b/print/rtf2latex2e/patches/patch-src_common_cole_oledecod.c new file mode 100644 index 00000000000..8f022e63496 --- /dev/null +++ b/print/rtf2latex2e/patches/patch-src_common_cole_oledecod.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_common_cole_oledecod.c,v 1.1 2014/04/17 21:34:16 asau Exp $ + +--- src/common/cole/oledecod.c.orig 2001-05-18 19:00:46.000000000 +0000 ++++ src/common/cole/oledecod.c +@@ -44,7 +44,6 @@ + #if __GNUC__ + #if __APPLE__ + #else +- #include + #endif + #include + #endif -- cgit v1.2.3