forked from kenzok8/small-package
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cfcae9
commit b29629f
Showing
7 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
pdnsd-alt/patches/002-fix-pdnsd-alt-build-error-within-kernel_5.15.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 09171eef574503a82342a8b23d4a55b8a5286724 Mon Sep 17 00:00:00 2001 | ||
From: W_Y_CPP <[email protected]> | ||
Date: Sat, 1 Jan 2022 13:05:37 +0900 | ||
Subject: [PATCH] fix pdnsd alt build error with kernel_5.15 | ||
|
||
--- | ||
src/conff.h | 2 +- | ||
src/dns.h | 2 +- | ||
src/netdev.c | 2 +- | ||
3 files changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/src/conff.h b/src/conff.h | ||
index a07b1561b..c66d210aa 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 0f6a4ac1e..ecc9680b2 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" | ||
diff --git a/src/netdev.c b/src/netdev.c | ||
index bd5f8c451..bfd5046df 100644 | ||
--- a/src/netdev.c | ||
+++ b/src/netdev.c | ||
@@ -59,7 +59,7 @@ | ||
#include "ipvers.h" | ||
#include <sys/stat.h> | ||
#include <sys/ioctl.h> | ||
-#include <net/if.h> | ||
+#include <linux/if.h> | ||
#include <netdb.h> | ||
#include <string.h> | ||
#include <unistd.h> | ||
-- | ||
2.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters