diff --git a/srcpkgs/ppp/patches/musl.patch b/srcpkgs/ppp/patches/musl.patch index d1e690a8130..802409fc980 100644 --- a/srcpkgs/ppp/patches/musl.patch +++ b/srcpkgs/ppp/patches/musl.patch @@ -134,14 +134,3 @@ /* * 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 4f6ecc939b6..5b6abd88f1f 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -1,7 +1,7 @@ # Template file for 'ppp' pkgname=ppp version=2.4.7 -revision=4 +revision=5 short_desc="PPP (Point-to-Point Protocol) daemon" homepage="https://ppp.samba.org/" license="BSD, LGPLv2+, GPLv2+, Public Domain" @@ -43,6 +43,10 @@ do_build() { do_install() { make DESTDIR=${DESTDIR}/usr install + case "$XBPS_TARGET_MACHINE" in + *-musl) vinstall include/net/ppp_defs.h 644 usr/include/net;; + esac + chmod 755 ${DESTDIR}/usr/lib/pppd/${version}/*.so vinstall pppd/pppd 755 usr/sbin