diff options
author | tnn <tnn@pkgsrc.org> | 2008-01-21 13:56:28 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-01-21 13:56:28 +0000 |
commit | 3fcd04b777e4f5d614a1334c3975397c18aa40d6 (patch) | |
tree | 7df93219f0f59dc07b7b3237fc8165111aff83aa /x11/libXfont | |
parent | ede71d3c85462c1d730006a9d20feb2aa2deea9b (diff) | |
download | pkgsrc-3fcd04b777e4f5d614a1334c3975397c18aa40d6.tar.gz |
Fix a silly build failure on HP-UX. For reasons unknown, libXfont
(or actually the bundled t1lib) provides it's "own" implementation of
stdio.h as t1stdio.h. For this reason they take care not to include stdio.h
to avoid conflicts. But they do include stdlib.h which on HP-UX
recursively includes stdio.h. Fix by not including stdlib.h on HP-UX.
Diffstat (limited to 'x11/libXfont')
-rw-r--r-- | x11/libXfont/distinfo | 3 | ||||
-rw-r--r-- | x11/libXfont/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/libXfont/distinfo b/x11/libXfont/distinfo index 6a49d1bfb3e..7ad7599a202 100644 --- a/x11/libXfont/distinfo +++ b/x11/libXfont/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2008/01/20 18:24:51 joerg Exp $ +$NetBSD: distinfo,v 1.9 2008/01/21 13:56:28 tnn Exp $ SHA1 (libXfont-1.3.1.tar.bz2) = 90153414cd3580d92cad6469166c099749cddd29 RMD160 (libXfont-1.3.1.tar.bz2) = 13c8ed7b33ec0c4f08c032d74958e49d3c177464 Size (libXfont-1.3.1.tar.bz2) = 564235 bytes SHA1 (patch-aa) = e421de2c9b67b46c2dab651ba1bab13fd08df914 SHA1 (patch-ab) = 56339bd99f714be3d9a7d697c39eab1b13794c3b +SHA1 (patch-ac) = de3952fb43533b3f325096e330bd0bf996bb4a47 diff --git a/x11/libXfont/patches/patch-ac b/x11/libXfont/patches/patch-ac new file mode 100644 index 00000000000..e191b878c37 --- /dev/null +++ b/x11/libXfont/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2008/01/21 13:56:29 tnn Exp $ + +--- src/Type1/objects.h.orig 2007-09-05 02:18:23.000000000 +0200 ++++ src/Type1/objects.h +@@ -34,8 +34,10 @@ + #include <X11/Xdefs.h> + #include <X11/Xfuncproto.h> + #ifndef FONTMODULE ++#ifndef __hpux + #include <stdlib.h> + #endif ++#endif + /*SHARED*/ + + #define Permanent(obj) t1_Permanent(obj) |