aports/main/ppp/fix-pppd-magic.h.patch
Milan P. Stanić a8ec4b78e1 main/ppp: upgrade to 2.4.8
change source to github ppp repository
remove defaultroute-metric.3.patch, fixed upstream
remove prepare() function and use default
change builddir and remove _builddir
fix musl-fix-headers.patch
add fix-pppd-magic.h.patch (split out of the musl-fix-headers.patch
and addapted)
add fix-pppd-pppoe.h.patch (split out of the musl-fix-headers.patch
and addapted)
enable USE_CRYPT=y in pppd/Makefile.linux to use libcrypto,
else it try to use des.h (which does not exist on Alpine).
2020-02-17 22:55:00 -03:00

12 lines
349 B
Diff

--- a/pppd/magic.h 2019-12-31 02:31:26.000000000 +0100
+++ b/pppd/magic.h 2020-02-06 20:52:49.263657502 +0100
@@ -42,6 +42,8 @@
* $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
*/
+#include <sys/cdefs.h>
+
void magic_init (void); /* Initialize the magic number generator */
u_int32_t magic (void); /* Returns the next magic number */