svn commit: r466260 - in head/graphics/drawpile: . files

Adriaan de Groot adridg at FreeBSD.org
Mon Apr 2 20:12:16 UTC 2018


Author: adridg
Date: Mon Apr  2 20:12:15 2018
New Revision: 466260
URL: https://svnweb.freebsd.org/changeset/ports/466260

Log:
  Fix graphics/Drawfile ahead of CMake 3.11.
  
  The order in which files are placed in mocs_compilation.cpp has changed
  in CMake 3.11 compared to CMake 3.10. This shows up places where not all
  of the includes needed for a bit of code, are included -- because by chance,
  everywhere else they are already included by the time the compiler gets to
  the offending header. In switching the order around, compiles fail.
  
  The error message is in the patch -- just a missing type declaration.
  
  Approved by:	tcberner (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D14770

Added:
  head/graphics/drawpile/files/patch-src_desktop_widgets_userlistwidget.h   (contents, props changed)
Modified:
  head/graphics/drawpile/Makefile

Modified: head/graphics/drawpile/Makefile
==============================================================================
--- head/graphics/drawpile/Makefile	Mon Apr  2 20:11:58 2018	(r466259)
+++ head/graphics/drawpile/Makefile	Mon Apr  2 20:12:15 2018	(r466260)
@@ -2,6 +2,7 @@
 
 PORTNAME=	Drawpile
 DISTVERSION=	2.0.10
+PORTREVISION=	1
 CATEGORIES=	graphics python
 
 MAINTAINER=	yuri at FreeBSD.org

Added: head/graphics/drawpile/files/patch-src_desktop_widgets_userlistwidget.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/drawpile/files/patch-src_desktop_widgets_userlistwidget.h	Mon Apr  2 20:12:15 2018	(r466260)
@@ -0,0 +1,13 @@
+Missing include:
+	userlistwidget.h:64:30: error: unknown type name 'QItemSelection'
+
+--- src/desktop/widgets/userlistwidget.h.orig	2018-03-17 15:25:30 UTC
++++ src/desktop/widgets/userlistwidget.h
+@@ -23,6 +23,7 @@
+ 
+ #include <QWidget>
+ #include <QItemDelegate>
++#include <QItemSelection>
+ 
+ class Ui_UserBox;
+ 


More information about the svn-ports-head mailing list