[Buildroot] [git commit] package/rp-pppoe: drop first patch

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-12-14 19:54:02
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=ae395fe743d828106babd6185e75756c4ded054b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This patch has been added to buildroot more than eleven years ago in commit
e9ae739ce757d73657ef860e21ccc78b3d55816e however it seems that rp-pppoe
builds perfectly fine without it nowadays.

- ac_cv_linux_kernel_pppoe=no just gives a warning;
- HAVE_LINUX_KERNEL_PPPOE is set by configure based on the presence of
  the appropriate header.

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/rp-pppoe/0001-krn-plugin.patch             | 27 ----------------------
 ...001-src-pppoe.h-fix-build-with-musl-libc.patch} |  0
 2 files changed, 27 deletions(-)
diff --git a/package/rp-pppoe/0001-krn-plugin.patch b/package/rp-pppoe/0001-krn-plugin.patch
deleted file mode 100644
index c386e85f29..0000000000
--- a/package/rp-pppoe/0001-krn-plugin.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-[Fabrice: update patch for 3.14]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-diff -Nura rp-pppoe-3.11.orig/src/configure rp-pppoe-3.11/src/configure
---- rp-pppoe-3.11.orig/src/configure	2012-08-21 10:01:10.536440032 -0300
-+++ rp-pppoe-3.11/src/configure	2012-08-21 10:01:45.353442397 -0300
-@@ -4517,7 +4517,7 @@
- modprobe pppoe > /dev/null 2>&1
- fi
- if test "$cross_compiling" = yes; then :
--  ac_cv_linux_kernel_pppoe=no; echo "cross-compiling, default: "
-+  ac_cv_linux_kernel_pppoe=yes; echo "cross-compiling, default: "
- else
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
-diff -Nura rp-pppoe-3.11.orig/src/pppoe-server.c rp-pppoe-3.11/src/pppoe-server.c
---- rp-pppoe-3.11.orig/src/pppoe-server.c	2012-08-21 10:01:10.535440032 -0300
-+++ rp-pppoe-3.11/src/pppoe-server.c	2012-08-21 10:02:02.597443569 -0300
-@@ -20,6 +20,9 @@
- 
- #include "config.h"
- 
-+/* Patched hack to make this cross compile */
-+#define HAVE_LINUX_KERNEL_PPPOE 1
-+
- #if defined(HAVE_NETPACKET_PACKET_H) || defined(HAVE_LINUX_IF_PACKET_H)
- #define _POSIX_SOURCE 1 /* For sigaction defines */
- #endif
diff --git a/package/rp-pppoe/0002-src-pppoe.h-fix-build-with-musl-libc.patch b/package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch
similarity index 100%
rename from package/rp-pppoe/0002-src-pppoe.h-fix-build-with-musl-libc.patch
rename to package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help