1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 04:52:48 +02:00
openwrt-packages/svgalib/patches/050-ml_getint.patch
David Kühling ac7a991ae2 Port of SVGAlib; patched to only use the linux frame buffer
Try the svgalib-demo programs: vgatest, speedtest etc. seem to work.
2011-01-06 14:42:56 +01:00

14 lines
427 B
Diff

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);