• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libraw/0002-libraw_x3f.cpp-remove-Byte-order-mark.patch
Thomas PetazzoniThomas Petazzoni committed 1021a6f6d8d12 Feb 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
5
​
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:
8
​
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
12
​
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
15
remove it.
16
​
17
See https://en.wikipedia.org/wiki/Byte_order_mark for more details.
18
​
19
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20
---
21
Submitted upstream at:
22
https://github.com/LibRaw/LibRaw/pull/61
23
​
24
 internal/libraw_x3f.cpp | 2 +-
25
 1 file changed, 1 insertion(+), 1 deletion(-)
26
​
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
31
@@ -1,4 +1,4 @@
32
-•/* Library for accessing X3F Files 
33
+/* Library for accessing X3F Files 
34
 ----------------------------------------------------------------
35
 BSD-style License
36
 ----------------------------------------------------------------
37
-- 
38
2.6.4
39
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.