pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt2-libs include stdlib.h to get a prototype for g...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f491c5821d90
branches:  trunk
changeset: 463761:f491c5821d90
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Nov 25 23:05:24 2003 +0000

description:
include stdlib.h to get a prototype for getenv().  Fixes recently noted
bulk build problems on alpha.

diffstat:

 x11/qt2-libs/distinfo         |   4 ++--
 x11/qt2-libs/patches/patch-am |  23 ++++++++++++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r c1eaf22b657a -r f491c5821d90 x11/qt2-libs/distinfo
--- a/x11/qt2-libs/distinfo     Tue Nov 25 22:42:30 2003 +0000
+++ b/x11/qt2-libs/distinfo     Tue Nov 25 23:05:24 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/06/09 12:32:45 tron Exp $
+$NetBSD: distinfo,v 1.13 2003/11/25 23:05:24 dmcmahill Exp $
 
 SHA1 (qt-x11-2.3.1.tar.gz) = f1403700fe80fbfb125ec84731d0dfe9c576c823
 Size (qt-x11-2.3.1.tar.gz) = 8967271 bytes
@@ -14,4 +14,4 @@
 SHA1 (patch-aj) = ed0cd262eca3ff190c221421a62ce2970121a4d4
 SHA1 (patch-ak) = 3eac0d921f3535231aab9ff1f6738f9541b8b564
 SHA1 (patch-al) = 32f6b13393b115c56a4ca75f62f5916034189174
-SHA1 (patch-am) = bc6fc455ca86df1e9b877bbd08ba226145de484f
+SHA1 (patch-am) = ebbc184b095e2adcf81461472f4723d515167a9e
diff -r c1eaf22b657a -r f491c5821d90 x11/qt2-libs/patches/patch-am
--- a/x11/qt2-libs/patches/patch-am     Tue Nov 25 22:42:30 2003 +0000
+++ b/x11/qt2-libs/patches/patch-am     Tue Nov 25 23:05:24 2003 +0000
@@ -1,15 +1,24 @@
-$NetBSD: patch-am,v 1.1 2003/06/09 12:32:46 tron Exp $
+$NetBSD: patch-am,v 1.2 2003/11/25 23:05:24 dmcmahill 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 );



Home | Main Index | Thread Index | Old Index