summaryrefslogtreecommitdiff
path: root/audio/cdparanoia
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-06-01 20:58:38 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-06-01 20:58:38 +0000
commitedbc11c53d7b1e3fd4eb7538a89f1341777bcb3d (patch)
treee507be948773ba578a7a5e3817fa9238f5b34775 /audio/cdparanoia
parent71f79b2075e3e81666687d0b09ea162486114f85 (diff)
downloadpkgsrc-edbc11c53d7b1e3fd4eb7538a89f1341777bcb3d.tar.gz
Re: PR 25727 audio/cdparanoia does not compile with gcc 3.4.0
The problem is that a switch statement has a default case with no statement. The fix is to add a null statement. Four instances of this problem were corrected. This closes the referenced PR.
Diffstat (limited to 'audio/cdparanoia')
-rw-r--r--audio/cdparanoia/distinfo4
-rw-r--r--audio/cdparanoia/patches/patch-cc36
2 files changed, 36 insertions, 4 deletions
diff --git a/audio/cdparanoia/distinfo b/audio/cdparanoia/distinfo
index 9e3864b2547..77049de3c49 100644
--- a/audio/cdparanoia/distinfo
+++ b/audio/cdparanoia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2004/03/20 11:23:51 wiz Exp $
+$NetBSD: distinfo,v 1.8 2004/06/01 20:58:38 shannonjr Exp $
SHA1 (cdparanoia-III-alpha9.8.src.tgz) = 04cc33a7d22d6255f6239e3e74195506b3bdde06
Size (cdparanoia-III-alpha9.8.src.tgz) = 116591 bytes
@@ -10,7 +10,7 @@ SHA1 (patch-ae) = ea4cbc4a13f36ba4da39bd9a944d4123f132b86e
SHA1 (patch-ba) = 05f8efe4f0a2753217d3c1cf1014da64b1d92b73
SHA1 (patch-ca) = 4d7c183aae36fd525a1294be4b6f9a76401c524e
SHA1 (patch-cb) = 00215d433a86a35ae13f2092efefabadc5967bfb
-SHA1 (patch-cc) = 6ee7d4842d178491ecf5285c429f932f2f854799
+SHA1 (patch-cc) = 0980c20c8fcd11de11294dd8fed0f9555ea0ef0d
SHA1 (patch-cd) = a2595237ddbaf35dfc1a5ce0bf7d1fa9244e1d67
SHA1 (patch-ce) = 813f18a27808234a8a9139f0c53951b5fea83b37
SHA1 (patch-cf) = ce4dc32047c2e382482a38d05144abefb376a87a
diff --git a/audio/cdparanoia/patches/patch-cc b/audio/cdparanoia/patches/patch-cc
index d5be64a5eba..c675dfd8792 100644
--- a/audio/cdparanoia/patches/patch-cc
+++ b/audio/cdparanoia/patches/patch-cc
@@ -1,6 +1,6 @@
-$NetBSD: patch-cc,v 1.3 2003/10/20 12:07:23 grant Exp $
+$NetBSD: patch-cc,v 1.4 2004/06/01 20:58:38 shannonjr Exp $
---- interface/utils.h.orig 2000-04-20 08:41:04.000000000 +1000
+--- interface/utils.h.orig 2000-04-19 16:41:04.000000000 -0600
+++ interface/utils.h
@@ -1,4 +1,18 @@
+#ifdef __linux__
@@ -21,3 +21,35 @@ $NetBSD: patch-cc,v 1.3 2003/10/20 12:07:23 grant Exp $
#include <stdio.h>
#include <errno.h>
#include <string.h>
+@@ -112,6 +126,7 @@ static void cderror(cdrom_drive *d,const
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+ default:
++ ;
+ }
+ }
+ }
+@@ -127,6 +142,7 @@ static void cdmessage(cdrom_drive *d,con
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+ default:
++ ;
+ }
+ }
+ }
+@@ -169,6 +185,7 @@ static void idperror(int messagedest,cha
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+ default:
++ ;
+ }
+ }
+ if(malloced)free(buffer);
+@@ -205,6 +222,7 @@ static void idmessage(int messagedest,ch
+ break;
+ case CDDA_MESSAGE_FORGETIT:
+ default:
++ ;
+ }
+ }
+ if(malloced)free(buffer);