[med-svn] [staden] 01/01: Fix implicite declarations

Andreas Tille tille at debian.org
Sat May 28 06:45:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository staden.

commit d6da44e0f8bd8ab7c70dd4c2ab9eb627b9d96d11
Author: Andreas Tille <tille at debian.org>
Date:   Sat May 28 08:45:07 2016 +0200

    Fix implicite declarations
---
 debian/patches/fix_implicit_declaration.patch | 17 +++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fix_implicit_declaration.patch b/debian/patches/fix_implicit_declaration.patch
new file mode 100644
index 0000000..3f875d9
--- /dev/null
+++ b/debian/patches/fix_implicit_declaration.patch
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 27 May 2016 08:58:49 +0200
+Description: Implicite declarations are now breaking the build.
+ This patch adds explicite declarations
+
+--- a/eba/conf.c
++++ b/eba/conf.c
+@@ -4,6 +4,9 @@
+ #include <io_lib/Read.h>
+ #include <io_lib/misc.h>
+ 
++#include <math.h>
++#define min(a,b) fmin(a,b)
++
+ #include "conf.h"
+ 
+ #define WINDOW_SIZE 15
diff --git a/debian/patches/series b/debian/patches/series
index 5e4a264..94111c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ spelling.patch
 cope_with_modern_windowmanager.patch
 include_xalloc.patch
 use_mkstemp_instead_of_tmpnam.patch
+fix_implicit_declaration.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/staden.git



More information about the debian-med-commit mailing list