FreeBSD Bugzilla – Attachment 187399 Details for
Bug 223195
graphics/mesa-dri: update to 17.3.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rc1
mesa-17.3.0.diff (text/plain), 7.85 KB, created by
Jan Beich
on 2017-10-23 17:11:41 UTC
(
hide
)
Description:
rc1
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2017-10-23 17:11:41 UTC
Size:
7.85 KB
patch
obsolete
>From 14f0848ab75c5e8e446aaf1cc11d3e62e3ea6da4 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Mon, 23 Oct 2017 15:04:25 +0000 >Subject: [PATCH] graphics/mesa-dri: update to 17.3.0 > >Changes: https://www.mesa3d.org/relnotes/17.3.0.html >PR: 223195 >Approved by: x11 (???) !!! NOT YET !!! >--- > graphics/mesa-dri/Makefile.common | 6 +++--- > graphics/mesa-dri/Makefile.targets | 7 ++++++- > graphics/mesa-dri/distinfo | 6 +++--- > .../files/patch-src_egl_drivers_dri2_platform__x11.c | 14 ++++++-------- > graphics/mesa-dri/files/patch-src_glx_glxext.c | 12 +++++------- > graphics/mesa-dri/files/patch-src_intel_Makefile.in | 18 ++++++++++++++++++ > graphics/mesa-libs/Makefile | 6 +++--- > graphics/mesa-libs/pkg-plist | 1 + > 8 files changed, 45 insertions(+), 25 deletions(-) > create mode 100644 graphics/mesa-dri/files/patch-src_intel_Makefile.in > >diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common >index a980a07cd3be..481b80b92359 100644 >--- a/graphics/mesa-dri/Makefile.common >+++ b/graphics/mesa-dri/Makefile.common >@@ -14,9 +14,9 @@ > MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} > MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} > >-MESABASEVERSION= 17.2.2 >+MESABASEVERSION= 17.3.0 > # if there is a subversion, don't include the '-' between 7.11-rc2. >-MESASUBVERSION= >+MESASUBVERSION= rc1 > > MASTER_SITES= https://mesa.freedesktop.org/archive/ \ > https://mesa.freedesktop.org/archive/${MESABASEVERSION}/ \ >@@ -58,7 +58,7 @@ python_OLD_CMD= /usr/bin/env[[:space:]]python2 /usr/bin/python2 /bin/env[[:space > SHEBANG_FILES= src/gallium/*/*/*.py src/gallium/tools/trace/*.py \ > src/gallium/drivers/svga/svgadump/svga_dump.py \ > src/mapi/glapi/gen/*.py src/mapi/mapi_abi.py \ >- src/mesa/drivers/dri/common/xmlpool/gen_xmlpool.py \ >+ src/util/xmlpool/gen_xmlpool.py \ > src/mesa/main/get_*.py src/util/format_srgb.py \ > src/amd/*/*.py src/intel/genxml/gen_pack_header.py > >diff --git a/graphics/mesa-dri/Makefile.targets b/graphics/mesa-dri/Makefile.targets >index b1f6e3ca9d45..bed4b2b41503 100644 >--- a/graphics/mesa-dri/Makefile.targets >+++ b/graphics/mesa-dri/Makefile.targets >@@ -3,6 +3,11 @@ > # this file holds common targets > > post-patch: >+# Use --link-static until ports/223191 is fixed >+ @${REINPLACE_CMD} -e '/$$LLVM_VERSION_MAJOR -ge 4/s|test |false |' ${WRKSRC}/configure >+. if ${COMPONENT} == osmesa >+ @${REINPLACE_CMD} -e '/$$LLVM_VERSION_MAJOR -ge 4/s|test |false |' ${WRKSRC}/configure.ac >+. endif > .if ${OPSYS} == FreeBSD > @${REINPLACE_CMD} -e 's|x86_64|amd64|' ${WRKSRC}/configure > . if ${COMPONENT} == osmesa >@@ -19,7 +24,7 @@ post-patch: > . endif > .endif > @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ >- ${WRKSRC}/src/mesa/drivers/dri/common/xmlconfig.c >+ ${WRKSRC}/src/util/xmlconfig.c > > pre-build: mesa-pre-build > >diff --git a/graphics/mesa-dri/distinfo b/graphics/mesa-dri/distinfo >index 36ea1cd135f1..93cbb1d9af0a 100644 >--- a/graphics/mesa-dri/distinfo >+++ b/graphics/mesa-dri/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1507459266 >-SHA256 (mesa-17.2.2.tar.xz) = cf522244d6a5a1ecde3fc00e7c96935253fe22f808f064cab98be6f3faa65782 >-SIZE (mesa-17.2.2.tar.xz) = 10359156 >+TIMESTAMP = 1508764878 >+SHA256 (mesa-17.3.0-rc1.tar.xz) = 290b162e85ad1baa6d8cf59828eeaa6bfd03db122a954dee73cd7a0a87ebd880 >+SIZE (mesa-17.3.0-rc1.tar.xz) = 10700176 >diff --git a/graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c b/graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c >index 1d99bf87e2a9..9044fc35ae37 100644 >--- a/graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c >+++ b/graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c >@@ -1,16 +1,14 @@ > # work-around for https://bugs.freedesktop.org/show_bug.cgi?id=100627 > # >---- src/egl/drivers/dri2/platform_x11.c.orig 2017-10-02 15:49:02 UTC >+--- src/egl/drivers/dri2/platform_x11.c.orig 2017-10-23 13:21:18 UTC > +++ src/egl/drivers/dri2/platform_x11.c >-@@ -1490,7 +1490,11 @@ dri2_initialize_x11(_EGLDriver *drv, _EG >+@@ -1462,6 +1462,9 @@ dri2_initialize_x11(_EGLDriver *drv, _EGLDisplay *disp > >- if (!getenv("LIBGL_ALWAYS_SOFTWARE")) { >+ if (!disp->Options.UseFallback) { > #ifdef HAVE_DRI3 >-+#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined (__DRM_NEXT__) >-+ if (getenv("LIBGL_DRI3_ENABLE") && !getenv("LIBGL_DRI3_DISABLE")) >-+#else >- if (!getenv("LIBGL_DRI3_DISABLE")) >++#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(__DRM_NEXT__) >++ if (env_var_as_boolean("LIBGL_DRI3_ENABLE", false)) > +#endif >+ if (!env_var_as_boolean("LIBGL_DRI3_DISABLE", false)) > initialized = dri2_initialize_x11_dri3(drv, disp); > #endif >- >diff --git a/graphics/mesa-dri/files/patch-src_glx_glxext.c b/graphics/mesa-dri/files/patch-src_glx_glxext.c >index 5ce6507416f0..99bf096953ec 100644 >--- a/graphics/mesa-dri/files/patch-src_glx_glxext.c >+++ b/graphics/mesa-dri/files/patch-src_glx_glxext.c >@@ -1,16 +1,14 @@ > # work-around for https://bugs.freedesktop.org/show_bug.cgi?id=100627 > # >---- src/glx/glxext.c.orig 2017-04-01 15:33:37 UTC >+--- src/glx/glxext.c.orig 2017-10-23 13:21:18 UTC > +++ src/glx/glxext.c >-@@ -906,7 +906,11 @@ __glXInitialize(Display * dpy) >+@@ -920,6 +920,9 @@ __glXInitialize(Display * dpy) > #if defined(GLX_USE_DRM) > if (glx_direct && glx_accel) { > #if defined(HAVE_DRI3) >-+#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined (__DRM_NEXT__) >-+ if (getenv("LIBGL_DRI3_ENABLE") && !getenv("LIBGL_DRI3_DISABLE")) >-+#else >- if (!getenv("LIBGL_DRI3_DISABLE")) >++#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(__DRM_NEXT__) >++ if (env_var_as_boolean("LIBGL_DRI3_ENABLE", false)) > +#endif >+ if (!env_var_as_boolean("LIBGL_DRI3_DISABLE", false)) > dpyPriv->dri3Display = dri3_create_display(dpy); > #endif /* HAVE_DRI3 */ >- dpyPriv->dri2Display = dri2CreateDisplay(dpy); >diff --git a/graphics/mesa-dri/files/patch-src_intel_Makefile.in b/graphics/mesa-dri/files/patch-src_intel_Makefile.in >new file mode 100644 >index 000000000000..ccd48030361c >--- /dev/null >+++ b/graphics/mesa-dri/files/patch-src_intel_Makefile.in >@@ -0,0 +1,18 @@ >+../../src/util/.libs/libmesautil.a(libmesautil_la-half_float.o): In function `_mesa_float_to_half': >+half_float.c:(.text+0x94): undefined reference to `lrintf' >+half_float.c:(.text+0xbf): undefined reference to `lrintf' >+cc: error: linker command failed with exit code 1 (use -v to see invocation) >+gmake[5]: *** [Makefile:2706: tools/aubinator_error_decode] Error 1 >+ >+--- src/intel/Makefile.in.orig 2017-10-23 13:21:32 UTC >++++ src/intel/Makefile.in >+@@ -1975,7 +1975,8 @@ tools_aubinator_error_decode_LDADD = \ >+ compiler/libintel_compiler.la \ >+ $(top_builddir)/src/util/libmesautil.la \ >+ $(PTHREAD_LIBS) \ >+- $(ZLIB_LIBS) >++ $(ZLIB_LIBS) \ >++ -lm >+ >+ tools_aubinator_error_decode_CFLAGS = \ >+ $(AM_CFLAGS) \ >diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile >index fedfe9846ddd..c37827d9fbee 100644 >--- a/graphics/mesa-libs/Makefile >+++ b/graphics/mesa-libs/Makefile >@@ -39,11 +39,11 @@ IGNORE= option WAYLAND is only valid on platforms with LLVM > .endif > .endif > >-MESA_BUILD_WRKSRC= src/mapi >-MESA_INSTALL_WRKSRC= src/mapi >+MESA_BUILD_WRKSRC= src/mapi src/util >+MESA_INSTALL_WRKSRC= src/mapi src/util > > .if ${PORT_OPTIONS:MWAYLAND} >-MESA_BUILD_WRKSRC+= src/util src/egl/wayland/wayland-drm src/egl/wayland/wayland-egl >+MESA_BUILD_WRKSRC+= src/egl/wayland/wayland-drm src/egl/wayland/wayland-egl > MESA_INSTALL_WRKSRC+= src/egl/wayland/wayland-egl > .endif > >diff --git a/graphics/mesa-libs/pkg-plist b/graphics/mesa-libs/pkg-plist >index 75c2078b51bd..858600aa6b3c 100644 >--- a/graphics/mesa-libs/pkg-plist >+++ b/graphics/mesa-libs/pkg-plist >@@ -1,3 +1,4 @@ >+@comment etc/drirc > %%EGL%%include/EGL/egl.h > %%EGL%%include/EGL/eglext.h > %%EGL%%include/EGL/eglextchromium.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223195
:
187399
|
187412
|
187589
|
187837
|
187875
|
187993
|
188000
|
188140
|
188518
|
188632
|
188687