pkgsrc/audio/libdca/patches/patch-dtsdec
rillig 2ba13d1656 Added a patch to fix the return statement of a signal handler. This is
problematic because the return type can be either void or int. The
autoconf manual says to just omit the return statement.
2007-06-08 19:14:15 +00:00

15 lines
395 B
Text

$NetBSD: patch-dtsdec,v 1.1 2007/06/08 19:14:15 rillig Exp $
--- src/dtsdec.c.orig Mon Feb 23 23:30:49 2004
+++ src/dtsdec.c Fri Jun 8 21:09:29 2007
@@ -65,7 +65,9 @@
{
sigint = 1;
signal (sig, SIG_DFL);
- return (RETSIGTYPE)0;
+ /* No return statement, since we cannot know whether the return
+ * type is "void" or "int".
+ */
}
static void print_fps (int final)