diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2005-01-19 21:02:19 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2005-01-19 21:02:19 +0000 |
commit | c80ce6e83b45fa2decab5a415a29be189816eeda (patch) | |
tree | 8abac5685c77e0e0dd8ad5417880b059c6e92142 /pkgs/applications/audio | |
parent | c90e049b989fcee91c8bb31368c62236901377a9 (diff) |
cdparanoia-III
svn path=/nixpkgs/trunk/; revision=2060
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/cdparanoia/default.nix | 11 | ||||
-rw-r--r-- | pkgs/applications/audio/cdparanoia/fix.patch | 46 |
2 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/audio/cdparanoia/default.nix b/pkgs/applications/audio/cdparanoia/default.nix new file mode 100644 index 0000000000000..0d741899cdf2c --- /dev/null +++ b/pkgs/applications/audio/cdparanoia/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "cdparanoia-III-alpha9.8"; + src = fetchurl { + url = http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz ; + md5 = "7218e778b5970a86c958e597f952f193" ; + }; + + patches = [./fix.patch]; +} diff --git a/pkgs/applications/audio/cdparanoia/fix.patch b/pkgs/applications/audio/cdparanoia/fix.patch new file mode 100644 index 0000000000000..4a1c526c7d8c6 --- /dev/null +++ b/pkgs/applications/audio/cdparanoia/fix.patch @@ -0,0 +1,46 @@ +*** cdparanoia-III-alpha9.8/interface/utils.h Thu Apr 20 00:41:04 2000 +--- cdparanoia-III-alpha9.8-old/interface/utils.h Wed Jan 19 21:44:08 2005 +*************** +*** 110,117 **** + case CDDA_MESSAGE_LOGIT: + d->errorbuf=catstring(d->errorbuf,s); + break; +- case CDDA_MESSAGE_FORGETIT: +- default: + } + } + } +--- 110,115 ---- +*************** +*** 125,132 **** + case CDDA_MESSAGE_LOGIT: + d->messagebuf=catstring(d->messagebuf,s); + break; +- case CDDA_MESSAGE_FORGETIT: +- default: + } + } + } +--- 123,128 ---- +*************** +*** 167,174 **** + } + } + break; +- case CDDA_MESSAGE_FORGETIT: +- default: + } + } + if(malloced)free(buffer); +--- 163,168 ---- +*************** +*** 203,210 **** + if(!malloced)*messages=catstring(*messages,"\n"); + } + break; +- case CDDA_MESSAGE_FORGETIT: +- default: + } + } + if(malloced)free(buffer); +--- 197,202 ---- |