ports/sysutils/cdrdao/files/patch-scsilib_inc_getfp.c
Marius Strobl 81ef7f54fd Update to 1.2.4, which is mostly a maintainance release and allows to get
rid of some local patches:

o Fixed autocon warnings (Denis Leroy)
o Ported to lame 3.100 (from Fedora)
o G++ compile fixes (Nick Bailey)
o Renamed xdao folder to gcdmaster (Denis Leroy)
o pccts format security patch (from Fedora)
o Fixed compile issues with glibc >= 2.12
o Gcdmaster segfault fix (Adrian Knoth)
o Prevent a FTBFS on kfreebsd (Christoph Egger)
o Fix printf format security issues (Frantisek Kluknavsky Fedora)
o Add missing options to man page (Honza Horak)
o CD_TEXT fix for HL-DT-ST (Kees Cook)
o Man page hyphen fixes (Markus Koschany)
o Some updates to the old scsilib smake files (Ubuntu patches)

While at it, pet portlint.

Security:	yes
2018-06-13 21:40:03 +00:00

20 lines
440 B
C

--- scsilib/inc/getfp.c.orig 2003-07-12 23:10:47 UTC
+++ scsilib/inc/getfp.c
@@ -56,7 +56,7 @@
EXPORT void **___fpoff __PR((char *cp));
-EXPORT void **
+EXPORT __noinline void **
getfp()
{
long **dummy[1];
@@ -73,7 +73,7 @@ getfp()
* We need this function to fool GCCs check for returning addresses
* from outside the functions local address space.
*/
-EXPORT void **
+EXPORT __noinline void **
___fpoff(cp)
char *cp;
{