[SCM] pd-ggee/master: Fixed return value in envgen_newclick (Closes: #743738)

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed Jun 3 18:34:55 UTC 2015


The following commit has been merged in the master branch:
commit 66c3f94b2e18f715aff6d691df4cef6e2020066e
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed Jun 3 17:00:02 2015 +0200

    Fixed return value in envgen_newclick (Closes: #743738)

diff --git a/debian/patches/fix_Wreturn.patch b/debian/patches/fix_Wreturn.patch
new file mode 100644
index 0000000..89a56a8
--- /dev/null
+++ b/debian/patches/fix_Wreturn.patch
@@ -0,0 +1,18 @@
+Description: fix FTBFS with clang instead of gcc
+ clang is a bit more picky, if a function is declared to return a value
+ but forgets to do so...
+Author: Nicolas Sévelin-Radiguet <nicosr at free.fr>
+Reviewed-by: IOhannes m zmölnig <umlaeute at debian.org>
+Last-Update: 2014-04-05
+Applied-Upstream: https://sourceforge.net/p/pure-data/svn/15813
+--- pd-ggee.orig/gui/w_envgen.h
++++ pd-ggee/gui/w_envgen.h
+@@ -453,7 +453,7 @@
+          if (x->resizeable && (xpos > wxpos + x->w.width) && 
+              (ypos > wypos)) {
+              x->resizing = 1;     
+-             return;
++             return 0;
+          }
+          
+          x->w.shift = shift;
diff --git a/debian/patches/series b/debian/patches/series
index 037c9fa..10f7c84 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_Wreturn.patch
 update-makefile-for-hurd-and-kfreebsd

-- 
pd-ggee packaging



More information about the pkg-multimedia-commits mailing list