Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 00:46:58 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478504 - head/cad/librecad/files
Message-ID:  <201808310046.w7V0kwe5000848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Aug 31 00:46:58 2018
New Revision: 478504
URL: https://svnweb.freebsd.org/changeset/ports/478504

Log:
  Fix build with Qt 5.11
  
  PR:		230884
  Obtained from:	upstream

Added:
  head/cad/librecad/files/
  head/cad/librecad/files/patch-git_6c392e9   (contents, props changed)

Added: head/cad/librecad/files/patch-git_6c392e9
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/librecad/files/patch-git_6c392e9	Fri Aug 31 00:46:58 2018	(r478504)
@@ -0,0 +1,41 @@
+From 6c392e903e162b9283e88f53006e929663f2e883 Mon Sep 17 00:00:00 2001
+From: Jiri Slaby <jslaby@suse.cz>
+Date: Mon, 11 Jun 2018 10:44:00 +0200
+Subject: [PATCH] fix build with Qt 5.11
+
+The new Qt removed some implicit inclusions of headers. To avoid build
+errors, add explicit includes of those we use in the sources.
+
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+
+--- librecad/src/ui/forms/qg_commandwidget.cpp.orig	2018-02-15 20:54:45 UTC
++++ librecad/src/ui/forms/qg_commandwidget.cpp
+@@ -27,6 +27,7 @@
+ 
+ #include <algorithm>
+ 
++#include <QAction>
+ #include <QKeyEvent>
+ #include <QFileDialog>
+ #include <QSettings>
+--- librecad/src/ui/generic/colorwizard.cpp.orig	2018-02-15 20:54:45 UTC
++++ librecad/src/ui/generic/colorwizard.cpp
+@@ -27,6 +27,7 @@
+ #include "colorwizard.h"
+ #include "ui_colorwizard.h"
+ 
++#include <QAction>
+ #include <QColorDialog>
+ #include <QLineEdit>
+ #include <QListWidget>
+--- librecad/src/ui/generic/widgetcreator.cpp.orig	2018-02-15 20:54:45 UTC
++++ librecad/src/ui/generic/widgetcreator.cpp
+@@ -27,6 +27,8 @@
+ #include "widgetcreator.h"
+ #include "ui_widgetcreator.h"
+ 
++#include <QAction>
++#include <QActionGroup>
+ #include <QSettings>
+ #include <QLineEdit>
+ #include <QPushButton>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808310046.w7V0kwe5000848>