This commit is contained in:
parent
e2a9836c6a
commit
9380858c0b
11
glibc210.patch
Normal file
11
glibc210.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Index: ptpd-1.0.0/src/arith.c
|
||||||
|
===================================================================
|
||||||
|
--- ptpd-1.0.0.orig/src/arith.c
|
||||||
|
+++ ptpd-1.0.0/src/arith.c
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
/* arith.c */
|
||||||
|
|
||||||
|
+#include <limits.h>
|
||||||
|
#include "ptpd.h"
|
||||||
|
|
||||||
|
/* from annex C of the spec */
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 12 14:07:27 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
- fix build with glibc 2.10
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 23:08:23 CET 2008 - dbahi@suse.de
|
Tue Nov 11 23:08:23 CET 2008 - dbahi@suse.de
|
||||||
|
|
||||||
|
10
ptpd.spec
10
ptpd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ptpd (Version 1.0.0)
|
# spec file for package ptpd (Version 1.0.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,12 +21,13 @@
|
|||||||
Name: ptpd
|
Name: ptpd
|
||||||
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: conf.ptpd.init
|
Source1: conf.ptpd.init
|
||||||
Source2: conf.sysconfig.ptpd
|
Source2: conf.sysconfig.ptpd
|
||||||
|
Patch0: glibc210.patch
|
||||||
Patch1: append_to_cflags.patch
|
Patch1: append_to_cflags.patch
|
||||||
Url: http://ptpd.sourceforge.net/
|
Url: http://ptpd.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -58,6 +59,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -105,7 +107,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{insserv_cleanup}
|
%{insserv_cleanup}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Nov 11 2008 dbahi@suse.de
|
* Fri Jun 12 2009 coolo@novell.com
|
||||||
|
- fix build with glibc 2.10
|
||||||
|
* Wed Nov 12 2008 dbahi@suse.de
|
||||||
- modified to use 1.0.0 release instead of rc
|
- modified to use 1.0.0 release instead of rc
|
||||||
* Wed Nov 07 2007 dbahi@suse.de
|
* Wed Nov 07 2007 dbahi@suse.de
|
||||||
- cleaned up init script and install process
|
- cleaned up init script and install process
|
||||||
|
Loading…
Reference in New Issue
Block a user