mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
ppp: update for musl (install net/ppp_defs.h required by pppd.h).
This commit is contained in:
parent
1d9387539e
commit
d75edf4a21
2 changed files with 5 additions and 12 deletions
|
@ -134,14 +134,3 @@
|
||||||
/*
|
/*
|
||||||
* The basic PPP frame.
|
* 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 <sys/cdefs.h> header file. */
|
|
||||||
-#define HAVE_SYS_CDEFS_H 1
|
|
||||||
+/* #undef HAVE_SYS_CDEFS_H */
|
|
||||||
|
|
||||||
/* Define if you have the <sys/dlpi.h> header file. */
|
|
||||||
/* #undef HAVE_SYS_DLPI_H */
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ppp'
|
# Template file for 'ppp'
|
||||||
pkgname=ppp
|
pkgname=ppp
|
||||||
version=2.4.7
|
version=2.4.7
|
||||||
revision=4
|
revision=5
|
||||||
short_desc="PPP (Point-to-Point Protocol) daemon"
|
short_desc="PPP (Point-to-Point Protocol) daemon"
|
||||||
homepage="https://ppp.samba.org/"
|
homepage="https://ppp.samba.org/"
|
||||||
license="BSD, LGPLv2+, GPLv2+, Public Domain"
|
license="BSD, LGPLv2+, GPLv2+, Public Domain"
|
||||||
|
@ -43,6 +43,10 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR}/usr 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
|
chmod 755 ${DESTDIR}/usr/lib/pppd/${version}/*.so
|
||||||
|
|
||||||
vinstall pppd/pppd 755 usr/sbin
|
vinstall pppd/pppd 755 usr/sbin
|
||||||
|
|
Loading…
Add table
Reference in a new issue