mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
net/libvncserver: fix compile warning
PR: 191527 Submitted by: Duane
This commit is contained in:
parent
4691b29b38
commit
357b04e591
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363005
@ -3,13 +3,13 @@
|
||||
|
||||
PORTNAME= libvncserver
|
||||
PORTVERSION= 0.9.9
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= LibVNCServer-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Provide an easy API to write one's own vnc server
|
||||
COMMENT= Provide an easy API to a custom vnc server
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
|
11
net/libvncserver/files/patch-libvncserver_rfbregion.c
Normal file
11
net/libvncserver/files/patch-libvncserver_rfbregion.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./libvncserver/rfbregion.c.orig 2014-07-01 23:00:03.428441834 +1000
|
||||
+++ ./libvncserver/rfbregion.c 2014-07-01 23:00:14.275274256 +1000
|
||||
@@ -751,7 +751,7 @@
|
||||
i->ptrSize += DEFSTEP;
|
||||
i->sPtrs = (sraSpan**)realloc(i->sPtrs, sizeof(sraSpan*)*i->ptrSize);
|
||||
}
|
||||
- i->ptrPos =+ 2;
|
||||
+ i->ptrPos += 2;
|
||||
if(sraReverse(i)) {
|
||||
i->sPtrs[i->ptrPos] = i->sPtrs[i->ptrPos-2]->subspan->back._prev;
|
||||
i->sPtrs[i->ptrPos+1] = &(i->sPtrs[i->ptrPos-2]->subspan->front);
|
Loading…
Reference in New Issue
Block a user