chrony: remove old files

Remove files that were accidentally included in the previous merge
(pull request #1802). The obsolete patches are breaking the build now.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
This commit is contained in:
Miroslav Lichvar
2015-10-17 14:10:27 +02:00
parent 8f48703c7b
commit c75e456e25
5 changed files with 0 additions and 117 deletions
-25
View File
@@ -1,25 +0,0 @@
--- a/configure
+++ b/configure
@@ -254,6 +254,13 @@ do
--host-machine=* )
MACHINE=`echo $option | sed -e 's/^.*=//;'`
;;
+ --target=* )
+ TARGET=`echo $option | sed -e 's/[^=]*=//;'`
+ OPERATINGSYSTEM=`echo $TARGET | sed -e 's/.*-//;'`
+ MACHINE=`echo $TARGET | sed -e 's/-.*//;'`
+ VERSION=""
+ SYSTEM=${OPERATINGSYSTEM}-${MACHINE}
+ ;;
--help | -h )
usage
exit 0
@@ -287,7 +294,7 @@ case $SYSTEM in
;;
esac
;;
- Linux* )
+ Linux* | linux* )
EXTRA_OBJECTS="sys_linux.o wrap_adjtimex.o"
try_linuxcaps=1
try_rtc=1
@@ -1,34 +0,0 @@
--- a/ntp_io.c
+++ b/ntp_io.c
@@ -355,6 +355,7 @@ read_from_socket(void *anything)
}
#endif
+#ifdef HAVE_IPV6
#ifdef IPV6_PKTINFO
if (cmsg->cmsg_level == IPPROTO_IPV6 && cmsg->cmsg_type == IPV6_PKTINFO) {
struct in6_pktinfo ipi;
@@ -365,6 +366,7 @@ read_from_socket(void *anything)
remote_addr.local_ip_addr.family = IPADDR_INET6;
}
#endif
+#endif
#ifdef SO_TIMESTAMP
if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SO_TIMESTAMP) {
@@ -466,6 +468,7 @@ send_packet(void *packet, int packetlen,
}
#endif
+#ifdef HAVE_IPV6
#ifdef IPV6_PKTINFO
if (remote_addr->local_ip_addr.family == IPADDR_INET6) {
struct cmsghdr *cmsg;
@@ -484,6 +487,7 @@ send_packet(void *packet, int packetlen,
sizeof(ipi->ipi6_addr.s6_addr));
}
#endif
+#endif
#if 0
LOG(LOGS_INFO, LOGF_NtpIO, "sending to %s:%d from %s",