• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/rp-pppoe/rp-pppoe-3.10-002-krn-plugin.patch
Gustavo ZacariasGustavo Zacarias committed 602b051634b04 Sep 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
diff -Nura rp-pppoe-3.11.orig/src/configure rp-pppoe-3.11/src/configure
2
--- rp-pppoe-3.11.orig/src/configure    2012-08-21 10:01:10.536440032 -0300
3
+++ rp-pppoe-3.11/src/configure 2012-08-21 10:01:45.353442397 -0300
4
@@ -4517,7 +4517,7 @@
5
 modprobe pppoe > /dev/null 2>&1
6
 fi
7
 if test "$cross_compiling" = yes; then :
8
-  ac_cv_linux_kernel_pppoe=no; $ECHO "cross-compiling, default: "
9
+  ac_cv_linux_kernel_pppoe=yes; $ECHO "cross-compiling, default: "
10
 else
11
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12
 /* end confdefs.h.  */
13
diff -Nura rp-pppoe-3.11.orig/src/pppoe-server.c rp-pppoe-3.11/src/pppoe-server.c
14
--- rp-pppoe-3.11.orig/src/pppoe-server.c   2012-08-21 10:01:10.535440032 -0300
15
+++ rp-pppoe-3.11/src/pppoe-server.c    2012-08-21 10:02:02.597443569 -0300
16
@@ -20,6 +20,9 @@
17
 
18
 #include "config.h"
19
 
20
+/* Patched hack to make this cross compile */
21
+#define HAVE_LINUX_KERNEL_PPPOE 1
22
+
23
 #if defined(HAVE_NETPACKET_PACKET_H) || defined(HAVE_LINUX_IF_PACKET_H)
24
 #define _POSIX_SOURCE 1 /* For sigaction defines */
25
 #endif
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.