FreeBSD Bugzilla – Attachment 185045 Details for
Bug 220982
graphics/mesa-dri: update to 17.2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rc2
mesa-17.2.0-rc2.diff (text/plain), 7.73 KB, created by
Jan Beich
on 2017-08-05 15:30:54 UTC
(
hide
)
Description:
rc2
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2017-08-05 15:30:54 UTC
Size:
7.73 KB
patch
obsolete
>Index: graphics/mesa-dri/Makefile >=================================================================== >--- graphics/mesa-dri/Makefile (revision 447378) >+++ graphics/mesa-dri/Makefile (working copy) >@@ -54,9 +54,6 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-src_mesa_drivers > . endif > .elif ${ARCH} == armv6 || ${ARCH} == aarch64 > GALLIUM_DRIVERS+= FREEDRENO VC4 >-. if ${ARCH} == armv6 >-EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_drivers_vc4_Makefile.in >-. endif > .endif > > CONFIGURE_ARGS+= --with-dri-drivers="${DRI_DRIVERS:tl}" \ >Index: graphics/mesa-dri/Makefile.common >=================================================================== >--- graphics/mesa-dri/Makefile.common (revision 447378) >+++ graphics/mesa-dri/Makefile.common (working copy) >@@ -14,9 +14,9 @@ > MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} > MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} > >-MESABASEVERSION= 17.1.5 >+MESABASEVERSION= 17.2.0 > # if there is a subversion, don't include the '-' between 7.11-rc2. >-MESASUBVERSION= >+MESASUBVERSION= rc2 > > MASTER_SITES= https://mesa.freedesktop.org/archive/ \ > https://mesa.freedesktop.org/archive/${MESABASEVERSION}/ \ >Index: graphics/mesa-dri/Makefile.targets >=================================================================== >--- graphics/mesa-dri/Makefile.targets (revision 447378) >+++ graphics/mesa-dri/Makefile.targets (working copy) >@@ -18,6 +18,10 @@ post-patch: > . endif > . endif > .endif >+.if ${ARCH:Marm*} && ! ${CFLAGS:M-march=*} # ignore if CPUTYPE is defined >+ @${ECHO_CMD} "vc4_tiling_lt_neon.lo: CFLAGS+=-march=armv7-a -mfpu=neon" \ >+ >>${WRKSRC}/src/gallium/drivers/vc4/Makefile.in >+.endif > @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ > ${WRKSRC}/src/mesa/drivers/dri/common/xmlconfig.c > >Index: graphics/mesa-dri/distinfo >=================================================================== >--- graphics/mesa-dri/distinfo (revision 447378) >+++ graphics/mesa-dri/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1500121822 >-SHA256 (mesa-17.1.5.tar.xz) = 378516b171712687aace4c7ea8b37c85895231d7a6d61e1e27362cf6034fded9 >-SIZE (mesa-17.1.5.tar.xz) = 9901876 >+TIMESTAMP = 1501498259 >+SHA256 (mesa-17.2.0-rc2.tar.xz) = 701f66bf22bcfc95fbb00e34d052dc8818296d5748aa9bb2f5dd19f3e164a175 >+SIZE (mesa-17.2.0-rc2.tar.xz) = 10326168 >Index: graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in >=================================================================== >--- graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in (revision 447378) >+++ graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in (nonexistent) >@@ -1,13 +0,0 @@ >-# enable NEON instructions in the compiler when building the NEON codepath >-# >---- src/gallium/drivers/vc4/Makefile.in.orig 2017-05-16 13:55:49 UTC >-+++ src/gallium/drivers/vc4/Makefile.in >-@@ -669,7 +669,7 @@ libvc4_la_SOURCES = $(C_SOURCES) >- libvc4_la_LIBADD = $(SIM_LIB) $(VC4_LIBS) libvc4_neon.la >- libvc4_la_LDFLAGS = $(SIM_LDFLAGS) >- libvc4_neon_la_SOURCES = vc4_tiling_lt.c >--libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON >-+libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON -march=armv7-a -mfpu=neon >- EXTRA_DIST = kernel/README >- all: all-am >- >Index: graphics/mesa-dri/files/patch-src_egl_Makefile.in >=================================================================== >--- graphics/mesa-dri/files/patch-src_egl_Makefile.in (nonexistent) >+++ graphics/mesa-dri/files/patch-src_egl_Makefile.in (working copy) >@@ -0,0 +1,55 @@ >+Force automake to use C++ compiler for linking by adding a >+non-existent .cpp file to nodist_EXTRA_*_SOURCES. >+ >+./.libs/libEGL_common.a(libmesautil_la-string_to_uint_map.o):(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' >+cc: error: linker command failed with exit code 1 (use -v to see invocation) >+ >+--- src/egl/Makefile.in.orig 2017-07-24 16:00:39 UTC >++++ src/egl/Makefile.in >+@@ -197,9 +197,9 @@ AM_V_lt = $(am__v_lt_@AM_V@) >+ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) >+ am__v_lt_0 = --silent >+ am__v_lt_1 = >+-libEGL_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ >+- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ >+- $(libEGL_la_LDFLAGS) $(LDFLAGS) -o $@ >++libEGL_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ >++ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ >++ $(CXXFLAGS) $(libEGL_la_LDFLAGS) $(LDFLAGS) -o $@ >+ @USE_LIBGLVND_FALSE@am_libEGL_la_rpath = -rpath $(libdir) >+ am__DEPENDENCIES_1 = >+ @HAVE_PLATFORM_X11_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) >+@@ -304,6 +304,24 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) >+ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) >+ am__v_CCLD_0 = @echo " CCLD " $@; >+ am__v_CCLD_1 = >++CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ >++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) >++LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ >++ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ >++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ >++ $(AM_CXXFLAGS) $(CXXFLAGS) >++AM_V_CXX = $(am__v_CXX_@AM_V@) >++am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) >++am__v_CXX_0 = @echo " CXX " $@; >++am__v_CXX_1 = >++CXXLD = $(CXX) >++CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ >++ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ >++ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ >++AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) >++am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) >++am__v_CXXLD_0 = @echo " CXXLD " $@; >++am__v_CXXLD_1 = >+ SOURCES = $(libEGL_la_SOURCES) $(libEGL_common_la_SOURCES) \ >+ $(libEGL_mesa_la_SOURCES) >+ DIST_SOURCES = $(libEGL_la_SOURCES) \ >+@@ -1014,7 +1032,7 @@ clean-noinstLTLIBRARIES: >+ } >+ >+ libEGL.la: $(libEGL_la_OBJECTS) $(libEGL_la_DEPENDENCIES) $(EXTRA_libEGL_la_DEPENDENCIES) >+- $(AM_V_CCLD)$(libEGL_la_LINK) $(am_libEGL_la_rpath) $(libEGL_la_OBJECTS) $(libEGL_la_LIBADD) $(LIBS) >++ $(AM_V_CXXLD)$(libEGL_la_LINK) $(am_libEGL_la_rpath) $(libEGL_la_OBJECTS) $(libEGL_la_LIBADD) $(LIBS) >+ main/$(am__dirstamp): >+ @$(MKDIR_P) main >+ @: > main/$(am__dirstamp) >Index: graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__cpu__detect.c >=================================================================== >--- graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__cpu__detect.c (nonexistent) >+++ graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__cpu__detect.c (working copy) >@@ -0,0 +1,15 @@ >+FreeBSD armv6 doesn't have runtime detection >+ >+--- src/gallium/auxiliary/util/u_cpu_detect.c.orig 2017-07-31 10:50:59 UTC >++++ src/gallium/auxiliary/util/u_cpu_detect.c >+@@ -311,7 +311,9 @@ check_os_arm_support(void) >+ * used. Because of this we cannot use PIPE_OS_ANDROID here, but rather >+ * have a separate macro that only gets enabled from respective Android.mk. >+ */ >+-#if defined(HAS_ANDROID_CPUFEATURES) >++#if defined(__ARM_NEON) >++ util_cpu_caps.has_neon = 1; >++#elif defined(HAS_ANDROID_CPUFEATURES) >+ AndroidCpuFamily cpu_family = android_getCpuFamily(); >+ uint64_t cpu_features = android_getCpuFeatures(); >+ >Index: graphics/mesa-libs/Makefile >=================================================================== >--- graphics/mesa-libs/Makefile (revision 447378) >+++ graphics/mesa-libs/Makefile (working copy) >@@ -14,6 +14,7 @@ OPTIONS_DEFINE= WAYLAND > OPTIONS_SUB= yes > > WAYLAND_DESC= Enable support for the Wayland platform in EGL >+WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols > WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ > libwayland-server.so:graphics/wayland > >@@ -42,7 +43,7 @@ MESA_BUILD_WRKSRC= src/mapi > MESA_INSTALL_WRKSRC= src/mapi > > .if ${PORT_OPTIONS:MWAYLAND} >-MESA_BUILD_WRKSRC+= src/egl/wayland/wayland-drm src/egl/wayland/wayland-egl >+MESA_BUILD_WRKSRC+= src/util src/egl/wayland/wayland-drm src/egl/wayland/wayland-egl > MESA_INSTALL_WRKSRC+= src/egl/wayland/wayland-egl > .endif >
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 220982
:
184678
|
184874
|
185043
|
185044
|
185045
|
185138
|
185340
|
185642
|
186074
|
186494
|
186599
|
186873