RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: neon Date: 07-May-2016 16:41:39 Branch: HEAD Handle: 2016050714413900 Modified files: neon/macros neon.m4 neon/src ne_socket.c Log: - darwin: fix: remove (now unknown) -no-cpp-precomp from CFLAGS. - fix: add check for <sys/uio.h> and include for writev(2) prototype. Summary: Revision Changes Path 1.12 +3 -3 neon/macros/neon.m4 1.18 +3 -0 neon/src/ne_socket.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: neon/macros/neon.m4 ============================================================================ $ cvs diff -u -r1.11 -r1.12 neon.m4 --- neon/macros/neon.m4 31 Jul 2013 20:24:59 -0000 1.11 +++ neon/macros/neon.m4 7 May 2016 14:41:39 -0000 1.12 @@ -419,7 +419,7 @@ ]) if test "$ne_cv_os_uname" = "Darwin"; then - CPPFLAGS="$CPPFLAGS -no-cpp-precomp" + CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS -flat_namespace" # poll has various issues in various Darwin releases if test x${ac_cv_func_poll+set} != xset; then @@ -589,8 +589,8 @@ AC_REQUIRE([AC_FUNC_STRERROR_R]) AC_CHECK_HEADERS([sys/time.h limits.h sys/select.h arpa/inet.h libintl.h \ - signal.h sys/socket.h netinet/in.h netinet/tcp.h netdb.h sys/poll.h \ - sys/limits.h fcntl.h iconv.h],,, + signal.h sys/socket.h sys/uio.h netinet/in.h netinet/tcp.h netdb.h \ + sys/poll.h sys/limits.h fcntl.h iconv.h],,, [AC_INCLUDES_DEFAULT /* netinet/tcp.h requires netinet/in.h on some platforms. */ #ifdef HAVE_NETINET_IN_H @@ . patch -p0 <<'@@ .' Index: neon/src/ne_socket.c ============================================================================ $ cvs diff -u -r1.17 -r1.18 ne_socket.c --- neon/src/ne_socket.c 17 Mar 2016 20:11:19 -0000 1.17 +++ neon/src/ne_socket.c 7 May 2016 14:41:39 -0000 1.18 @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif +#ifdef HAVE_SYS_UIO_H +#include <sys/uio.h> +#endif #ifdef NE_USE_POLL #include <sys/poll.h> @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org