ports/sysutils/cdrkit/files/patch-include_xconfig.h.in
Brooks Davis 7186609173 sysutils/{cdrkit,genisoimage}: remove sbrk use
The code has fallbacks for a lack of sbrk.  Just remove the HAVE_SBRK
define from xconfig.h.in to avoid using it needlessly.  I've verified
basic genisoimage functionality.

PR:		275645
Approved by	jharris@widomaker.com (maintainer)
2025-02-18 21:00:22 +00:00

10 lines
491 B
C

--- include/xconfig.h.in.orig
+++ include/xconfig.h.in
@@ -147,7 +147,6 @@
#define HAVE_POLL 1 /* poll() is present in libc */
#define HAVE_SELECT 1 /* select() is present in libc */
#define HAVE_LCHOWN 1 /* lchown() is present in libc */
-#define HAVE_SBRK 1 /* sbrk() is present in libc */
#define HAVE_VA_COPY 1 /* va_copy() is present in varargs.h/stdarg.h */
#define HAVE_DUP2 1 /* dup2() is present in libc */
#define HAVE_GETCWD 1 /* POSIX getcwd() is present in libc */