mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
cdrtools: fix the build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user