File: clang_FTBFS.patch

package info (click to toggle)
libjogl2-java 2.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 41,648 kB
  • ctags: 65,492
  • sloc: java: 208,711; ansic: 68,727; xml: 6,504; objc: 3,079; sh: 2,414; cpp: 152; awk: 46; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: fix FTBFS with clang instead of gcc [-Wreturn-type]
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Last-Update: 2014-09-02
--- a/src/newt/native/bcm_vc_iv.c
+++ b/src/newt/native/bcm_vc_iv.c
@@ -357,7 +357,7 @@
    VC_RECT_T src_rect;
 
    if( 0 == display ) {
-       return;
+       return NULL;
    }
    dst_rect.x = x;
    dst_rect.y = y;