diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-17 14:32:40 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-29 00:46:57 -0500 |
commit | 1ab644b503b7df0df1cd943fb794a3579198adcd (patch) | |
tree | ad01b04eefa12726b24d5cd726e5ade9b08bc325 /package/mesalib | |
parent | dffa065aaf3c223203767ed5c6c5153f522fc7a6 (diff) |
update mesa to latest stable upstream
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'package/mesalib')
-rw-r--r-- | package/mesalib/Makefile | 72 | ||||
-rw-r--r-- | package/mesalib/patches/patch-configure_ac | 11 | ||||
-rw-r--r-- | package/mesalib/patches/patch-include_c11_threads_posix_h | 11 | ||||
-rw-r--r-- | package/mesalib/patches/patch-src_gallium_include_pipe_p_config_h | 11 | ||||
-rw-r--r-- | package/mesalib/patches/patch-src_mesa_main_querymatrix_c | 11 |
5 files changed, 0 insertions, 116 deletions
diff --git a/package/mesalib/Makefile b/package/mesalib/Makefile deleted file mode 100644 index 8ece73a15..000000000 --- a/package/mesalib/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(ADK_TOPDIR)/rules.mk - -PKG_NAME:= mesalib -PKG_VERSION:= 10.3.5 -PKG_RELEASE:= 1 -PKG_HASH:= 7ea71c3cce89114df3dc050376afa1c6f6bf235d77a68f9703273603d6a90621 -PKG_DESCR:= 3d graphics library -PKG_SECTION:= libs/video -PKG_DEPENDS:= libxdamage libxfixes libdrm libxxf86vm libexpat -PKG_DEPENDS+= libxml2 libxml2-python libstdcxx -PKG_BUILDDEP:= python2 libxml2 libXdamage libXfixes -PKG_BUILDDEP+= libXxf86vm libdrm dri2proto glproto expat libXext -PKG_BUILDDEP+= eudev dri3proto presentproto xcb-proto libxcb -PKG_BUILDDEP+= libxshmfence -PKG_URL:= http://www.mesa3d.org/ -PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/${PKG_VERSION}/ -PKG_LIBNAME:= mesalib -PKG_OPTS:= dev - -PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el arm - -DISTFILES:= MesaLib-${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/Mesa-${PKG_VERSION} - -include $(ADK_TOPDIR)/mk/package.mk - -$(eval $(call PKG_template,MESALIB,mesalib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) - -include $(ADK_TOPDIR)/mk/python.mk - -ifeq ($(ADK_HOST_DARWIN),y) -PYTHON:=/usr/bin/python2.7 -endif -ifeq ($(ADK_HOST_OPENBSD),y) -PYTHON:=/usr/local/bin/python2.7 -endif -ifeq ($(ADK_HOST_CYGWIN),y) -PYTHON:=/usr/bin/python2.7 -endif - -ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y) -DRI_DRIVERS:=i915 -endif - -AUTOTOOL_STYLE:= autoreconf -CONFIGURE_ARGS+= --disable-static \ - --disable-gallium-llvm \ - --with-gallium-drivers=swrast \ - --disable-gles1 \ - --disable-gles2 \ - --with-dri-drivers=${DRI_DRIVERS},swrast -CONFIGURE_ENV+= MISSING="echo" \ - PYTHON2=$(PYTHON) -XAKE_FLAGS+= HOST_CC=${CC_FOR_BUILD} - -mesalib-install: - $(INSTALL_DIR) $(IDIR_MESALIB)/usr/lib/dri - $(CP) $(WRKINST)/usr/lib/libGL*.so* \ - $(IDIR_MESALIB)/usr/lib - $(CP) $(WRKINST)/usr/lib/libglapi.so* \ - $(IDIR_MESALIB)/usr/lib - ${CP} $(WRKINST)/usr/lib/dri/swrast_dri.so \ - ${IDIR_MESALIB}/usr/lib/dri/ -ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y) - ${CP} $(WRKINST)/usr/lib/dri/i915_dri.so \ - ${IDIR_MESALIB}/usr/lib/dri/ -endif - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/mesalib/patches/patch-configure_ac b/package/mesalib/patches/patch-configure_ac deleted file mode 100644 index 32b3d8053..000000000 --- a/package/mesalib/patches/patch-configure_ac +++ /dev/null @@ -1,11 +0,0 @@ ---- Mesa-10.1.0.orig/configure.ac 2014-02-27 02:56:39.000000000 +0100 -+++ Mesa-10.1.0/configure.ac 2014-03-14 21:36:14.000000000 +0100 -@@ -65,7 +65,7 @@ AC_PATH_PROG([PERL], [perl]) - - AC_CHECK_PROG(INDENT, indent, indent, cat) - if test "x$INDENT" != "xcat"; then -- AC_SUBST(INDENT_FLAGS, '-i4 -nut -br -brs -npcs -ce -TGLubyte -TGLbyte -TBool') -+ AC_SUBST(INDENT_FLAGS, '-i4 -br -brs -npcs -ce -TGLubyte -TGLbyte -TBool') - fi - - AC_PROG_INSTALL diff --git a/package/mesalib/patches/patch-include_c11_threads_posix_h b/package/mesalib/patches/patch-include_c11_threads_posix_h deleted file mode 100644 index 2e79238f7..000000000 --- a/package/mesalib/patches/patch-include_c11_threads_posix_h +++ /dev/null @@ -1,11 +0,0 @@ ---- Mesa-10.1.0.orig/include/c11/threads_posix.h 2014-02-27 02:56:39.000000000 +0100 -+++ Mesa-10.1.0/include/c11/threads_posix.h 2014-03-14 21:54:55.000000000 +0100 -@@ -176,7 +176,7 @@ mtx_init(mtx_t *mtx, int type) - return thrd_error; - pthread_mutexattr_init(&attr); - if ((type & mtx_recursive) != 0) { --#if defined(__linux__) || defined(__linux) -+#if defined(__GLIBC__) - pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); - #else - pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); diff --git a/package/mesalib/patches/patch-src_gallium_include_pipe_p_config_h b/package/mesalib/patches/patch-src_gallium_include_pipe_p_config_h deleted file mode 100644 index b929e8758..000000000 --- a/package/mesalib/patches/patch-src_gallium_include_pipe_p_config_h +++ /dev/null @@ -1,11 +0,0 @@ ---- Mesa-10.1.0.orig/src/gallium/include/pipe/p_config.h 2014-02-27 02:56:39.000000000 +0100 -+++ Mesa-10.1.0/src/gallium/include/pipe/p_config.h 2014-03-14 21:36:14.000000000 +0100 -@@ -130,7 +130,7 @@ - * Endian detection. - */ - --#ifdef __GLIBC__ -+#ifdef __linux__ - #include <endian.h> - - #if __BYTE_ORDER == __LITTLE_ENDIAN diff --git a/package/mesalib/patches/patch-src_mesa_main_querymatrix_c b/package/mesalib/patches/patch-src_mesa_main_querymatrix_c deleted file mode 100644 index db87901d3..000000000 --- a/package/mesalib/patches/patch-src_mesa_main_querymatrix_c +++ /dev/null @@ -1,11 +0,0 @@ ---- Mesa-10.1.0.orig/src/mesa/main/querymatrix.c 2014-02-27 02:56:40.000000000 +0100 -+++ Mesa-10.1.0/src/mesa/main/querymatrix.c 2014-03-14 21:36:14.000000000 +0100 -@@ -76,7 +76,7 @@ fpclassify(double x) - #elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \ - defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \ - (defined(__sun) && defined(__C99FEATURES__)) || defined(__MINGW32__) || \ -- (defined(__sun) && defined(__GNUC__)) || defined(ANDROID) || defined(__HAIKU__) -+ (defined(__sun) && defined(__GNUC__)) || defined(ANDROID) || defined(__HAIKU__) || 1 - - /* fpclassify is available. */ - |