pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libwpd/patches ... and a patch for NetBSD 3.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5dfcc3813f2f
branches:  trunk
changeset: 526797:5dfcc3813f2f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 18 20:41:50 2007 +0000

description:
... and a patch for NetBSD 3.0.

diffstat:

 converters/libwpd/patches/patch-aa |  20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r 8e6cd0837aaa -r 5dfcc3813f2f converters/libwpd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libwpd/patches/patch-aa        Sun Mar 18 20:41:50 2007 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2007/03/18 20:41:50 rillig Exp $
+
+NetBSD 3.0 is missing the extern "C" around the definition of
+vsnprintf() in <stdio.h>. In NetBSD 4.99.4, it is fixed.
+
+--- src/lib/WPXString.cpp.orig 2007-03-04 10:44:21.000000000 +0100
++++ src/lib/WPXString.cpp      2007-03-18 21:29:54.000000000 +0100
+@@ -24,6 +24,12 @@
+  * Corel Corporation or Corel Corporation Limited."
+  */
+ 
++#if defined(__NetBSD__)
++extern "C" {
++#include <stdio.h>
++}
++#endif
++
+ #include "WPXString.h"
+ #include "libwpd_internal.h"
+ 



Home | Main Index | Thread Index | Old Index