[libjogl2-java] 55/58: add patch for FTBFS with clang
Tony Mancill
tmancill at moszumanska.debian.org
Thu Sep 4 03:59:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository libjogl2-java.
commit 9e45d986c55783e192c2fd459ab38e97f3a04bc9
Author: tony mancill <tmancill at debian.org>
Date: Tue Sep 2 22:08:30 2014 -0700
add patch for FTBFS with clang
---
debian/patches/clang_FTBFS.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/clang_FTBFS.patch b/debian/patches/clang_FTBFS.patch
new file mode 100644
index 0000000..ee82ef6
--- /dev/null
+++ b/debian/patches/clang_FTBFS.patch
@@ -0,0 +1,14 @@
+Description: fix FTBFS with clang instead of gcc [-Wreturn-type]
+Author: Nicolas Sévelin-Radiguet <nicosr at 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;
diff --git a/debian/patches/series b/debian/patches/series
index f9d787b..1c8ef9a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@ disable-applet.diff
alpha.diff
add-ports.diff
+clang_FTBFS.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjogl2-java.git
More information about the pkg-java-commits
mailing list