Update openbsd-netcat.patch
This commit is contained in:
@@ -602,8 +602,8 @@ diff -uprN netcat-openbsd-1.130.bk/explicit_bzero.c netcat-openbsd-1.130/explici
|
||||
+}
|
||||
diff -uprN netcat-openbsd-1.130.bk/getentropy_hurd.c netcat-openbsd-1.130/getentropy_hurd.c
|
||||
--- netcat-openbsd-1.130.bk/getentropy_hurd.c 1970-01-01 08:00:00.000000000 +0800
|
||||
+++ netcat-openbsd-1.130/getentropy_hurd.c 2016-03-27 18:21:36.000000000 +0800
|
||||
@@ -0,0 +1,446 @@
|
||||
+++ netcat-openbsd-1.130/getentropy_hurd.c 2017-04-14 00:32:41.373554700 +0800
|
||||
@@ -0,0 +1,444 @@
|
||||
+/* $OpenBSD: getentropy_linux.c,v 1.40 2015/08/25 17:26:43 deraadt Exp $ */
|
||||
+
|
||||
+/*
|
||||
@@ -632,7 +632,6 @@ diff -uprN netcat-openbsd-1.130.bk/getentropy_hurd.c netcat-openbsd-1.130/getent
|
||||
+#include <sys/param.h>
|
||||
+#include <sys/ioctl.h>
|
||||
+#include <sys/resource.h>
|
||||
+#include <sys/syscall.h>
|
||||
+#include <sys/statvfs.h>
|
||||
+#include <sys/socket.h>
|
||||
+#include <sys/mman.h>
|
||||
@@ -641,7 +640,6 @@ diff -uprN netcat-openbsd-1.130.bk/getentropy_hurd.c netcat-openbsd-1.130/getent
|
||||
+#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
+#include <stdio.h>
|
||||
+#include <link.h>
|
||||
+#include <termios.h>
|
||||
+#include <fcntl.h>
|
||||
+#include <signal.h>
|
||||
|
||||
Reference in New Issue
Block a user