[Midnightbsd-cvs] mports [21127] trunk/comms/usbmuxd/files: add poll patch

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 12 17:15:48 EST 2016


Revision: 21127
          http://svnweb.midnightbsd.org/mports/?rev=21127
Author:   laffer1
Date:     2016-03-12 17:15:48 -0500 (Sat, 12 Mar 2016)
Log Message:
-----------
add poll patch

Added Paths:
-----------
    trunk/comms/usbmuxd/files/
    trunk/comms/usbmuxd/files/patch-ppoll

Added: trunk/comms/usbmuxd/files/patch-ppoll
===================================================================
--- trunk/comms/usbmuxd/files/patch-ppoll	                        (rev 0)
+++ trunk/comms/usbmuxd/files/patch-ppoll	2016-03-12 22:15:48 UTC (rev 21127)
@@ -0,0 +1,25 @@
+diff --git configure.ac configure.ac
+index 6c2481a..d204ba0 100644
+--- configure.ac
++++ configure.ac
+@@ -96,6 +96,7 @@ AC_TYPE_UINT8_T
+ AC_FUNC_MALLOC
+ AC_FUNC_REALLOC
+ AC_CHECK_FUNCS([strcasecmp strdup strerror strndup stpcpy])
++AC_CHECK_FUNCS([ppoll])
+ 
+ # Check for operating system
+ AC_MSG_CHECKING([whether to enable WIN32 build settings])
+diff --git src/main.c src/main.c
+index 2e4439c..cfe6acc 100644
+--- src/main.c
++++ src/main.c
+@@ -159,7 +159,7 @@ static void set_signal_handlers(void)
+ 	sigaction(SIGUSR2, &sa, NULL);
+ }
+ 
+-#if defined(__FreeBSD__) || defined(__APPLE__)
++#ifndef HAVE_PPOLL
+ static int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *sigmask)
+ {
+ 	int ready;


Property changes on: trunk/comms/usbmuxd/files/patch-ppoll
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list