Unbreak on arm and probably other gcc archs

Kill another UTF-8 BOM.  Moving to ports-gcc may be better but is not
easy to test with boost and qt4 in the way.
This commit is contained in:
jca 2017-12-19 14:06:52 +00:00
parent e9b25c4190
commit aba0fbc669
2 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.79 2017/11/12 19:35:37 rsadowski Exp $
# $OpenBSD: Makefile,v 1.80 2017/12/19 14:06:52 jca Exp $
COMMENT= graphical frontend for LaTeX (nearly WYSIWYG)
# XXX check source files for UTF-8 BOM, they break build with base gcc
DISTNAME= lyx-2.2.3
CATEGORIES= print editors

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_frontends_qt4_GuiView_cpp,v 1.1 2017/12/19 14:06:52 jca Exp $
- kill UTF-8 BOM, base gcc chokes on it
Index: src/frontends/qt4/GuiView.cpp
--- src/frontends/qt4/GuiView.cpp.orig
+++ src/frontends/qt4/GuiView.cpp
@@ -1,4 +1,4 @@
-/**
+/**
* \file GuiView.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.