This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
linuxptp: fix bad formats with ppc64 and mips64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev
3 years ago
parent
6cfc4baf41
commit
31a8112c51
2 changed files
with
13 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
net/linuxptp/Makefile
+12
-0
net/linuxptp/patches/010-64bit.patch
+ 1
- 1
net/linuxptp/Makefile
View File
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
linuxptp
PKG_VERSION
:=
3.1.1
PKG_RELEASE
:=
1
PKG_RELEASE
:=
2
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tgz
PKG_SOURCE_URL
:=
@SF/
$(
PKG_NAME
)
/v
$(
PKG_VERSION
)
+ 12
- 0
net/linuxptp/patches/010-64bit.patch
View File
@ -0,0 +1,12 @@
--- a/ts2phc_slave.c
+++ b/ts2phc_slave.c
@@ -4,6 +4,9 @@
* @note Copyright (C) 2019 Balint Ferencz <fernya@sch.bme.hu>
* @note SPDX-License-Identifier: GPL-2.0+
*/
+#ifndef __SANE_USERSPACE_TYPES__
+#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
+#endif
#include <errno.h>
#include <linux/ptp_clock.h>
#include <poll.h>
Write
Preview
Loading…
Cancel
Save