pkgsrc/x11/qt2-libs/patches/patch-am
2003-11-25 23:05:24 +00:00

24 lines
449 B
Text

$NetBSD: patch-am,v 1.2 2003/11/25 23:05:24 dmcmahill Exp $
--- 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)
{