diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-07-29 06:21:15 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-07-29 06:21:15 +0000 |
commit | bc19edf234d2ccc69f1984feb7bb0f8e5170a84e (patch) | |
tree | 2a94f947978675df5d39d3fd88001e929751909e /graphics | |
parent | 4aa20135568c5949a7853011e14e541b6240b87d (diff) | |
download | ports-bc19edf234d2ccc69f1984feb7bb0f8e5170a84e.tar.gz ports-bc19edf234d2ccc69f1984feb7bb0f8e5170a84e.zip |
Notes
Diffstat (limited to 'graphics')
-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. |