The following reply was made to PR ports/176046; it has been noted by GNATS.

From: [email protected] (dfilter service)
To: [email protected]
Cc:  
Subject: Re: ports/176046: commit references a PR
Date: Wed, 27 Feb 2013 12:47:28 +0000 (UTC)

 Author: makc
 Date: Wed Feb 27 12:47:21 2013
 New Revision: 313049
 URL: http://svnweb.freebsd.org/changeset/ports/313049
 
 Log:
   Add upstream patch to fix Kalarm segfault.
   
   PR:          ports/176046
   Submitted by:        Anish Mistry <[email protected]>
 
 Added:
   head/deskutils/kdepim44/files/patch-kalarm__lib__spinbox2.cpp   (contents, 
props changed)
 Modified:
   head/deskutils/kdepim44/Makefile
 
 Modified: head/deskutils/kdepim44/Makefile
 ==============================================================================
 --- head/deskutils/kdepim44/Makefile   Wed Feb 27 12:25:18 2013        
(r313048)
 +++ head/deskutils/kdepim44/Makefile   Wed Feb 27 12:47:21 2013        
(r313049)
 @@ -3,7 +3,7 @@
  
  PORTNAME=     kdepim
  PORTVERSION=  4.4.11.1
 -PORTREVISION= 4
 +PORTREVISION= 5
  CATEGORIES=   deskutils kde ipv6
  MASTER_SITES= ${MASTER_SITE_KDE}
  MASTER_SITE_SUBDIR=   stable/kdepim-${PORTVERSION}/src
 
 Added: head/deskutils/kdepim44/files/patch-kalarm__lib__spinbox2.cpp
 ==============================================================================
 --- /dev/null  00:00:00 1970   (empty, because file is newly added)
 +++ head/deskutils/kdepim44/files/patch-kalarm__lib__spinbox2.cpp      Wed Feb 
27 12:47:21 2013        (r313049)
 @@ -0,0 +1,23 @@
 +--- kalarm/lib/spinbox2.cpp
 ++++ kalarm/lib/spinbox2.cpp
 +@@ -28,7 +28,7 @@
 + #include <QMouseEvent>
 + #include <QStyleOptionSpinBox>
 + #include <QGraphicsPixmapItem>
 +-#include <QPaintEngine>
 ++#include <QPainter>
 + #include <QTimer>
 + #include <QFrame>
 + #include <QBrush>
 +@@ -588,8 +588,9 @@ void SpinMirror::setFrame()
 +              p = grabWidget(mMainSpinbox, QRect(x, 0, 1, height()));
 +              // Blot out edit field stuff from the middle of the slice
 +              QPixmap dot = grabWidget(mMainSpinbox, QRect(x, editOffsetY, 1, 
1));
 +-             QPaintEngine* pe = p.paintEngine();
 +-             pe->drawTiledPixmap(QRectF(0, editOffsetY, 1, height() - 
2*editOffsetY), dot, QPointF(0, 0));
 ++             QPainter painter(&p);
 ++             painter.drawTiledPixmap(0, editOffsetY, 1, height() - 
2*editOffsetY, dot, 0, 0);
 ++             painter.end();
 +              // Horizontally fill the mirror widget with the vertical slice
 +              p = p.scaled(size());
 +              // Grab the left hand border of the main spinbox, and draw it 
into the mirror widget.
 _______________________________________________
 [email protected] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "[email protected]"
 
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to