• 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/libfreeimage/0004-fix-gcc-6.patch
Yann E. MORINYann E. MORIN committed 70dbe298f4229 Aug 2016
Raw file
Source viewDiff to previous
 
1
libraw/dc_raw: fix gcc-6 failures
2
​
3
With gcc-6, it is no longer allowed to narrow the type of constants in
4
a constant array declaration.
5
​
6
Fixes:
7
    http://autobuild.buildroot.org/results/081/0811531872f69f9febbdc482dfbdd7fb5c35d1c8/build-end.log
8
​
9
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10
​
11
diff -durN a/Source/LibRawLite/internal/dcraw_common.cpp b/Source/LibRawLite/internal/dcraw_common.cpp
12
--- a/Source/LibRawLite/internal/dcraw_common.cpp
13
+++ b/Source/LibRawLite/internal/dcraw_common.cpp
14
@@ -2479,7 +2479,7 @@
15
 
16
 void CLASS kodak_radc_load_raw()
17
 {
18
-  static const char src[] = {
19
+  static const signed char src[] = {
20
     1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
21
     1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
22
     2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,
23
@@ -4519,7 +4519,7 @@
24
  */
25
 void CLASS vng_interpolate()
26
 {
27
-  static const signed char *cp, terms[] = {
28
+  static const int *cp, terms[] = {
29
     -2,-2,+0,-1,0,0x01, -2,-2,+0,+0,1,0x01, -2,-1,-1,+0,0,0x01,
30
     -2,-1,+0,-1,0,0x02, -2,-1,+0,+0,0,0x03, -2,-1,+0,+1,1,0x01,
31
     -2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03,
  • 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.