From a4ffda960fe8c25a1f7bfec4bce82a5242b6ade4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 11 Sep 2019 07:59:33 +0200 Subject: [PATCH] xproto: remove old patch. --- .../xproto/patches/xproto-7.0.23_git.patch | 48 ------------------- 1 file changed, 48 deletions(-) delete mode 100644 x11-proto/xproto/patches/xproto-7.0.23_git.patch diff --git a/x11-proto/xproto/patches/xproto-7.0.23_git.patch b/x11-proto/xproto/patches/xproto-7.0.23_git.patch deleted file mode 100644 index 04ba8ad82..000000000 --- a/x11-proto/xproto/patches/xproto-7.0.23_git.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/Xos_r.h xproto-7.0.23-git/Xos_r.h -index f963b64..f8b727b 100644 ---- a/Xos_r.h -+++ xproto-7.0.23-git/Xos_r.h -@@ -88,6 +88,10 @@ in this Software without prior written authorization from The Open Group. - # endif - #endif /* _XOS_R_H */ - -+#ifdef __HAIKU__ -+#define _POSIX_THREAD_SAFE_FUNCTIONS -+#endif -+ - #ifndef WIN32 - - #ifdef __cplusplus -diff --git a/configure.ac xproto-7.0.23-git/configure.ac -index c4acf24..b3c82aa 100644 ---- a/configure.ac -+++ xproto-7.0.23-git/configure.ac -@@ -99,6 +99,28 @@ if test "x$fds_bits_found" = xfalse ; then - fi - - if test "x$fds_bits_found" = xfalse ; then -+AC_CHECK_MEMBER(fd_set.bits, -+ [ -+ fds_bits_found=plain_simple -+ USE_FDS_BITS="bits" -+ ],, -+ [ -+ #ifdef HAVE_SYS_PARAM_H -+ #include -+ #endif -+ #ifdef HAVE_SYS_TYPES_H -+ #include -+ #endif -+ #ifdef HAVE_SYS_TIME_H -+ #include -+ #endif -+ #ifdef HAVE_SYS_SELECT_H -+ #include -+ #endif -+ ]) -+fi -+ -+if test "x$fds_bits_found" = xfalse ; then - AC_MSG_ERROR([Could not determine how to access the fds_bits or equivalent - structure in fd_set on your platform.]) - fi