Date: Mon, 2 Apr 2018 20:12:15 +0000 (UTC) From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466260 - in head/graphics/drawpile: . files Message-ID: <201804022012.w32KCFks071833@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804022012.w32KCFks071833>