diff options
author | danfe <danfe@FreeBSD.org> | 2005-07-29 14:21:15 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-07-29 14:21:15 +0800 |
commit | 82b21c7f836f698f5bdee62e471894da23aa0264 (patch) | |
tree | a21907ffab4c45d819eaa28ca0fde5325f1190db /graphics/svgalib | |
parent | 55c6c8b073edab15761f97c48afc7cee410da1f4 (diff) | |
download | freebsd-ports-gnome-82b21c7f836f698f5bdee62e471894da23aa0264.tar.gz freebsd-ports-gnome-82b21c7f836f698f5bdee62e471894da23aa0264.tar.zst freebsd-ports-gnome-82b21c7f836f698f5bdee62e471894da23aa0264.zip |
- 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]
Diffstat (limited to 'graphics/svgalib')
-rw-r--r-- | graphics/svgalib/Makefile | 10 | ||||
-rw-r--r-- | graphics/svgalib/files/patch-src::nv3.c | 19 | ||||
-rw-r--r-- | graphics/svgalib/pkg-descr | 4 |
3 files changed, 23 insertions, 10 deletions
diff --git a/graphics/svgalib/Makefile b/graphics/svgalib/Makefile index 7f5db2e72cbc..5bde70fc0e00 100644 --- a/graphics/svgalib/Makefile +++ b/graphics/svgalib/Makefile @@ -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> diff --git a/graphics/svgalib/files/patch-src::nv3.c b/graphics/svgalib/files/patch-src::nv3.c new file mode 100644 index 000000000000..1b10bea7b37c --- /dev/null +++ b/graphics/svgalib/files/patch-src::nv3.c @@ -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: diff --git a/graphics/svgalib/pkg-descr b/graphics/svgalib/pkg-descr index 191eca45bf8d..5dfd767d2b6e 100644 --- a/graphics/svgalib/pkg-descr +++ b/graphics/svgalib/pkg-descr @@ -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. |