diff options
Diffstat (limited to 'sysutils/cdrtools-devel/files/patch-inc_avoffset.c')
-rw-r--r-- | sysutils/cdrtools-devel/files/patch-inc_avoffset.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-inc_avoffset.c b/sysutils/cdrtools-devel/files/patch-inc_avoffset.c index ab1af624da6d..a2c0807ebfd0 100644 --- a/sysutils/cdrtools-devel/files/patch-inc_avoffset.c +++ b/sysutils/cdrtools-devel/files/patch-inc_avoffset.c @@ -15,9 +15,9 @@ # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/. ########################################################################### ---- inc/avoffset.c.orig 2011-11-28 19:28:41 UTC +--- inc/avoffset.c.orig 2017-08-01 18:10:02 UTC +++ inc/avoffset.c -@@ -60,7 +60,7 @@ main(ac, av) +@@ -50,7 +50,7 @@ main(ac, av) { int stdir; #ifdef HAVE_SCANSTACK @@ -26,3 +26,19 @@ register int i = 0; register int o = 0; +@@ -105,6 +105,7 @@ main(ac, av) + * does not affect the new code extended as well. + */ + while (i <= 1000 && fp->fr_savfp) { ++#if 0 + /* + * Workaround for the still buggy clang... + * clang version 4.0.0 on ARM64 FreeBSD has become worse. +@@ -113,6 +114,7 @@ main(ac, av) + * is never touched. + */ + write(-1, "", 0); ++#endif + if (fp->fr_savpc == 0) + break; + |