File: clang_FTBFS.patch

package info (click to toggle)
libjogl2-java 2.5.0%2Bdfsg-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 54,660 kB
  • sloc: java: 244,913; ansic: 82,750; xml: 7,686; objc: 4,857; sh: 3,026; cpp: 139; makefile: 50; awk: 46; perl: 27
file content (15 lines) | stat: -rw-r--r-- 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fix FTBFS with clang instead of gcc [-Wreturn-type]
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Forwarded: sgothel@jausoft.com
Last-Update: 2014-09-02
--- a/src/newt/native/bcm_vc_iv.c
+++ b/src/newt/native/bcm_vc_iv.c
@@ -353,7 +353,7 @@
    VC_RECT_T src_rect;
 
    if( 0 == display ) {
-       return 0;
+       return NULL;
    }
    dst_rect.x = x;
    dst_rect.y = y;