diff --git a/sysutils/cdrkit/Makefile b/sysutils/cdrkit/Makefile index 74ed7ac859bb..55165be1855e 100644 --- a/sysutils/cdrkit/Makefile +++ b/sysutils/cdrkit/Makefile @@ -1,35 +1,35 @@ PORTNAME= cdrkit PORTVERSION= 1.1.11 PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= http://ponce.cc/slackware/sources/repo/ \ http://vault.101011010.xyz/distfiles/ \ http://freebsd.nsu.ru/distfiles/ MAINTAINER= jharris@widomaker.com COMMENT?= Command-line CD/DVD writing suite WWW= http://www.cdrkit.org/ 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 CFLAGS+= -fcommon CMAKE_ARGS= -DMANSUBDIR:PATH=share/man CONFLICTS?= cdrtools PLIST_SUB?= CDRKIT="" GENISOIMAGE="@comment " post-patch: @${REINPLACE_CMD} -e 's|fexecve|librols_fexecve|g' \ ${WRKSRC}/librols/fexec.c \ ${WRKSRC}/include/schily.h @${REINPLACE_CMD} -e 's|getdelim|wodim_getdelim|g' ${WRKSRC}/wodim/cue.c .include 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 */