mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
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
28 lines
587 B
C
28 lines
587 B
C
--- scsilib/libschily/getfp.c.orig 2003-07-12 23:10:47 UTC
|
|
+++ scsilib/libschily/getfp.c
|
|
@@ -23,6 +23,7 @@
|
|
#include <mconfig.h>
|
|
#include <standard.h>
|
|
#include <schily.h>
|
|
+#include <sys/cdefs.h>
|
|
|
|
#ifndef IS_AVOFFSET
|
|
/*
|
|
@@ -56,7 +57,7 @@
|
|
|
|
EXPORT void **___fpoff __PR((char *cp));
|
|
|
|
-EXPORT void **
|
|
+EXPORT __noinline void **
|
|
getfp()
|
|
{
|
|
long **dummy[1];
|
|
@@ -73,7 +74,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;
|
|
{
|