xproto: Remove old recipe and patch

This commit is contained in:
François Revol
2014-07-29 19:09:08 +02:00
parent ec434f9a8d
commit dcad84a90a
2 changed files with 0 additions and 66 deletions

View File

@@ -1,46 +0,0 @@
diff -Naur xproto-7.0.16/Xos_r.h xproto-7.0.16-haiku/Xos_r.h
--- xproto-7.0.16/Xos_r.h 2009-09-23 23:51:43.007602176 +0000
+++ xproto-7.0.16-haiku/Xos_r.h 2010-04-26 16:25:28.920649728 +0000
@@ -88,6 +88,10 @@
# endif
#endif /* _XOS_R_H */
+#ifdef __HAIKU__
+#define _POSIX_THREAD_SAFE_FUNCTIONS
+#endif
+
#ifndef WIN32
#ifdef __cplusplus
diff -Naur xproto-7.0.16/configure.ac xproto-7.0.16-haiku/configure.ac
--- xproto-7.0.16/configure.ac 2009-09-24 00:03:29.005505024 +0000
+++ xproto-7.0.16-haiku/configure.ac 2010-04-26 16:25:11.543686656 +0000
@@ -90,6 +90,28 @@
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 <sys/param.h>
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #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

View File

@@ -1,20 +0,0 @@
DESCRIPTION="xproto"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.16.tar.gz"
CHECKSUM_MD5="6e6b6510ccd568f82093ebd7ae58700b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
BUILD()
{
cd xproto-7.0.16
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
}
INSTALL()
{
cd xproto-7.0.16
make install
}