Package: libjogl2-java / 2.3.2+dfsg-9

clang_FTBFS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix FTBFS with clang instead of gcc [-Wreturn-type]
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Last-Update: 2014-09-02
Index: libjogl2-java/src/newt/native/bcm_vc_iv.c
===================================================================
--- libjogl2-java.orig/src/newt/native/bcm_vc_iv.c
+++ libjogl2-java/src/newt/native/bcm_vc_iv.c
@@ -357,7 +357,7 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt
    VC_RECT_T src_rect;
 
    if( 0 == display ) {
-       return 0;
+       return NULL;
    }
    dst_rect.x = x;
    dst_rect.y = y;