Let users to recover from the situation when the display was used is

removed.

PR:		166647
Feature safe:	yes
This commit is contained in:
Alexander Nedotsukov 2012-04-07 15:39:05 +00:00
parent e89f13b555
commit c9c8d7627f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294333
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= nvidia-settings
PORTVERSION= 285.05.09
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://download.nvidia.com/XFree86/nvidia-settings/ \
ftp://download1.nvidia.com/XFree86/nvidia-settings/

View File

@ -0,0 +1,11 @@
--- src/gtk+-2.x/ctkdisplayconfig-utils.c.orig 2011-09-24 11:57:57.000000000 +0900
+++ src/gtk+-2.x/ctkdisplayconfig-utils.c 2012-04-08 00:33:01.000000000 +0900
@@ -1391,7 +1391,7 @@
NvCtrlGetTargetId(screen->gpu->handle),
orig_mode_str);
nv_error_msg(*err_str);
- goto fail;
+ continue;
}