openbsd-ports/audio/adplug/patches/patch-src_herad_cpp
fcambus a558a52c8b Remove UTF-8 BOM from src/herad.{cpp,h}.
This fixes build on GCC arches, as GCC 4.2.1 chokes on it otherwise.

From Donovan Watteau, thanks!
2018-05-28 12:27:41 +00:00

14 lines
333 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$OpenBSD: patch-src_herad_cpp,v 1.1 2018/05/28 12:27:41 fcambus Exp $
Kill UTF-8 BOM, base gcc chokes on it.
Index: src/herad.cpp
--- src/herad.cpp.orig
+++ src/herad.cpp
@@ -1,4 +1,4 @@
-/*
+/*
* Adplug - Replayer for many OPL2/OPL3 audio file formats.
* Copyright (C) 1999 - 2008 Simon Peter <dn.tlp@gmx.net>, et al.
*