mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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)
This commit is contained in:
parent
4bfc940087
commit
7186609173
2 changed files with 11 additions and 1 deletions
|
@ -14,7 +14,7 @@ LICENSE= GPLv2+
|
|||
|
||||
RUN_DEPENDS?= ${PORTNAME}-genisoimage>0:sysutils/genisoimage
|
||||
|
||||
USES= cmake iconv perl5 sbrk shebangfix
|
||||
USES= cmake iconv perl5 shebangfix
|
||||
USE_PERL5= run
|
||||
SHEBANG_FILES= 3rd-party/dirsplit/dirsplit
|
||||
# Fix build with clang11
|
||||
|
|
10
sysutils/cdrkit/files/patch-include_xconfig.h.in
Normal file
10
sysutils/cdrkit/files/patch-include_xconfig.h.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- 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 */
|
Loading…
Add table
Reference in a new issue