Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 757944 Details for
Bug 801688
net-dns/pdnsd-1.2.9a-r2 - /.../if.h: error: redefinition of struct ifmap
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix cmake issue with kernels >=5.14
5-14_fix_patch.txt (text/plain), 1.05 KB, created by
Alexandros C. Couloumbis
on 2021-12-10 09:39:37 UTC
(
hide
)
Description:
fix cmake issue with kernels >=5.14
Filename:
MIME Type:
Creator:
Alexandros C. Couloumbis
Created:
2021-12-10 09:39:37 UTC
Size:
1.05 KB
patch
obsolete
>From 59859acf9083010639eb9bc0bf8cb5d03f03935f Mon Sep 17 00:00:00 2001 >From: SiYao Mo <msylgj@vip.qq.com> >Date: Fri, 16 Jul 2021 14:25:44 +0800 >Subject: [PATCH] pdnsd-alt: fix cmake error in kernel 5.13/5.14 Because of > redefinition of 'struct ifmap' & 'struct ifreq' & 'struct ifconf' in > linux/if.h (Linux Kernel above 5.13) Replace net/if.h with linux/if.h > >Signed-off-by: SiYao Mo <msylgj@vip.qq.com> >--- > src/conff.h | 2 +- > src/dns.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/src/conff.h b/src/conff.h >index a07b156..c66d210 100644 >--- a/src/conff.h >+++ b/src/conff.h >@@ -32,7 +32,7 @@ > #include <stdio.h> > #include <pthread.h> > #include <sys/socket.h> >-#include <net/if.h> >+#include <linux/if.h> > #include "ipvers.h" > #include "list.h" > >diff --git a/src/dns.h b/src/dns.h >index 0f6a4ac..ecc9680 100644 >--- a/src/dns.h >+++ b/src/dns.h >@@ -27,7 +27,7 @@ > #include <config.h> > #include <arpa/inet.h> > #include <sys/socket.h> >-#include <net/if.h> >+#include <linux/if.h> > #include <sys/types.h> > #include <inttypes.h> > #include "rr_types.h"
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 801688
:
723439
|
723442
|
723445
|
723448
|
723451
|
723454
|
723457
| 757944