Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190294 Details for
Bug 212255
net-irc/ircd-hybrid doesn't compile - /usr/include/gentoo-multilib/amd64/bits/stat.h:103: error: expected identifier or '(' before '[' token
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix "__unused" #define that conflicts with glibc
7.2.3-amd64-glibc.patch (text/plain), 1.19 KB, created by
Andrey "Zed" Zaikin
on 2009-05-04 11:06:25 UTC
(
hide
)
Description:
patch to fix "__unused" #define that conflicts with glibc
Filename:
MIME Type:
Creator:
Andrey "Zed" Zaikin
Created:
2009-05-04 11:06:25 UTC
Size:
1.19 KB
patch
obsolete
>diff -ru ircd-hybrid-7.2.3.orig/src/lex.yy.c ircd-hybrid-7.2.3/src/lex.yy.c >--- ircd-hybrid-7.2.3.orig/src/lex.yy.c 2009-05-04 16:36:03.000000000 +0600 >+++ ircd-hybrid-7.2.3/src/lex.yy.c 2009-05-04 16:39:32.000000000 +0600 >@@ -8,7 +8,7 @@ > #if defined(__FreeBSD__) > #include <sys/cdefs.h> > #else >-#define __unused >+#define __local_unused > #endif > > #define FLEX_SCANNER >@@ -247,7 +247,7 @@ > YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); > > static void *yy_flex_alloc YY_PROTO(( yy_size_t )); >-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) __unused; >+static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) __local_unused; > static void yy_flex_free YY_PROTO(( void * )); > > #define yy_new_buffer yy_create_buffer >diff -ru ircd-hybrid-7.2.3.orig/src/y.tab.c ircd-hybrid-7.2.3/src/y.tab.c >--- ircd-hybrid-7.2.3.orig/src/y.tab.c 2009-05-04 16:36:03.000000000 +0600 >+++ ircd-hybrid-7.2.3/src/y.tab.c 2009-05-04 16:38:54.000000000 +0600 >@@ -1,7 +1,7 @@ > #include <stdlib.h> > #ifndef lint >-#ifdef __unused >-__unused >+#ifdef __local_unused >+__local_unused > #endif > static char const > yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212255
: 190294 |
190295