FreeBSD Bugzilla – Attachment 215137 Details for
Bug 246913
graphics/mesa-devel: fix build on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
mesa-devel.patch (text/plain), 2.57 KB, created by
Piotr Kubaj
on 2020-06-01 14:19:59 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2020-06-01 14:19:59 UTC
Size:
2.57 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 537148) >+++ Makefile (working copy) >@@ -30,7 +30,7 @@ > > LICENSE= MIT > >-ONLY_FOR_ARCHS= amd64 i386 >+ONLY_FOR_ARCHS= amd64 i386 powerpc64 > ONLY_FOR_ARCHS_REASON= Limited scope: no old drivers and no software rendering. \ > See also https://mesamatrix.net/ > BROKEN_DragonFly= requires making Vulkan support conditional >@@ -48,9 +48,7 @@ > BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAULT} python=${PYTHON_CMD} > SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py > PLATFORMS= ${PORT_OPTIONS:MX11:tl} ${PORT_OPTIONS:MWAYLAND:tl} drm surfaceless >-MESON_ARGS= -Ddri-drivers=i965 \ >- -Dgallium-drivers=iris,r600,radeonsi \ >- -Dgallium-omx=disabled \ >+MESON_ARGS= -Dgallium-omx=disabled \ > -Dgallium-opencl=disabled \ > -Dgallium-va=false \ > -Dgallium-vdpau=false \ >@@ -72,6 +70,7 @@ > > OPTIONS_DEFINE= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD > OPTIONS_DEFAULT= LIBUNWIND VAAPI VDPAU WAYLAND X11 ZSTD >+OPTIONS_EXCLUDE_powerpc64= LIBUNWIND > OPTIONS_SUB= yes > > LIBUNWIND_DESC= Use libunwind for stacktraces >@@ -95,6 +94,19 @@ > ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd > ZSTD_MESON_TRUE= zstd > >+.include <bsd.port.options.mk> >+ >+.if ${ARCH} == powerpc64 >+MESON_ARGS+= -Ddri-drivers= \ >+ -Dgallium-drivers=r600,radeonsi \ >+ -Dvulkan-drivers=amd >+PLIST_SUB+= PPC64="@comment " >+.else >+MESON_ARGS+= -Ddri-drivers=i965 \ >+ -Dgallium-drivers=iris,r600,radeonsi >+PLIST_SUB+= PPC64="" >+.endif >+ > post-patch: > # Extract (snapshot) version from the port instead of empty string > @${REINPLACE_CMD} '/MESA_GIT_SHA1/s/""/" (git-${DISTVERSIONSUFFIX:C/.*-g//})"/' \ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 537148) >+++ pkg-plist (working copy) >@@ -26,8 +26,8 @@ > @comment include/KHR/khrplatform.h > @comment include/gbm.h > @comment include/vulkan/vulkan_intel.h >-lib/dri%%PKGNAMESUFFIX%%/i965_dri.so >-lib/dri%%PKGNAMESUFFIX%%/iris_dri.so >+%%PPC64%%lib/dri%%PKGNAMESUFFIX%%/i965_dri.so >+%%PPC64%%lib/dri%%PKGNAMESUFFIX%%/iris_dri.so > lib/dri%%PKGNAMESUFFIX%%/r600_dri.so > lib/dri%%PKGNAMESUFFIX%%/radeonsi_dri.so > %%VAAPI%%lib/dri%%PKGNAMESUFFIX%%/r600_drv_video.so >@@ -52,7 +52,7 @@ > @comment lib/libglapi%%PKGNAMESUFFIX%%.so > lib/libglapi%%PKGNAMESUFFIX%%.so.0 > lib/libglapi%%PKGNAMESUFFIX%%.so.0.0.0 >-lib/libvulkan_intel%%PKGNAMESUFFIX%%.so >+%%PPC64%%lib/libvulkan_intel%%PKGNAMESUFFIX%%.so > lib/libvulkan_radeon%%PKGNAMESUFFIX%%.so > %%VDPAU%%lib/vdpau%%PKGNAMESUFFIX%%/libvdpau_r600.so > %%VDPAU%%lib/vdpau%%PKGNAMESUFFIX%%/libvdpau_r600.so.1
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 246913
: 215137