diff --git a/srcpkgs/ppp/patches/musl.patch b/srcpkgs/ppp/patches/musl.patch index 8755212b67e..d1e690a8130 100644 --- a/srcpkgs/ppp/patches/musl.patch +++ b/srcpkgs/ppp/patches/musl.patch @@ -100,11 +100,10 @@ --- include/linux/ppp_defs.h.orig 2015-05-10 10:59:27.959155977 +0200 +++ include/linux/ppp_defs.h 2015-05-10 10:59:50.190403246 +0200 -@@ -50,6 +50,10 @@ +@@ -50,6 +50,9 @@ #ifndef _PPP_DEFS_H_ #define _PPP_DEFS_H_ -+#include +#ifndef __P +# define __P(x) x +#endif @@ -124,3 +123,25 @@ void magic_init __P((void)); /* Initialize the magic number generator */ u_int32_t magic __P((void)); /* Returns the next magic number */ +--- include/net/ppp_defs.h.orig 2015-05-10 11:09:54.505127657 +0200 ++++ include/net/ppp_defs.h 2015-05-10 11:10:10.753309024 +0200 +@@ -38,6 +38,8 @@ + #ifndef _PPP_DEFS_H_ + #define _PPP_DEFS_H_ + ++#include /* time_t */ ++ + /* + * The basic PPP frame. + */ +--- pppd/plugins/rp-pppoe/config.h.orig 2015-05-10 11:14:12.820011051 +0200 ++++ pppd/plugins/rp-pppoe/config.h 2015-05-10 11:14:26.298161498 +0200 +@@ -102,7 +102,7 @@ + #define HAVE_NETPACKET_PACKET_H 1 + + /* Define if you have the header file. */ +-#define HAVE_SYS_CDEFS_H 1 ++/* #undef HAVE_SYS_CDEFS_H */ + + /* Define if you have the header file. */ + /* #undef HAVE_SYS_DLPI_H */ diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index 37d36b81b3b..4f6ecc939b6 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -1,7 +1,7 @@ # Template file for 'ppp' pkgname=ppp version=2.4.7 -revision=3 +revision=4 short_desc="PPP (Point-to-Point Protocol) daemon" homepage="https://ppp.samba.org/" license="BSD, LGPLv2+, GPLv2+, Public Domain"