FreeBSD Bugzilla – Attachment 246919 Details for
Bug 275645
sysutils/cdrkit: remove sbrk usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Remove sbrk use in cdrkit and genisoimage
cdrkit.diff (text/plain), 1.85 KB, created by
Brooks Davis
on 2023-12-09 00:13:57 UTC
(
hide
)
Description:
Remove sbrk use in cdrkit and genisoimage
Filename:
MIME Type:
Creator:
Brooks Davis
Created:
2023-12-09 00:13:57 UTC
Size:
1.85 KB
patch
obsolete
>commit 714f53406a448779a72e8e9cdb2a875a23d35b99 >Author: Brooks Davis <brooks@FreeBSD.org> >Date: Fri Dec 8 21:26:50 2023 +0000 > > sysutils/{cdrkit,genisoimage} remove sbrk use > > The code has fallbacks and when configured with configure presumably > used them. Just remove the HAVE_SBRK define from xconfig.h.in to do the > right thing. > >diff --git a/sysutils/cdrkit/Makefile b/sysutils/cdrkit/Makefile >index 4219a694e1bf..59d6a0c7ff02 100644 >--- a/sysutils/cdrkit/Makefile >+++ b/sysutils/cdrkit/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= cdrkit > PORTVERSION= 1.1.11 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= sysutils > MASTER_SITES= http://ponce.cc/slackware/sources/repo/ \ > http://vault.101011010.xyz/distfiles/ \ >diff --git a/sysutils/cdrkit/files/patch-include_xconfig.h.in b/sysutils/cdrkit/files/patch-include_xconfig.h.in >new file mode 100644 >index 000000000000..2035480140f6 >--- /dev/null >+++ b/sysutils/cdrkit/files/patch-include_xconfig.h.in >@@ -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 */ >diff --git a/sysutils/genisoimage/Makefile b/sysutils/genisoimage/Makefile >index b892c19870f3..715abb83c7d8 100644 >--- a/sysutils/genisoimage/Makefile >+++ b/sysutils/genisoimage/Makefile >@@ -2,9 +2,6 @@ PKGNAMESUFFIX= -genisoimage > > COMMENT= Standalone genisoimage from cdrkit > >-BROKEN_aarch64= Fails to link: missing sbrk >-BROKEN_riscv64= Fails to link: missing sbrk >- > RUN_DEPENDS= # nada > > CONFLICTS= # nada
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 275645
: 246919