Étienne Mollier pushed to branch master at Debian Med / dcmtk
Commits: 0d3ad3a2 by Pino Toscano at 2026-02-08T08:20:27+01:00 d/patches/hurd.patch: new, fix the build on GNU/Hurd. - - - - - 8d20b626 by Étienne Mollier at 2026-05-27T20:17:41+02:00 Merge remote-tracking branch 'pino/hurd' - - - - - 75d16836 by Étienne Mollier at 2026-05-27T20:18:35+02:00 d/changelog: initialise the changelog. - - - - - 3 changed files: - debian/changelog - + debian/patches/hurd.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +dcmtk (3.7.0+really3.7.0-3) UNRELEASED; urgency=medium + + [ Pino Toscano ] + * d/patches/hurd.patch: new, fix the build on GNU/Hurd. + + -- Étienne Mollier <[email protected]> Wed, 27 May 2026 20:18:20 +0200 + dcmtk (3.7.0+really3.7.0-2) unstable; urgency=medium * Team upload. ===================================== debian/patches/hurd.patch ===================================== @@ -0,0 +1,39 @@ +From 418ee5087a23210a0bdd816746c98fc3ffc4709f Mon Sep 17 00:00:00 2001 +From: Marco Eichelberg <[email protected]> +Date: Fri, 30 Jan 2026 18:21:33 +0100 +Subject: [PATCH] Added support for GNU Hurd in OFgetExecutablePath(). + +Thanks to Pino Toscano (GitHub user pinotree) for the pull request. + +This closes GitHub PR #137. +--- + ofstd/libsrc/ofwhere.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/ofstd/libsrc/ofwhere.c b/ofstd/libsrc/ofwhere.c +index 3b6bec18e..3e8b3e591 100644 +--- a/ofstd/libsrc/ofwhere.c ++++ b/ofstd/libsrc/ofwhere.c +@@ -165,7 +165,7 @@ int OFgetExecutablePath(char* out, int capacity, int* dirname_length) + return OFgetModulePath_(NULL, out, capacity, dirname_length); + } + +-#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(WAI_USE_PROC_SELF_EXE) ++#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(__GNU__) || defined(WAI_USE_PROC_SELF_EXE) + + #include <stdio.h> + #include <stdlib.h> +@@ -185,6 +185,10 @@ int OFgetExecutablePath(char* out, int capacity, int* dirname_length) + #endif + #endif + ++#if !defined(PATH_MAX) ++#define PATH_MAX 1024 ++#endif ++ + + int OFgetExecutablePath(char* out, int capacity, int* dirname_length) + { +-- +2.51.0 + ===================================== debian/patches/series ===================================== @@ -3,3 +3,4 @@ 07_dont_export_all_executables.patch remove_version.patch skip-bigendian-roundtrip-failure.patch +hurd.patch View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/compare/20976fe04a540910634259df4b2f6d19b76a4045...75d16836bb16e7201d8cfcabc0dff63de0e3022f -- View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/compare/20976fe04a540910634259df4b2f6d19b76a4045...75d16836bb16e7201d8cfcabc0dff63de0e3022f You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
