File: incbin.patch

package info (click to toggle)
wine 10.0~repack-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 326,452 kB
  • sloc: ansic: 4,155,993; perl: 23,800; yacc: 22,031; javascript: 15,872; makefile: 12,352; pascal: 9,519; objc: 6,923; lex: 5,273; xml: 3,219; python: 2,688; cpp: 1,741; sh: 895; java: 750; asm: 299; cs: 62
file content (16 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
description: workaround clang bug involving incbin directives on armhf
bug-upstream: https://bugs.winehq.org/show_bug.cgi?id=58040
author: Michael Gilbert <mgilbert@debian.org>

--- a/tools/winebuild/res32.c
+++ b/tools/winebuild/res32.c
@@ -473,7 +473,9 @@ void output_resources( DLLSPEC *spec )
     {
         output( "\n\t.balign 4\n" );
         output( ".L__wine_spec_res_%d:\n", i );
+#ifndef __arm__
         output( "\t.incbin \"%s\",%d,%d\n", res->input_name, res->input_offset, res->data_size );
+#endif
     }
 
     if (!is_pe())