mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Fix astro/qmapshack ahead of CMake 3.11.
Because of the way CMake 3.11 orders includes in mocs_compilation.cpp, it shows up cases where headers don't have all of the necessary includes or forward-type-declarations in place. Add one here to fix the build. The error message is in the patch. Also reported upstream, https://bitbucket.org/maproom/qmapshack/issues/325/cmake-311-build-fix but it had already been (unrelatedly) fixed upstream in https://bitbucket.org/maproom/qmapshack/commits/2968b238 Approved by: tcberner (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D14932
This commit is contained in:
parent
cf7175bd8a
commit
1ed71433c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466261
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= qmapshack
|
||||
PORTVERSION= 1.11.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= https://bitbucket.org/maproom/qmapshack/downloads/
|
||||
|
||||
|
13
astro/qmapshack/files/patch-src_qmapshack_dem_IDem.h
Normal file
13
astro/qmapshack/files/patch-src_qmapshack_dem_IDem.h
Normal file
@ -0,0 +1,13 @@
|
||||
Provide full definition of IDrawContext, needed when #including
|
||||
this file in a context (ha!) without that definition already.
|
||||
|
||||
--- src/qmapshack/dem/IDem.h.orig 2018-02-23 16:39:15 UTC
|
||||
+++ src/qmapshack/dem/IDem.h
|
||||
@@ -19,6 +19,7 @@
|
||||
#ifndef IDEM_H
|
||||
#define IDEM_H
|
||||
|
||||
+#include "canvas/IDrawContext.h"
|
||||
#include "canvas/IDrawObject.h"
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
Loading…
Reference in New Issue
Block a user