pkgsrc/x11/qt1/patches/patch-ag
joerg 32c8dc50e2 Add DragonFly support. Move two methods in qfont.h out of private scope,
GCC 3.4 doesn't allow a private methods as friends.

XXX Should netbsd-g++-static be used for all platforms?
2005-12-12 14:56:07 +00:00

23 lines
651 B
Text

$NetBSD: patch-ag,v 1.1 2005/12/12 14:56:07 joerg Exp $
--- src/kernel/qfont.h.orig 2005-12-12 14:34:40.000000000 +0000
+++ src/kernel/qfont.h
@@ -113,6 +113,9 @@ public:
static void cleanup();
static void cacheStatistics();
+ void initFontInfo() const;
+ void load( HANDLE=0 ) const;
+
protected:
bool dirty() const;
@@ -126,8 +129,6 @@ private:
QFont( bool );
void init();
void detach();
- void initFontInfo() const;
- void load( HANDLE=0 ) const;
#if defined(_WS_WIN_)
HANDLE create( bool *, HANDLE=0, bool=FALSE ) const;
void *textMetric() const;