mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
Port of SVGAlib; patched to only use the linux frame buffer
Try the svgalib-demo programs: vgatest, speedtest etc. seem to work.
This commit is contained in:
13
svgalib/patches/050-ml_getint.patch
Normal file
13
svgalib/patches/050-ml_getint.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: svgalib-1.4.3/src/vga.c
|
||||
===================================================================
|
||||
--- svgalib-1.4.3.orig/src/vga.c 2011-01-06 12:16:21.000000000 +0100
|
||||
+++ svgalib-1.4.3/src/vga.c 2011-01-06 12:16:21.000000000 +0100
|
||||
@@ -3920,7 +3920,7 @@
|
||||
|
||||
#define ML_GETINT(x) \
|
||||
ptr = strtok(NULL, " "); if(!ptr) break; \
|
||||
- mmt.##x = atoi(ptr);
|
||||
+ mmt.x = atoi(ptr);
|
||||
|
||||
ML_GETINT(HDisplay);
|
||||
ML_GETINT(HSyncStart);
|
||||
Reference in New Issue
Block a user