[libkate] 01/01: Added 0003-fix-retval-katedesc_restart.patch to fix incorrect return type for katedesc_restart in forward declaration (Closes: #749444). Thanks to Michael Tautschnig for discovering the problem.

Petter Reinholdtsen pere at moszumanska.debian.org
Wed Oct 22 08:07:01 UTC 2014


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

pere pushed a commit to branch master
in repository libkate.

commit 3c4c364e234061be53fadeef6995ea92346a92d3
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Oct 22 10:04:29 2014 +0200

    Added 0003-fix-retval-katedesc_restart.patch to fix incorrect return type for katedesc_restart in forward declaration (Closes: #749444).  Thanks to Michael Tautschnig for discovering the problem.
---
 .../patches/0003-fix-retval-katedesc_restart.patch   | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/0003-fix-retval-katedesc_restart.patch b/debian/patches/0003-fix-retval-katedesc_restart.patch
new file mode 100644
index 0000000..717c818
--- /dev/null
+++ b/debian/patches/0003-fix-retval-katedesc_restart.patch
@@ -0,0 +1,20 @@
+Description: Fix incorrect return type for katedesc_restart
+ The function is defined to return void in kate_lexer.c,
+ and its caller should not pretend it return an int.
+Author: Petter Reinholdtsen <pere at hungry.com>
+Bug-Debian: http://bugs.debian.org/749444
+Forwarded: no
+Reviewed-By: Petter Reinholdtsen <pere at hungry.com>
+Last-Update: 2014-10-22
+
+--- libkate-0.4.1.orig/tools/kateenc.c
++++ libkate-0.4.1/tools/kateenc.c
+@@ -36,7 +36,7 @@
+ #include "katedesc.h"
+ 
+ extern int katedesc_parse(void);
+-extern int katedesc_restart(FILE*);
++extern void katedesc_restart(FILE*);
+ extern FILE *katedesc_in;
+ extern FILE *katedesc_out;
+ extern int nerrors;
diff --git a/debian/patches/series b/debian/patches/series
index 2a885b6..965174a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Fix-tests-check_sizes.c-on-x32.patch
 0002-Disable-Werror-for-automake-to-fix-FTBFS-while-autor.patch
+0003-fix-retval-katedesc_restart.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/libkate.git



More information about the pkg-xiph-commits mailing list