diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-07 03:17:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-07 03:17:57 +0000 |
commit | 7d34c154007e4cdf59c5242156bd0bd12345b402 (patch) | |
tree | c01cc346c664aa616595b7eb48e28621483606f4 /games-misc/bsd-games/files | |
parent | masked games-action/bomberclone due to security issues (diff) | |
download | historical-7d34c154007e4cdf59c5242156bd0bd12345b402.tar.gz historical-7d34c154007e4cdf59c5242156bd0bd12345b402.tar.bz2 historical-7d34c154007e4cdf59c5242156bd0bd12345b402.zip |
Mark C funcs as extern C #128348 by Honza.
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'games-misc/bsd-games/files')
-rw-r--r-- | games-misc/bsd-games/files/bsd-games-2.17-headers.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-headers.patch b/games-misc/bsd-games/files/bsd-games-2.17-headers.patch new file mode 100644 index 000000000000..953a5d35765a --- /dev/null +++ b/games-misc/bsd-games/files/bsd-games-2.17-headers.patch @@ -0,0 +1,16 @@ +http://bugs.gentoo.org/128348 + +--- include/stdio.h ++++ include/stdio.h +@@ -35,5 +35,11 @@ + #include_next <stdio.h> + + #ifndef HAVE_fgetln ++#ifdef __cplusplus ++extern "C" { ++#endif + extern char *fgetln(FILE *stream, size_t *len); ++#ifdef __cplusplus ++} ++#endif + #endif |