Package Details: cdparanoia-overread 10.2-1

Git Clone URL: https://aur.archlinux.org/cdparanoia-overread.git (read-only, click to copy)
Package Base: cdparanoia-overread
Description: Compact Disc Digital Audio extraction tool patched for lead-out overread support
Upstream URL: http://www.xiph.org/paranoia/
Keywords: multimedia
Licenses: GPL
Conflicts: cdparanoia
Provides: cdparanoia
Submitter: Shardz
Maintainer: None
Last Packager: Shardz
Votes: 6
Popularity: 0.000000
First Submitted: 2013-09-13 07:39 (UTC)
Last Updated: 2015-07-04 09:08 (UTC)

Dependencies (1)

Required by (54)

Sources (3)

Latest Comments

fenugrec commented on 2023-12-03 01:18 (UTC)

thanks @freonmonkey.

Also, if someone decides to adopt this, the PKGBUILD should move the 'patch' commands to the prepare{} block instead of build

freonmonkey commented on 2022-01-18 04:44 (UTC)

I couldn't build this as-is: the compiler warns against unsafe fprintf calls where the variable 'buffer' is used as the format string. Here's a trivial patch that got it to build:

diff -aur cdparanoia-III-10.2/main.c cdparanoia-III-10.2.fixed/main.c
--- cdparanoia-III-10.2/main.c  2022-01-17 22:35:41.040098675 -0600
+++ cdparanoia-III-10.2.fixed/main.c    2022-01-17 22:37:44.661666551 -0600
@@ -589,10 +589,10 @@
        buffer[aheadposition+19]='>';
    }

-   fprintf(stderr,buffer);
+   fprintf(stderr,"%s",buffer);

    if (logfile != NULL && function==-1) {
-     fprintf(logfile,buffer+1);
+     fprintf(logfile,"%s",buffer+1);
      fprintf(logfile,"\n\n");
      fflush(logfile);
    }