pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libdca Added a patch to fix the return statement...
details: https://anonhg.NetBSD.org/pkgsrc/rev/547c1bc7b172
branches: trunk
changeset: 529661:547c1bc7b172
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Jun 08 19:14:15 2007 +0000
description:
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:
audio/libdca/distinfo | 3 ++-
audio/libdca/patches/patch-dtsdec | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 4d1e48652175 -r 547c1bc7b172 audio/libdca/distinfo
--- a/audio/libdca/distinfo Fri Jun 08 18:50:05 2007 +0000
+++ b/audio/libdca/distinfo Fri Jun 08 19:14:15 2007 +0000
@@ -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 -r 4d1e48652175 -r 547c1bc7b172 audio/libdca/patches/patch-dtsdec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdca/patches/patch-dtsdec Fri Jun 08 19:14:15 2007 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index