Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2015 14:38:20 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402598 - head/games/solarus-quest-editor/files
Message-ID:  <201511291438.tATEcKNL014276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Nov 29 14:38:20 2015
New Revision: 402598
URL: https://svnweb.freebsd.org/changeset/ports/402598

Log:
  - Fix build in FreeBSD 9

Added:
  head/games/solarus-quest-editor/files/
  head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h   (contents, props changed)

Added: head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h	Sun Nov 29 14:38:20 2015	(r402598)
@@ -0,0 +1,11 @@
+--- include/gui/plain_text_edit.h.orig	2015-11-29 14:07:34 UTC
++++ include/gui/plain_text_edit.h
+@@ -73,7 +73,7 @@ protected:
+       if (show_margin) {
+         const QRect rect = event->rect();
+         const QFont font = currentCharFormat().font();
+-        int x = std::round(QFontMetrics(font).maxWidth() * margin)
++        int x = ::round(QFontMetrics(font).maxWidth() * margin)
+               + contentOffset().x()
+               + document()->documentMargin();
+ 



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