diff options
| author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-01 14:09:29 +0000 |
|---|---|---|
| committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-01 14:09:29 +0000 |
| commit | 6addcc154f7e220a1316c91163c7735cab5b8c45 (patch) | |
| tree | 9f875b368d2a5a29103f21ecde767a95329f010e /security/poc/files/patch-src_missing__libs.h | |
| parent | Fix man page links. (diff) | |
* Add libgnugetopt dependency.
Submitted by: Juan Pablo Villa <juan@datafull.com>
* Respect CFLAGS.
* Use x86 asm only on i386 architecture.
Approved by: no response from maintainer
Diffstat (limited to 'security/poc/files/patch-src_missing__libs.h')
| -rw-r--r-- | security/poc/files/patch-src_missing__libs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/poc/files/patch-src_missing__libs.h b/security/poc/files/patch-src_missing__libs.h new file mode 100644 index 000000000000..0dcf40832e8d --- /dev/null +++ b/security/poc/files/patch-src_missing__libs.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/missing_libs.h.orig Thu Jul 25 17:11:57 2002 ++++ src/missing_libs.h Thu Jul 25 17:12:25 2002 +@@ -46,7 +46,7 @@ + #define __bswap_constant_16(x) \ + ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)) + +-#if defined __GNUC__ && __GNUC__ >= 2 ++#if defined __i386__ && defined __GNUC__ && __GNUC__ >= 2 + # define __bswap_16(x) \ + (__extension__ \ + ({ register unsigned short int __v; \ |
