diff --git a/app-cdr/cdrtools/patches/cdrtools-3.01~a29.patch b/app-cdr/cdrtools/patches/cdrtools-3.01~a29.patch index 730ebe95b..f40e7841b 100644 --- a/app-cdr/cdrtools/patches/cdrtools-3.01~a29.patch +++ b/app-cdr/cdrtools/patches/cdrtools-3.01~a29.patch @@ -17,7 +17,7 @@ diff -urp cdrtools-3.01/DEFAULTS/Defaults.haiku cdrtools-3.01-haiku/DEFAULTS/Def # ########################################################################### -INS_BASE= /boot/opt/schily -+INS_BASE= $(shell finddir B_SYSTEM_DIRECTORY) ++#INS_BASE= $(shell finddir B_SYSTEM_DIRECTORY) INS_KBASE= / INS_RBASE= / # @@ -52,3 +52,17 @@ diff -urp cdrtools-3.01/libscg/scsi-beos.c cdrtools-3.01-haiku/libscg/scsi-beos. } else { char *tgtstr = (tgt == 0) ? "master" : (tgt == 1) ? "slave" : "dummy"; js_snprintf(buf, sizeof (buf), + +diff --git a/include/schily/wait.h b/include/schily/wait.h +index 806a5da..6d22f10 100644 +--- a/include/schily/wait.h ++++ b/include/schily/wait.h +@@ -160,7 +160,7 @@ extern "C" { + # endif + # ifndef WCOREDUMP + # ifdef WIFCORED /* Haiku */ +-# define WCOREDUMP(status) (WIFCORED(_W_I(status)) ++# define WCOREDUMP(status) (WIFCORED(_W_I(status))) + # else + # define WCOREDUMP(status) (_W_I(status) & 0x80) + # endif