Avoid horrid stack scanning code, breaks unexpectedly when built with clang 15

This commit is contained in:
jca 2023-01-10 13:28:59 +00:00
parent bf1ef6bb4a
commit 88179a41fc
2 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,7 @@ COMMENT= write audio/data CD-Rs in disk-at-once mode
DISTNAME= cdrdao-1.2.1
CATEGORIES= audio misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/}
REVISION= 5
REVISION= 6
HOMEPAGE= http://cdrdao.sourceforge.net/

View File

@ -0,0 +1,15 @@
Forcefully disable stack scanning, unportable and completely broken when
built by clang 15.
Index: scsilib/include/mconfig.h
--- scsilib/include/mconfig.h.orig
+++ scsilib/include/mconfig.h
@@ -137,6 +137,8 @@ extern "C" {
#endif
#endif
+#undef HAVE_SCANSTACK
+
/*
* Allow to overwrite the defines in the makefiles by calling
*