mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Add a patch to allow SVGAlib to work with nVidia cards [1]
- Remove obsolete OSVERSION check in Makefile - Minor nits in pkg-descr Submitted by: Mark Tinguely <tinguely(at)casselton.net> [1]
This commit is contained in:
parent
4aa2013556
commit
bc19edf234
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140369
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= svgalib
|
||||
PORTVERSION= 1.4.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= graphics devel
|
||||
MASTER_SITES= http://www.svgalib.org/
|
||||
|
||||
@ -22,12 +22,6 @@ ALL_TARGET= shared static
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 400000
|
||||
BROKEN= "3.* isn't supported - please upgrade to use the port"
|
||||
.endif
|
||||
|
||||
.for i in 1 2 3 4 5 6 7 8 9
|
||||
.if exists(${FILESDIR}/man${i})
|
||||
MAN${i}!= ${CAT} ${FILESDIR}/man${i}
|
||||
@ -46,4 +40,4 @@ post-install:
|
||||
cd ${WRKSRC}/include/linux && \
|
||||
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
19
graphics/svgalib/files/patch-src::nv3.c
Normal file
19
graphics/svgalib/files/patch-src::nv3.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/nv3.c.orig Tue Jul 26 22:09:54 2005
|
||||
+++ src/nv3.c Tue Jul 26 22:08:17 2005
|
||||
@@ -579,7 +579,7 @@
|
||||
|
||||
#define MapDevice(device,base) \
|
||||
nv##device##Port=(unsigned*)(mmap(0, \
|
||||
- DEVICE_SIZE(device),PROT_WRITE,MAP_SHARED,__svgalib_mem_fd,\
|
||||
+ DEVICE_SIZE(device),(PROT_WRITE|PROT_READ),MAP_SHARED,__svgalib_mem_fd,\
|
||||
(MMIOBASE)+DEVICE_BASE(device)))
|
||||
|
||||
/* Initialize chipset (called after detection) */
|
||||
@@ -616,6 +616,7 @@
|
||||
case 0x29: case 0x2A: case 0x2B: case 0x2C: case 0x2D: case 0x2E: case 0x2F:
|
||||
case 0xA0:
|
||||
case 0x28: nv3_chiptype=RivaTNT; break;
|
||||
+ case 0x185:
|
||||
case 0x150: case 0x151: case 0x152: case 0x153:
|
||||
case 0x110: case 0x111: case 0x113:
|
||||
case 0x101: case 0x103:
|
@ -4,8 +4,8 @@ well as high resolution/high color modes on many popular graphics adapters. As
|
||||
of now, support for many more chipsets had been added.
|
||||
|
||||
It supports transparent virtual console switching, that is, you can switch
|
||||
consoles to and from text and graphics mode consoles using alt-[function key].
|
||||
Also, SVGAlib corrects most of VGAlib's textmode corruption behaviour by
|
||||
consoles to and from text and graphics mode consoles using Alt-[function key].
|
||||
Also, SVGAlib corrects most of VGAlib's textmode corruption behavior by
|
||||
catching SIGSEGV, SIGFPE, SIGILL, and other fatal signals and ensuring that a
|
||||
program is running in the currently visible virtual console before setting a
|
||||
graphics mode.
|
||||
|
Loading…
Reference in New Issue
Block a user