diff --git a/sysutils/mdf2iso/Portfile b/sysutils/mdf2iso/Portfile index c736948c54a..203e7aa7c81 100644 --- a/sysutils/mdf2iso/Portfile +++ b/sysutils/mdf2iso/Portfile @@ -1,14 +1,25 @@ -PortSystem 1.0 -name mdf2iso -version 0.3.0 -homepage http://mdf2iso.berlios.de/ -description Tool to convert mdf (Alcohol 120% images) images to iso images. -long_description ${description} -categories sysutils -platforms darwin -use_bzip2 yes -maintainers nomaintainer -master_sites http://download.berlios.de/mdf2iso http://download2.berlios.de/mdf2iso -checksums md5 a190625318476a196930ac66acd8fd07 -distname ${name}-${version}-src -worksrcdir ${name} +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 + +PortSystem 1.0 + +name mdf2iso +version 0.3.1 +revision 0 +categories sysutils +license GPL-2+ +maintainers nomaintainer + +description Convert MDF (Alcohol 120% images) to ISO images +long_description ${description}. + +homepage https://packages.debian.org/sid/mdf2iso +master_sites debian:m/${name} +distname ${name}_${version}.orig +worksrcdir ${name}-${version} + +checksums rmd160 d07bf6d072486382c71dc06ab04d529f769db180 \ + sha256 906f0583cb3d36c4d862da23837eebaaaa74033c6b0b6961f2475b946a71feb7 \ + size 193860 + +patch.pre_args-replace -p0 -p1 +patchfiles implicit.patch diff --git a/sysutils/mdf2iso/files/implicit.patch b/sysutils/mdf2iso/files/implicit.patch new file mode 100644 index 00000000000..b28e071b3b1 --- /dev/null +++ b/sysutils/mdf2iso/files/implicit.patch @@ -0,0 +1,18 @@ +Fix implicit declarations + +error: call to undeclared library function 'exit' with type +'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] + +See: https://trac.macports.org/wiki/WimplicitFunctionDeclaration + +diff -urN a/configure b/configure +--- a/configure 2015-02-23 05:47:52.000000000 -0500 ++++ b/configure 2025-08-26 21:31:22.000000000 -0400 +@@ -3218,6 +3218,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include + #include + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')