update to 1.2
This commit is contained in:
parent
4e7ed2b505
commit
43c5a5a18c
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/linuxptp-20121109git4e8107.tar.gz
|
/linuxptp-20121109git4e8107.tar.gz
|
||||||
/linuxptp-1.0.tgz
|
/linuxptp-1.0.tgz
|
||||||
/linuxptp-1.1.tgz
|
/linuxptp-1.1.tgz
|
||||||
|
/linuxptp-1.2.tgz
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
--- a/phc2sys.c
|
|
||||||
+++ b/phc2sys.c
|
|
||||||
@@ -352,12 +352,14 @@ static int is_msg_mgt(struct ptp_message *msg)
|
|
||||||
|
|
||||||
static int get_mgt_id(struct ptp_message *msg)
|
|
||||||
{
|
|
||||||
- return ((struct management_tlv *) msg->management.suffix)->id;
|
|
||||||
+ struct management_tlv *mgt = (struct management_tlv *) msg->management.suffix;
|
|
||||||
+ return mgt->id;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void *get_mgt_data(struct ptp_message *msg)
|
|
||||||
{
|
|
||||||
- return ((struct management_tlv *) msg->management.suffix)->data;
|
|
||||||
+ struct management_tlv *mgt = (struct management_tlv *) msg->management.suffix;
|
|
||||||
+ return mgt->data;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int run_pmc(int wait_sync, int *utc_offset)
|
|
@ -1,5 +1,5 @@
|
|||||||
Name: linuxptp
|
Name: linuxptp
|
||||||
Version: 1.1
|
Version: 1.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: PTP implementation for Linux
|
Summary: PTP implementation for Linux
|
||||||
|
|
||||||
@ -11,8 +11,6 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
|
|||||||
Source1: phc2sys.service
|
Source1: phc2sys.service
|
||||||
Source2: ptp4l.service
|
Source2: ptp4l.service
|
||||||
|
|
||||||
Patch0: linuxptp-aliasing.patch
|
|
||||||
|
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
|
|
||||||
Requires(post): systemd-units
|
Requires(post): systemd-units
|
||||||
@ -28,7 +26,6 @@ Supporting legacy APIs and other platforms is not a goal.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p 1 -b .aliasing
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
@ -90,6 +87,9 @@ fi
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 22 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.2-1
|
||||||
|
- update to 1.2
|
||||||
|
|
||||||
* Mon Feb 18 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.1-1
|
* Mon Feb 18 2013 Miroslav Lichvar <mlichvar@redhat.com> 1.1-1
|
||||||
- update to 1.1
|
- update to 1.1
|
||||||
- log phc2sys output
|
- log phc2sys output
|
||||||
|
Loading…
Reference in New Issue
Block a user