pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib18 MesaLib18: adjust pthread stubs pat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a092cbbc34ce
branches:  trunk
changeset: 386175:a092cbbc34ce
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Oct 10 11:03:02 2018 +0000

description:
MesaLib18: adjust pthread stubs patch to ensure no OS picks it up, as we
don't provide libpthread stubs.

Note that the name is misleading, libpthread stubs refers to a library
that only pulls in libpthread if a set of functions is not available as
stubs as libc. It is only a pkgconfig file that answers the question
"pull in libpthread? Y/N".

Replace non-existent libpthread stubs buildlink3.mk with the pthread
buildlink3.mk, we should be linking with libpthread for most (all?)
OSes.

diffstat:

 graphics/MesaLib18/buildlink3.mk              |  6 ++----
 graphics/MesaLib18/distinfo                   |  4 ++--
 graphics/MesaLib18/patches/patch-configure.ac |  6 +++---
 3 files changed, 7 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 6c6e891bd103 -r a092cbbc34ce graphics/MesaLib18/buildlink3.mk
--- a/graphics/MesaLib18/buildlink3.mk  Wed Oct 10 10:56:11 2018 +0000
+++ b/graphics/MesaLib18/buildlink3.mk  Wed Oct 10 11:03:02 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/10/07 23:49:31 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2018/10/10 11:03:02 maya Exp $
 
 BUILDLINK_TREE+=       MesaLib
 
@@ -42,9 +42,7 @@
 MESALIB_SUPPORTS_EGL=  no
 .endif
 
-.if ${X11_TYPE} == "modular"
-.include "../../devel/libpthread-stubs/buildlink3.mk"
-.endif
+.include "../../mk/pthread.buildlink3.mk"
 
 .include "../../x11/libXext/buildlink3.mk"
 .endif # MESALIB_BUILDLINK3_MK
diff -r 6c6e891bd103 -r a092cbbc34ce graphics/MesaLib18/distinfo
--- a/graphics/MesaLib18/distinfo       Wed Oct 10 10:56:11 2018 +0000
+++ b/graphics/MesaLib18/distinfo       Wed Oct 10 11:03:02 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.1 2018/10/07 23:49:31 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2018/10/10 11:03:02 maya Exp $
 
 SHA1 (mesa-18.2.0.tar.xz) = 73723d9f3815487f474d84eb91a5cd17edfb63d4
 RMD160 (mesa-18.2.0.tar.xz) = 51aae6c7a566d7d7da5e545ef3b4f04295897b21
 SHA512 (mesa-18.2.0.tar.xz) = e6e997e166845009f6b97da204384758c797c870b56332652c0a2636734638f9180b7e4dbad144495645308ae4d77981a2493a22d57973723338b658e0655557
 Size (mesa-18.2.0.tar.xz) = 11331164 bytes
 SHA1 (patch-configure) = c938bc7807a92fb4484d459b401133fb9fd7dbce
-SHA1 (patch-configure.ac) = 91dbbca01f324e987560a36986fc3d6c07be82c8
+SHA1 (patch-configure.ac) = 8347a3116906b8648a7841a6b109832397bd896e
 SHA1 (patch-include_GL_internal_dri__interface.h) = 146d2f3f3e50fc1947e8941301d9cf9d90a035e2
 SHA1 (patch-src_amd_vulkan_winsys_amdgpu_radv__amdgpu__cs.c) = 1fe81a7b16e36dc9125400c20543271216a33a45
 SHA1 (patch-src_compiler_builtin__type__macros.h) = 857bca0c0f55ec8d7a20b3807c7a5d7bd06bdfbf
diff -r 6c6e891bd103 -r a092cbbc34ce graphics/MesaLib18/patches/patch-configure.ac
--- a/graphics/MesaLib18/patches/patch-configure.ac     Wed Oct 10 10:56:11 2018 +0000
+++ b/graphics/MesaLib18/patches/patch-configure.ac     Wed Oct 10 11:03:02 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-configure.ac,v 1.1 2018/10/07 23:49:31 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.2 2018/10/10 11:03:02 maya Exp $
 
-Don't check for pthread stubs on netbsd.
+Don't check for pthread stubs anywhere, as we don't provide it.
 
 From FreeBSD ports graphics/mesa-dri 18.0.0,
 DragonFly dports graphics/mesa-dri 17.3.1,
@@ -46,7 +46,7 @@
  dnl project. Even then there's a notable issue as described in the project README
  case "$host_os" in
 -linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu* | openbsd*)
-+linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu* | openbsd* | netbsd*)
++*)
      pthread_stubs_possible="no"
      ;;
  * )



Home | Main Index | Thread Index | Old Index