diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:00:56 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:00:56 +0000 |
commit | 8a2eff15638d00fe83180799b3a7e48e51b0b13b (patch) | |
tree | 148d8039ee6af172585d866bc9e17666baedc740 /net/dictd/files/patch-libmaa::getopt.c | |
parent | This is ePSXe, a Sony Playstation emulator (Linux binary). (diff) |
Fix build on sparc64 (all the world's not sunos, solaris or linnex)
Notes
Notes:
svn path=/head/; revision=72952
Diffstat (limited to 'net/dictd/files/patch-libmaa::getopt.c')
-rw-r--r-- | net/dictd/files/patch-libmaa::getopt.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dictd/files/patch-libmaa::getopt.c b/net/dictd/files/patch-libmaa::getopt.c new file mode 100644 index 000000000000..7db8008f368c --- /dev/null +++ b/net/dictd/files/patch-libmaa::getopt.c @@ -0,0 +1,11 @@ +--- libmaa/getopt.c.orig Sat Jan 11 18:40:00 2003 ++++ libmaa/getopt.c Sat Jan 11 18:40:12 2003 +@@ -44,7 +44,7 @@ + + #include <stdio.h> + +-#ifdef __sparc__ ++#if defined(__sparc__) && !defined(__FreeBSD__) + extern int fprintf( FILE *, const char *, ... ); + extern int strncmp( const char *, const char *, int n ); + #endif |