1 From 0f2507bfe30f2df10dfc38b94cdfde5594902b8e Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Fri, 12 Feb 2016 10:00:12 +0100
4 Subject: [PATCH] libraw_x3f.cpp: remove Byte order mark
6 The U+FEFF character, which is a Byte order mark, at the beginning of
7 libraw_x3f.cpp, prevents gcc 4.3.x from building this file:
9 src/../internal/libraw_x3f.cpp:1: error: stray '\357' in program
10 src/../internal/libraw_x3f.cpp:1: error: stray '\273' in program
11 src/../internal/libraw_x3f.cpp:1: error: stray '\277' in program
13 Support in gcc for the Byte order mark has been added in gcc
14 4.4.x. Since anyway this Byte order mark is not useful, we simply
17 See https://en.wikipedia.org/wiki/Byte_order_mark for more details.
19 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 Submitted upstream at:
22 https://github.com/LibRaw/LibRaw/pull/61
24 internal/libraw_x3f.cpp | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
27 diff --git a/internal/libraw_x3f.cpp b/internal/libraw_x3f.cpp
28 index dbf28c1..67047ab 100644
29 --- a/internal/libraw_x3f.cpp
30 +++ b/internal/libraw_x3f.cpp
32 -/* Library for accessing X3F Files
33 +/* Library for accessing X3F Files
34 ----------------------------------------------------------------
36 ----------------------------------------------------------------