[packages/ccd2iso] Rel 5
arekm
arekm at pld-linux.org
Mon Mar 9 16:20:34 CET 2026
commit eaac1b0ccbf2fe7b449d3647f180e6a5d9d3bc8d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 16:20:22 2026 +0100
Rel 5
ccd2iso-c99.patch | 19 +++++++++++++++++++
ccd2iso.spec | 4 +++-
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/ccd2iso.spec b/ccd2iso.spec
index 1c9ead9..f73b3d2 100644
--- a/ccd2iso.spec
+++ b/ccd2iso.spec
@@ -2,12 +2,13 @@ Summary: CloneCD image to ISO image file converter
Summary(pl.UTF-8): Konwerter plików obrazów CloneCD do ISO
Name: ccd2iso
Version: 0.3
-Release: 4
+Release: 5
License: GPL v2
Group: Applications/System
Source0: http://dl.sourceforge.net/ccd2iso/%{name}-%{version}.tar.gz
# Source0-md5: a7df1c46cb710f2fc8ebd88c2e64ce65
URL: http://sourceforge.net/projects/ccd2iso/
+Patch0: %{name}-c99.patch
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,6 +20,7 @@ Konwerter plików obrazów CloneCD do ISO.
%prep
%setup -q
+%patch -P0 -p1
%build
cp -f /usr/share/automake/config.* .
diff --git a/ccd2iso-c99.patch b/ccd2iso-c99.patch
new file mode 100644
index 0000000..3094b64
--- /dev/null
+++ b/ccd2iso-c99.patch
@@ -0,0 +1,19 @@
+--- ccd2iso-0.3/src/ccd2iso.c.orig 2003-12-05 16:16:37.000000000 +0100
++++ ccd2iso-0.3/src/ccd2iso.c 2026-03-09 00:00:00.000000000 +0100
+@@ -28,6 +28,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ #include "clonecd.h"
+
+@@ -93,7 +94,7 @@
+ if (bytes_read < sizeof(ccd_sector))
+ {
+ printf("Error at sector %d.\n", sect_num);
+- printf("The sector does not contain complete data. Sector size must be %d, while actual data read is %d\n",
++ printf("The sector does not contain complete data. Sector size must be %zu, while actual data read is %d\n",
+ sizeof(ccd_sector), bytes_read);
+ return 1;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ccd2iso.git/commitdiff/eaac1b0ccbf2fe7b449d3647f180e6a5d9d3bc8d
More information about the pld-cvs-commit
mailing list