diff options
author | rillig <rillig@pkgsrc.org> | 2007-06-08 19:14:15 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-06-08 19:14:15 +0000 |
commit | 2ba13d16563205d98048870299e09712ebd6600e (patch) | |
tree | 6408364df6daa0e5410c02b8ef258e9ab622cbba /audio | |
parent | 8ebe653aaf876f844878e2a34d993f3ddc422de1 (diff) | |
download | pkgsrc-2ba13d16563205d98048870299e09712ebd6600e.tar.gz |
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.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libdca/distinfo | 3 | ||||
-rw-r--r-- | audio/libdca/patches/patch-dtsdec | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/libdca/distinfo b/audio/libdca/distinfo index abfdbe8a36c..18a37feb210 100644 --- a/audio/libdca/distinfo +++ b/audio/libdca/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/12/09 17:21:02 salo Exp $ +$NetBSD: distinfo,v 1.2 2007/06/08 19:14:15 rillig Exp $ SHA1 (libdts-0.0.2.tar.gz) = 602fd9d9442453600e425f62972797bf508ea2d3 RMD160 (libdts-0.0.2.tar.gz) = c7b904465244b887e6b62f997bcf043d241cf2ce Size (libdts-0.0.2.tar.gz) = 295185 bytes +SHA1 (patch-dtsdec) = d6c56d7d696b0f4d9bdedfaba4d212b1dbc50560 diff --git a/audio/libdca/patches/patch-dtsdec b/audio/libdca/patches/patch-dtsdec new file mode 100644 index 00000000000..b12909bb297 --- /dev/null +++ b/audio/libdca/patches/patch-dtsdec @@ -0,0 +1,15 @@ +$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) |