FreeBSD Bugzilla – Attachment 111179 Details for
Bug 152400
[PATCH] x11/nvidia-driver, x11/nvidia-settings, x11/nvidia-xconfig: Update from 256.53 to 260.19.21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nvidia-driver.patch
nvidia-driver.patch (text/plain), 4.37 KB, created by
Sender Ghost
on 2011-02-23 08:22:49 UTC
(
hide
)
Description:
nvidia-driver.patch
Filename:
MIME Type:
Creator:
Sender Ghost
Created:
2011-02-23 08:22:49 UTC
Size:
4.37 KB
patch
obsolete
>diff -ruN nvidia-driver.orig/Makefile nvidia-driver/Makefile >--- nvidia-driver.orig/Makefile 2010-12-08 09:28:28.000000000 +0600 >+++ nvidia-driver/Makefile 2011-02-23 13:58:25.000000000 +0600 >@@ -6,18 +6,23 @@ > # > > PORTNAME= nvidia-driver >-DISTVERSION?= 256.53 >+DISTVERSION?= 270.26 > PORTREVISION?= 0 # As a reminder it can be overridden > CATEGORIES= x11 kld > MASTER_SITES= ${MASTER_SITE_NVIDIA} >-ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/} > # MASTER_SITE_SUBDIR has to be set later because it depends on NVVERSION > DISTNAME= NVIDIA-FreeBSD-x86${ARCH_SUFX}-${DISTVERSION} > > MAINTAINER= danfe@FreeBSD.org > COMMENT= NVidia graphics card binary drivers for hardware OpenGL rendering > >-NO_PACKAGE= should be recompiled for a particular FreeBSD kernel >+LICENSE= NVIDIA >+LICENSE_NAME= License For Customer Use of NVIDIA Software >+LICENSE_FILE= ${WRKSRC}/doc/license.txt >+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept >+ >+ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/} >+USE_XORG= xorg-server > USE_GL= gl > USE_LDCONFIG= yes > SUB_FILES= pkg-message >@@ -57,14 +62,8 @@ > > .include <bsd.port.pre.mk> > >-# XXX Should use ${PKG_INFO} but it does not expand for some reason XXX >-# >-XSERVVERSION!= /usr/sbin/pkg_info -qO x11-servers/xorg-server 2>/dev/null || true >-LIBGLVERSION!= /usr/sbin/pkg_info -qO graphics/libGL 2>/dev/null || true >- >-.if empty(XSERVVERSION) >-IGNORE= needs an X server implementation installed >-.endif >+XSERVVERSION!= ${PKG_INFO} -qO x11-servers/xorg-server 2>/dev/null || true >+LIBGLVERSION!= ${PKG_INFO} -qO graphics/libGL 2>/dev/null || true > > PLIST_SUB+= XSERVVERSION=${XSERVVERSION} LIBGLVERSION=${LIBGLVERSION} \ > LINUXBASE=${LINUXBASE} SHLIB_VERSION=${PORTVERSION} \ >@@ -138,6 +137,7 @@ > pre-su-install: > # XXX This port silently assumes PREFIX == LOCALBASE XXX > @${MKDIR} ${PREFIX}/${MODULESDIR}/drivers >+ @${MKDIR} ${PREFIX}/${MODULESDIR}/extensions > > post-install: .SILENT > # pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's >diff -ruN nvidia-driver.orig/distinfo nvidia-driver/distinfo >--- nvidia-driver.orig/distinfo 2010-12-08 13:37:21.000000000 +0600 >+++ nvidia-driver/distinfo 2011-02-23 12:37:38.000000000 +0600 >@@ -1,7 +1,7 @@ >-SHA256 (NVIDIA-FreeBSD-x86-256.53.tar.gz) = 3c3d3a96f6ec79b86815423c4be38c819b2ff26124a8885421e34f60a3c70655 >-SIZE (NVIDIA-FreeBSD-x86-256.53.tar.gz) = 26347367 >-SHA256 (NVIDIA-FreeBSD-x86_64-256.53.tar.gz) = 2b849ec63dca049a36ba3d2d97fdf8af06bd3d9c0051ebeec1e0cb60bec416a2 >-SIZE (NVIDIA-FreeBSD-x86_64-256.53.tar.gz) = 26963917 >+SHA256 (NVIDIA-FreeBSD-x86-270.26.tar.gz) = 85fb5dedd6feb731aae4fd0774ad5408b6dd40209088554512edc37dd2352eb3 >+SIZE (NVIDIA-FreeBSD-x86-270.26.tar.gz) = 28419882 >+SHA256 (NVIDIA-FreeBSD-x86_64-270.26.tar.gz) = 5ea6c49637c1368da639eb1b24d8324267aa52f44ef8ded0159eb7d8bde00729 >+SIZE (NVIDIA-FreeBSD-x86_64-270.26.tar.gz) = 29102896 > SHA256 (NVIDIA-FreeBSD-x86-173.14.28.tar.gz) = 3389c1b2faf68bab3ebd55593539580e418ef3beba29428ae2fe11a9a5154ebb > SIZE (NVIDIA-FreeBSD-x86-173.14.28.tar.gz) = 17555603 > SHA256 (NVIDIA-FreeBSD-x86-96.43.19.tar.gz) = b5dce181cc654a729ba06dd528a180d14a792b0328fcfbf86bb0f819285c0dd5 >diff -ruN nvidia-driver.orig/pkg-plist nvidia-driver/pkg-plist >--- nvidia-driver.orig/pkg-plist 2010-09-25 02:11:00.000000000 +0700 >+++ nvidia-driver/pkg-plist 2011-01-16 06:12:05.000000000 +0600 >@@ -1,14 +1,10 @@ >-@comment I can't add the below files to the package because pkg_delete >-@comment will complain when removing this package: >-@comment %%MODULESDIR%%/extensions/XXX-libglx.la.%%%%.%%XSERVVERSION%% >-@comment %%MODULESDIR%%/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%% >-@comment lib/XXX-libGL.so.1.%%%%.%%LIBGLVERSION%% >-@comment They are however restored when this package is removed: > @exec mv -f %D/%%MODULESDIR%%/extensions/libglx.la %D/%%MODULESDIR%%/extensions/XXX-libglx.la.%%%%.%%XSERVVERSION%% > @unexec mv -f %D/%%MODULESDIR%%/extensions/XXX-libglx.la.%%%%.%%XSERVVERSION%% %D/%%MODULESDIR%%/extensions/libglx.la > @exec mv -f %D/%%MODULESDIR%%/extensions/libglx.so %D/%%MODULESDIR%%/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%% >+%%MODULESDIR%%/extensions/libglx.so > @unexec mv -f %D/%%MODULESDIR%%/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%% %D/%%MODULESDIR%%/extensions/libglx.so > @exec mv -f %D/lib/libGL.so.1 %D/lib/XXX-libGL.so.1.%%%%.%%LIBGLVERSION%% >+lib/libGL.so.1 > @unexec mv -f %D/lib/XXX-libGL.so.1.%%%%.%%LIBGLVERSION%% %D/lib/libGL.so.1 > lib/libnvidia-tls.so.1 > lib/libnvidia-tls.so
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 152400
:
111175
|
111176
|
111177
|
111178
| 111179 |
111180
|
111181
|
111182
|
111183
|
111184
|
111185
|
111186
|
111187