Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162009 Details for
Bug 233326
net-misc/dhcpv6 + linux-headers-2.6.25-r4 - /usr/include/linux/ipv6.h:18: error: redefinition of 'struct in6_pktinfo'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove -D_GNU_SOURCES and add includes for <linux/ipv6.h>
fix-gnusource-collisions.patch (text/plain), 2.09 KB, created by
Travis Snoozy
on 2008-08-02 18:02:56 UTC
(
hide
)
Description:
Remove -D_GNU_SOURCES and add includes for <linux/ipv6.h>
Filename:
MIME Type:
Creator:
Travis Snoozy
Created:
2008-08-02 18:02:56 UTC
Size:
2.09 KB
patch
obsolete
>--- src/dhcp6c.c.orig 2008-07-29 17:20:01.000000000 -0700 >+++ src/dhcp6c.c 2008-08-02 10:31:37.000000000 -0700 >@@ -74,6 +74,10 @@ > # include <netinet6/in6_var.h> > #endif > >+#ifdef HAVE_LINUX_IPV6_H >+# include <linux/ipv6.h> >+#endif >+ > #include <linux/netlink.h> > #include <netlink/socket.h> > #include <netlink/route/rtnl.h> >--- src/dhcp6s.c.orig 2008-07-29 17:20:01.000000000 -0700 >+++ src/dhcp6s.c 2008-08-02 10:31:47.000000000 -0700 >@@ -62,6 +62,10 @@ > # include <linux/sockios.h> > #endif > >+#ifdef HAVE_LINUX_IPV6_H >+# include <linux/ipv6.h> >+#endif >+ > #include "dhcp6.h" > #include "cfg.h" > #include "common.h" >--- src/Makefile.orig 2008-08-02 10:29:37.000000000 -0700 >+++ src/Makefile 2008-08-02 10:30:04.000000000 -0700 >@@ -276,20 +276,20 @@ > > dhcp6clientinclude_HEADERS = client6_parse.h > lib_LTLIBRARIES = libdhcp6client.la >-dhcp6s_CFLAGS = -fPIE -D_GNU_SOURCE >+dhcp6s_CFLAGS = -fPIE > dhcp6s_LDFLAGS = $(BINLDFLAGS) > dhcp6s_SOURCES = dhcp6s.c server6_conf.c server6_addr.c server6_parse.y \ > server6_token.l $(COMMONSRCS) > >-dhcp6r_CFLAGS = -fPIE -D_GNU_SOURCE >+dhcp6r_CFLAGS = -fPIE > dhcp6r_LDFLAGS = $(BINLDFLAGS) > dhcp6r_SOURCES = dhcp6r.c relay6_database.c relay6_parser.c relay6_socket.c >-dhcp6c_CFLAGS = -fPIE -D_GNU_SOURCE $(LIBNL_CFLAGS) >+dhcp6c_CFLAGS = -fPIE $(LIBNL_CFLAGS) > dhcp6c_LDFLAGS = $(BINLDFLAGS) $(LIBNL_LIBS) > dhcp6c_SOURCES = dhcp6c.c cfg.c client6_addr.c client6_parse.y \ > client6_token.l dad_parse.c resolv_token.l $(COMMONSRCS) > >-libdhcp6client_la_CFLAGS = -DLIBDHCP -D_GNU_SOURCE -fPIC $(LIBNL_CFLAGS) >+libdhcp6client_la_CFLAGS = -DLIBDHCP -fPIC $(LIBNL_CFLAGS) > libdhcp6client_la_LDFLAGS = -version-info \ > $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ > -release $(LT_RELEASE) \ >--- src/relay6_socket.c.orig 2008-07-29 17:20:01.000000000 -0700 >+++ src/relay6_socket.c 2008-08-02 10:32:33.000000000 -0700 >@@ -42,6 +42,10 @@ > #include "relay6_parser.h" > #include "relay6_database.h" > >+#ifdef HAVE_LINUX_IPV6_H >+# include <linux/ipv6.h> >+#endif >+ > #ifndef IPV6_2292PKTINFO > #define IPV6_2292PKTINFO IPV6_PKTINFO > #endif
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 233326
:
161670
|
161672
| 162009 |
162011
|
174026
|
174048
|
174050
|
174051