pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/comms/openobex



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Feb 17 17:00:31 UTC 2017

Modified Files:
        pkgsrc/comms/openobex: distinfo
Added Files:
        pkgsrc/comms/openobex/patches: patch-lib_cloexec.h

Log Message:
Don't define accept4 locally on new enough NetBSD current.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/comms/openobex/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/openobex/patches/patch-lib_cloexec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/openobex/distinfo
diff -u pkgsrc/comms/openobex/distinfo:1.10 pkgsrc/comms/openobex/distinfo:1.11
--- pkgsrc/comms/openobex/distinfo:1.10 Tue Nov  3 01:34:56 2015
+++ pkgsrc/comms/openobex/distinfo      Fri Feb 17 17:00:30 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/02/17 17:00:30 joerg Exp $
 
 SHA1 (openobex-1.7.1-Source.tar.gz) = b70e10ac21737fd1280cfb4d7408f623118ed355
 RMD160 (openobex-1.7.1-Source.tar.gz) = fd06ffd6fd4fd8457c81c300b4e7c790def49f52
 SHA512 (openobex-1.7.1-Source.tar.gz) = df38b363bd4c6eb6c0181fc7858fb03ac2bdfa85d8496faaa514d5cc4473b33c883956d4e1c94c3fefa5e44e5eed35a8dfcab889ce6ca8c29694f2b18334754e
 Size (openobex-1.7.1-Source.tar.gz) = 131091 bytes
 SHA1 (patch-lib_api.c) = 4ea3f2b8179a52a4d1266395a4f20b572582903f
+SHA1 (patch-lib_cloexec.h) = 374794dd6d46b9448b51f98230545afa3cb26ddf

Added files:

Index: pkgsrc/comms/openobex/patches/patch-lib_cloexec.h
diff -u /dev/null pkgsrc/comms/openobex/patches/patch-lib_cloexec.h:1.1
--- /dev/null   Fri Feb 17 17:00:31 2017
+++ pkgsrc/comms/openobex/patches/patch-lib_cloexec.h   Fri Feb 17 17:00:30 2017
@@ -0,0 +1,20 @@
+$NetBSD: patch-lib_cloexec.h,v 1.1 2017/02/17 17:00:30 joerg Exp $
+
+--- lib/cloexec.h.orig 2012-03-26 18:25:19.000000000 +0000
++++ lib/cloexec.h
+@@ -45,12 +45,15 @@ static __inline socket_t socket_cloexec(
+ 
+ /* This supports an accept4() equivalent on NetBSD 6 and later */
+ #if defined(SOCK_CLOEXEC) && defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Version__ < 799005900
+ static __inline int accept4(int s, struct sockaddr * addr, socklen_t *addrlen,
+                           int flags)
+ {
+      return paccept(s, addr, addrlen, NULL, flags);
+ }
+ #endif
++#endif
+ 
+ static __inline socket_t accept_cloexec(socket_t sockfd, struct sockaddr *addr,
+                                     socklen_t *addrlen)



Home | Main Index | Thread Index | Old Index