1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix problem with XVideo (insufficient resources for operation).

PR:		ports/70317
Approved by:	anholt (mentor)
Obtained from:	Free Desktop.Org Bugzilla #474
This commit is contained in:
Dejan Lesjak 2004-09-02 21:34:24 +00:00
parent f2bc67e5ae
commit baee44bc4d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117973
2 changed files with 18 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= Server
PORTVERSION= 4.4.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -0,0 +1,17 @@
--- programs/Xserver/hw/xfree86/common/xf86fbman.c.orig Sat Aug 28 13:14:32 2004
+++ programs/Xserver/hw/xfree86/common/xf86fbman.c Sat Aug 28 13:16:03 2004
@@ -1115,12 +1115,10 @@
*size = 0;
- if (!offman->LinearAreas) return FALSE;
-
pLink = offman->LinearAreas;
- pLinkRet = pLink;
- if (!pLink->area) {
+ if (pLink && !pLink->area) {
+ pLinkRet = pLink;
while (pLink) {
if (pLink->free) {
if (pLink->linear.size > pLinkRet->linear.size)