summaryrefslogtreecommitdiff
path: root/net/libunp/files/patch-lib_wrapsock__r.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
commit1a8a092d9fefcbd7f960c82c59802c61807867a6 (patch)
tree48e47bf661e0e5d6ed9c060e8aea683b30d4540f /net/libunp/files/patch-lib_wrapsock__r.c
parent- Update to 1.7.1 (diff)
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=417041
Diffstat (limited to 'net/libunp/files/patch-lib_wrapsock__r.c')
-rw-r--r--net/libunp/files/patch-lib_wrapsock__r.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/libunp/files/patch-lib_wrapsock__r.c b/net/libunp/files/patch-lib_wrapsock__r.c
new file mode 100644
index 000000000000..1246b32a06ab
--- /dev/null
+++ b/net/libunp/files/patch-lib_wrapsock__r.c
@@ -0,0 +1,22 @@
+--- lib/wrapsock_r.c.orig 2016-06-17 22:39:47 UTC
++++ lib/wrapsock_r.c
+@@ -97,19 +97,6 @@ Listen(int fd, int backlog)
+ }
+ /* end Listen */
+
+-#ifdef HAVE_POLL
+-int
+-Poll(struct pollfd *fdarray, unsigned long nfds, int timeout)
+-{
+- int n;
+-
+- if ( (n = poll(fdarray, nfds, timeout)) < 0)
+- err_sys("poll error");
+-
+- return(n);
+-}
+-#endif
+-
+ ssize_t
+ Recv(int fd, void *ptr, size_t nbytes, int flags)
+ {