diff options
author | agc <agc> | 2004-01-09 22:33:35 +0000 |
---|---|---|
committer | agc <agc> | 2004-01-09 22:33:35 +0000 |
commit | 6f4af62a54b677aaebf038e304b0795531e0e87a (patch) | |
tree | 6341fa4771da7b39662d052f3b4adee8390d6197 /x11/qt2-libs/patches/patch-am | |
parent | 69e6c9b002b053c2b90e5f86f261db0f60b34af8 (diff) | |
download | pkgsrc-6f4af62a54b677aaebf038e304b0795531e0e87a.tar.gz |
Pull up portability fix to the pkgsrc-2003Q4 branch, requested by Dan
McMahill.
Committed By: dmcmahill
Date: Tue Nov 25 23:05:24 UTC 2003
Modified Files:
pkgsrc/x11/qt2-libs: distinfo
pkgsrc/x11/qt2-libs/patches: patch-am
Log Message:
include stdlib.h to get a prototype for getenv(). Fixes recently noted
bulk build problems on alpha.
Diffstat (limited to 'x11/qt2-libs/patches/patch-am')
-rw-r--r-- | x11/qt2-libs/patches/patch-am | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/x11/qt2-libs/patches/patch-am b/x11/qt2-libs/patches/patch-am index c7d7dc2b03e..083b1654340 100644 --- a/x11/qt2-libs/patches/patch-am +++ b/x11/qt2-libs/patches/patch-am @@ -1,15 +1,24 @@ -$NetBSD: patch-am,v 1.1 2003/06/09 12:32:46 tron Exp $ +$NetBSD: patch-am,v 1.1.2.1 2004/01/09 22:33:35 agc Exp $ ---- src/kernel/qpsprinter.cpp.orig 2001-06-13 10:53:46.000000000 +0200 -+++ src/kernel/qpsprinter.cpp 2003-06-09 14:16:18.000000000 +0200 -@@ -2771,10 +2771,6 @@ - }; +--- src/kernel/qpsprinter.cpp.orig Wed Jun 13 08:53:46 2001 ++++ src/kernel/qpsprinter.cpp +@@ -92,6 +92,8 @@ + #include <unistd.h> + #endif + ++#include <stdlib.h> ++ + #ifdef _WS_X11_ + #include "qt_x11.h" + #ifdef None +@@ -2770,10 +2772,6 @@ private: + }; +- -#ifndef _OS_OSF_ -extern "C" char* getenv(char*); -#endif -- + QPSPrinterFontTTF::QPSPrinterFontTTF(const QFont &f, QByteArray& d) { - psname = makePSFontName( f ); |