ooops, this patch was NOT supposed to be put in, kdelibs will still be

broken until the next snapshot of EGCS is released to fix this bug.
This commit is contained in:
brad 1999-06-15 14:32:56 +00:00
parent 6d7ae39d9a
commit 5ab7a7cb8f
2 changed files with 3 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 1999/06/15 13:10:28 brad Exp $
# $OpenBSD: Makefile,v 1.7 1999/06/15 14:32:56 brad Exp $
# Original Author: Yanick Cote <yanick@fries.net>
DISTNAME= kdelibs-1.1.1
@ -8,6 +8,8 @@ MASTER_SITE_SUBDIR= stable/1.1.1/distribution/tar/generic/source/bz2
NEED_VERSION= 1.92
BROKEN= "kdelibs will not compile due to an EGCS C++ bug"
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= qt.1.44:${PORTSDIR}/x11/qt \
gif.4.1:${PORTSDIR}/graphics/giflib \

View File

@ -1,14 +0,0 @@
--- kdeui/kmsgbox.cpp.orig Tue Jun 15 09:07:39 1999
+++ kdeui/kmsgbox.cpp Tue Jun 15 09:07:43 1999
@@ -129,9 +129,10 @@
{
int icon;
static int icons_initialized = 0;
- static QPixmap icons[4];
+ static QPixmap *icons = 0;
if( !icons_initialized ) {
+ icons = new QPixmap[4];
QString ipath = kapp->kde_datadir() + "/kde/pics/";
QString ifile = ipath + "info.xpm";
icons[0].load( ifile );