diff options
author | Marius Strobl <marius@FreeBSD.org> | 2017-04-24 20:23:23 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2017-04-24 20:23:23 +0000 |
commit | 0b16e8b6efaaae5577afcaf749f5e35a7da7e6bc (patch) | |
tree | 8d253a10b67c6bf5598cabaaea594bcc4767d70e /sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c | |
parent | security/vuxml: Document weechat vulnerability (diff) |
- Move the inclusion of bsd.port.pre.mk up slightly so ${UNAME} is also
available in the gcdmaster slave port at the required point in time
(it's unclear why this was no problem with the cdrdao port before). [1]
- Copy over the cdrtools patches from r427613 in order to fix the build
with clang 3.9.0.
Reported by: Jonathan Chen [1]
Notes
Notes:
svn path=/head/; revision=439345
Diffstat (limited to 'sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c')
-rw-r--r-- | sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c b/sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c new file mode 100644 index 000000000000..dc87e3dfc225 --- /dev/null +++ b/sysutils/cdrdao/files/patch-scsilib_inc_avoffset.c @@ -0,0 +1,28 @@ +########################################################################### +# This patch was contributed by Dimitry Andric. +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# The file CDDL.Schily.txt can be found in the original cdrtools tarball, +# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/. +########################################################################### + +--- scsilib/inc/avoffset.c.orig 2009-10-05 11:58:21 UTC ++++ scsilib/inc/avoffset.c +@@ -61,7 +61,7 @@ main(ac, av) + { + int stdir; + #ifdef HAVE_SCANSTACK +- register struct frame *fp; ++ volatile struct frame *fp; + register int i = 0; + register int o = 0; + |