[Midnightbsd-cvs] mports [16958] trunk/graphics/svgalib: rename patches
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 7 14:17:35 EDT 2014
Revision: 16958
http://svnweb.midnightbsd.org/mports/?rev=16958
Author: laffer1
Date: 2014-09-07 14:17:34 -0400 (Sun, 07 Sep 2014)
Log Message:
-----------
rename patches
Modified Paths:
--------------
trunk/graphics/svgalib/Makefile
trunk/graphics/svgalib/pkg-plist
Added Paths:
-----------
trunk/graphics/svgalib/files/patch-Makefile
trunk/graphics/svgalib/files/patch-Makefile.cfg
trunk/graphics/svgalib/files/patch-demos-Makefile
trunk/graphics/svgalib/files/patch-demos-accel.c
trunk/graphics/svgalib/files/patch-demos-forktest.c
trunk/graphics/svgalib/files/patch-demos-linearfork.c
trunk/graphics/svgalib/files/patch-gl-Makefile
trunk/graphics/svgalib/files/patch-gl-cctext.c
trunk/graphics/svgalib/files/patch-gl-inlstring.h
trunk/graphics/svgalib/files/patch-gl__driver.c
trunk/graphics/svgalib/files/patch-gl__line.c
trunk/graphics/svgalib/files/patch-include-linux-kd.h
trunk/graphics/svgalib/files/patch-include-linux-keyboard.h
trunk/graphics/svgalib/files/patch-src-Makefile
trunk/graphics/svgalib/files/patch-src-ark.c
trunk/graphics/svgalib/files/patch-src-config-libvga.config
trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_1
trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_2
trunk/graphics/svgalib/files/patch-src-keyboard-keyboard.c
trunk/graphics/svgalib/files/patch-src-keyboard-vgakeyboard.h
trunk/graphics/svgalib/files/patch-src-libvga.h
trunk/graphics/svgalib/files/patch-src-mach32.c
trunk/graphics/svgalib/files/patch-src-mouse-ms.c
trunk/graphics/svgalib/files/patch-src-nv3.c
trunk/graphics/svgalib/files/patch-src-vga.c
trunk/graphics/svgalib/files/patch-src-vgamisc.c
trunk/graphics/svgalib/files/patch-src__nv3.c
trunk/graphics/svgalib/files/patch-src__s3.c
trunk/graphics/svgalib/files/patch-src__vgapix.c
trunk/graphics/svgalib/files/patch-utils-Makefile
trunk/graphics/svgalib/files/patch-utils-gtf-scitech.h
Removed Paths:
-------------
trunk/graphics/svgalib/files/man1
trunk/graphics/svgalib/files/man3
trunk/graphics/svgalib/files/man5
trunk/graphics/svgalib/files/man6
trunk/graphics/svgalib/files/man7
trunk/graphics/svgalib/files/man8
trunk/graphics/svgalib/files/patch-aa
trunk/graphics/svgalib/files/patch-ab
trunk/graphics/svgalib/files/patch-ac
trunk/graphics/svgalib/files/patch-ad
trunk/graphics/svgalib/files/patch-ae
trunk/graphics/svgalib/files/patch-af
trunk/graphics/svgalib/files/patch-ag
trunk/graphics/svgalib/files/patch-ah
trunk/graphics/svgalib/files/patch-ai
trunk/graphics/svgalib/files/patch-aj
trunk/graphics/svgalib/files/patch-ak
trunk/graphics/svgalib/files/patch-al
trunk/graphics/svgalib/files/patch-am
trunk/graphics/svgalib/files/patch-an
trunk/graphics/svgalib/files/patch-ao
trunk/graphics/svgalib/files/patch-ap
trunk/graphics/svgalib/files/patch-aq
trunk/graphics/svgalib/files/patch-ar
trunk/graphics/svgalib/files/patch-as
trunk/graphics/svgalib/files/patch-at
trunk/graphics/svgalib/files/patch-au
trunk/graphics/svgalib/files/patch-av
trunk/graphics/svgalib/files/patch-aw
trunk/graphics/svgalib/files/patch-ax
trunk/graphics/svgalib/files/patch-ay
trunk/graphics/svgalib/files/patch-az
trunk/graphics/svgalib/files/patch-gl::driver.c
trunk/graphics/svgalib/files/patch-gl::line.c
trunk/graphics/svgalib/files/patch-src::nv3.c
trunk/graphics/svgalib/files/patch-src::s3.c
trunk/graphics/svgalib/files/patch-src::vgapix.c
Modified: trunk/graphics/svgalib/Makefile
===================================================================
--- trunk/graphics/svgalib/Makefile 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -2,7 +2,7 @@
PORTNAME= svgalib
PORTVERSION= 1.4.3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= graphics devel
MASTER_SITES= http://www.svgalib.org/
@@ -12,12 +12,10 @@
ONLY_FOR_ARCHS= i386 amd64
-MAKE_JOBS_SAFE= yes
-
-USE_DOS2UNIX= utils/gtf/gtf.h utils/gtf/scitech.h
-USE_GMAKE= yes
+#USE_DOS2UNIX= utils/gtf/gtf.h utils/gtf/scitech.h
+USES= gmake uidfix shebangfix
+SHEBANG_FILES= utils/svgakeymap
USE_LDCONFIG= yes
-MANCOMPRESSED= yes
ALL_TARGET= shared static
@@ -27,12 +25,6 @@
MAKE_ENV= NO_ASM=y
.endif
-.for i in 1 2 3 4 5 6 7 8 9
-.if exists(${FILESDIR}/man${i})
-MAN${i}!= ${CAT} ${FILESDIR}/man${i}
-.endif
-.endfor
-
post-patch: .SILENT
${MKDIR} ${WRKSRC}/include/linux
# Fix for GCC 4.1
Deleted: trunk/graphics/svgalib/files/man1
===================================================================
--- trunk/graphics/svgalib/files/man1 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man1 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
-convfont.1
-dumpreg.1
-fix132x43.1
-restorefont.1
-restorepalette.1
-restoretextmode.1
-runx.1
-savetextmode.1
-setmclk.1
-svgakeymap.1
-textmode.1
Deleted: trunk/graphics/svgalib/files/man3
===================================================================
--- trunk/graphics/svgalib/files/man3 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man3 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,194 +0,0 @@
-currentcontext.3
-gl_allocatecontext.3
-gl_bcircle.3
-gl_circle.3
-gl_clearscreen.3
-gl_colorfont.3
-gl_compileboxmask.3
-gl_compiledboxmasksize.3
-gl_copybox.3
-gl_copyboxfromcontext.3
-gl_copyboxtocontext.3
-gl_copyscreen.3
-gl_disableclipping.3
-gl_enableclipping.3
-gl_enablepageflipping.3
-gl_expandfont.3
-gl_fillbox.3
-gl_fillcircle.3
-gl_font8x8.3
-gl_freecontext.3
-gl_getbox.3
-gl_getcontext.3
-gl_getpalette.3
-gl_getpalettecolor.3
-gl_getpalettecolors.3
-gl_getpixel.3
-gl_getpixelrgb.3
-gl_hline.3
-gl_line.3
-gl_printf.3
-gl_putbox.3
-gl_putboxmask.3
-gl_putboxmaskcompiled.3
-gl_putboxpart.3
-gl_rgbcolor.3
-gl_scalebox.3
-gl_setclippingwindow.3
-gl_setcontext.3
-gl_setcontextheight.3
-gl_setcontextvga.3
-gl_setcontextvgavirtual.3
-gl_setcontextvirtual.3
-gl_setcontextwidth.3
-gl_setdisplaystart.3
-gl_setfont.3
-gl_setfontcolors.3
-gl_setpalette.3
-gl_setpalettecolor.3
-gl_setpalettecolors.3
-gl_setpixel.3
-gl_setpixelrgb.3
-gl_setrgbpalette.3
-gl_setscreenoffset.3
-gl_setwritemode.3
-gl_striangle.3
-gl_swtriangle.3
-gl_triangle.3
-gl_trigetcolorlookup.3
-gl_trisetcolorlookup.3
-gl_trisetdrawpoint.3
-gl_write.3
-gl_writen.3
-gl_wtriangle.3
-graph_mem.3
-joystick_button1.3
-joystick_button2.3
-joystick_button3.3
-joystick_button4.3
-joystick_close.3
-joystick_getaxis.3
-joystick_getb1.3
-joystick_getb2.3
-joystick_getb3.3
-joystick_getb4.3
-joystick_getbutton.3
-joystick_getnumaxes.3
-joystick_getnumbuttons.3
-joystick_getx.3
-joystick_gety.3
-joystick_getz.3
-joystick_init.3
-joystick_setdefaulthandler.3
-joystick_sethandler.3
-joystick_update.3
-joystick_x.3
-joystick_y.3
-joystick_z.3
-keyboard_clearstate.3
-keyboard_close.3
-keyboard_getstate.3
-keyboard_init.3
-keyboard_init_return_fd.3
-keyboard_keypressed.3
-keyboard_setdefaulteventhandler.3
-keyboard_seteventhandler.3
-keyboard_translatekeys.3
-keyboard_update.3
-keyboard_waitforupdate.3
-mouse_close.3
-mouse_getbutton.3
-mouse_getcaps.3
-mouse_getposition_6d.3
-mouse_getx.3
-mouse_gety.3
-mouse_init.3
-mouse_init_return_fd.3
-mouse_setdefaulteventhandler.3
-mouse_seteventhandler.3
-mouse_setposition.3
-mouse_setposition_6d.3
-mouse_setrange_6d.3
-mouse_setscale.3
-mouse_setwrap.3
-mouse_setxrange.3
-mouse_setyrange.3
-mouse_update.3
-mouse_waitforupdate.3
-vga_accel.3
-vga_addmode.3
-vga_addtiming.3
-vga_bitblt.3
-vga_blitwait.3
-vga_changetiming.3
-vga_claimvideomemory.3
-vga_clear.3
-vga_copytoplanar16.3
-vga_copytoplanar256.3
-vga_copytoplane.3
-vga_disabledriverreport.3
-vga_drawline.3
-vga_drawpixel.3
-vga_drawscanline.3
-vga_drawscansegment.3
-vga_dumpregs.3
-vga_ext_set.3
-vga_fillblt.3
-vga_flip.3
-vga_getch.3
-vga_getcolors.3
-vga_getcurrentchipset.3
-vga_getcurrentmode.3
-vga_getcurrenttiming.3
-vga_getdefaultmode.3
-vga_getgraphmem.3
-vga_getkey.3
-vga_getmodeinfo.3
-vga_getmodename.3
-vga_getmodenumber.3
-vga_getmonitortype.3
-vga_getmousetype.3
-vga_getpalette.3
-vga_getpalvec.3
-vga_getpixel.3
-vga_getscansegment.3
-vga_gettextfont.3
-vga_gettextmoderegs.3
-vga_getxdim.3
-vga_getydim.3
-vga_guesstiming.3
-vga_hasmode.3
-vga_hlinelistblt.3
-vga_imageblt.3
-vga_init.3
-vga_lastmodenumber.3
-vga_lockvc.3
-vga_oktowrite.3
-vga_puttextfont.3
-vga_runinbackground.3
-vga_runinbackground_version.3
-vga_safety_fork.3
-vga_screenoff.3
-vga_screenon.3
-vga_setchipset.3
-vga_setchipsetandfeatures.3
-vga_setcolor.3
-vga_setdisplaystart.3
-vga_setegacolor.3
-vga_setflipchar.3
-vga_setlinearaddressing.3
-vga_setlogicalwidth.3
-vga_setmode.3
-vga_setmodeX.3
-vga_setmousesupport.3
-vga_setpage.3
-vga_setpalette.3
-vga_setpalvec.3
-vga_setreadpage.3
-vga_setrgbcolor.3
-vga_settextmoderegs.3
-vga_setwritepage.3
-vga_unlockvc.3
-vga_waitevent.3
-vga_waitretrace.3
-vga_white.3
Deleted: trunk/graphics/svgalib/files/man5
===================================================================
--- trunk/graphics/svgalib/files/man5 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man5 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,3 +0,0 @@
-libvga.config.5
-libvga.et4000.5
-svgalibrc.5
Deleted: trunk/graphics/svgalib/files/man6
===================================================================
--- trunk/graphics/svgalib/files/man6 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man6 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,23 +0,0 @@
-accel.6
-bg_test.6
-eventtest.6
-forktest.6
-fun.6
-joytest.6
-keytest.6
-lineart.6
-mach32info.6
-mjoytest.6
-mousetest.6
-plane.6
-printftest.6
-scrolltest.6
-speedtest.6
-spin.6
-svidtune.6
-testaccel.6
-testgl.6
-testlinear.6
-threed.6
-vgatest.6
-wrapdemo.6
Deleted: trunk/graphics/svgalib/files/man7
===================================================================
--- trunk/graphics/svgalib/files/man7 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man7 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,7 +0,0 @@
-svgalib.7
-svgalib.chips.7
-svgalib.et4000.7
-svgalib.faq.7
-svgalib.mach32.7
-threedkit.7
-vgagl.7
Deleted: trunk/graphics/svgalib/files/man8
===================================================================
--- trunk/graphics/svgalib/files/man8 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/man8 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1 +0,0 @@
-mode3.8
Added: trunk/graphics/svgalib/files/patch-Makefile
===================================================================
--- trunk/graphics/svgalib/files/patch-Makefile (rev 0)
+++ trunk/graphics/svgalib/files/patch-Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,38 @@
+--- Makefile.orig Fri Jul 7 01:12:47 2000
++++ Makefile Thu Jul 31 16:13:56 2003
+@@ -176,7 +176,7 @@
+ (cd $(sharedlibdir); \
+ ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
+ done
+- @ldconfig
++ #@ldconfig
+
+ ifdef INSTALLAOUTDIR
+
+@@ -192,7 +192,7 @@
+ (cd $(TOPDIR)/$(INSTALLAOUTDIR); \
+ ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
+ done
+- @ldconfig
++ #@ldconfig
+
+ else
+
+@@ -210,7 +210,7 @@
+ @$(INSTALL_DATA) staticlib/libvgagl.a $(libdir)/libvgagl.a
+ @chmod a+r $(libdir)/libvgagl.a
+
+-installutils: textutils lrmi
++installutils: textutils
+ @if [ ! -d $(bindir) ]; then \
+ echo No $(bindir) directory, creating it.; \
+ mkdir $(bindir); \
+@@ -236,8 +236,6 @@
+ @cp utils/textmode $(bindir)
+ @echo "savetextmode: Script that saves textmode information used by 'textmode'."
+ @cp utils/savetextmode $(bindir)
+- @echo "mode3: Restore textmode by setting VESA mode 3."
+- @cp lrmi-0.6m/mode3 $(bindir)
+ @echo "Installing keymap utilities in $(bindir):"
+ @echo "svgakeymap: Perl script that generates scancode conversion maps."
+ @cp utils/svgakeymap $(bindir)
Added: trunk/graphics/svgalib/files/patch-Makefile.cfg
===================================================================
--- trunk/graphics/svgalib/files/patch-Makefile.cfg (rev 0)
+++ trunk/graphics/svgalib/files/patch-Makefile.cfg 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,122 @@
+--- Makefile.cfg.orig 2001-05-29 16:39:13.000000000 +0200
++++ Makefile.cfg 2014-04-18 19:02:17.000000000 +0200
+@@ -9,8 +9,8 @@
+ # to n means yes!
+
+ MAJOR_VER = 1
+-MINOR_VER = 4.3
+-VERSION = $(MAJOR_VER).$(MINOR_VER)
++MINOR_VER =
++VERSION = $(MAJOR_VER)
+
+ #----------------------------------------------------------------------
+ # Configuration Section
+@@ -24,8 +24,8 @@
+
+ # Common prefix for installation directories.
+ # NOTE: This directory must exist when you start the install.
+-TOPDIR=
+-prefix = $(TOPDIR)/usr/local
++TOPDIR=$(DESTDIR)$(PREFIX)
++prefix = $(DESTDIR)$(PREFIX)
+ exec_prefix = $(prefix)
+
+ # Directory where the shared stubs and static library will be installed.
+@@ -82,7 +82,7 @@
+ # BACKGROUND = y
+
+ # Uncomment this if you want to compile and install the static libs.
+-# INSTALLSTATICLIB = installstaticlib
++INSTALLSTATICLIB = installstaticlib
+
+ # Comment this out if you don't want to install the shared libs.
+ # If you do not install the shared nor the static libs, 'make static'
+@@ -94,7 +94,7 @@
+ # a.out image is available install it in the first directory named something
+ # like *aout/ in /etc/ld.so.conf.
+ # If you want this, do not comment out the next line:
+-INSTALLAOUTLIB = installaoutcompat
++# INSTALLAOUTLIB = installaoutcompat
+
+ # Comment this out if you want to keep old shared images. Old header files,
+ # library stubs and static libraries CANNOT be kept in public locations
+@@ -126,20 +126,20 @@
+ INCLUDE_ET4000_DRIVER = y
+ INCLUDE_CIRRUS_DRIVER = y
+ INCLUDE_TVGA_DRIVER = y
+-#INCLUDE_OAK_DRIVER = y
+-#INCLUDE_EGA_DRIVER = y
++INCLUDE_OAK_DRIVER = y
++INCLUDE_EGA_DRIVER = y
+ INCLUDE_MACH32_DRIVER = y
+ INCLUDE_S3_DRIVER = y
+-#INCLUDE_ET3000_DRIVER = y
+-#INCLUDE_GVGA6400_DRIVER = y
+-#INCLUDE_ARK_DRIVER = y
+-#INCLUDE_ATI_DRIVER = y
+-#INCLUDE_ALI_DRIVER = y
++INCLUDE_ET3000_DRIVER = y
++INCLUDE_GVGA6400_DRIVER = y
++INCLUDE_ARK_DRIVER = y
++INCLUDE_ATI_DRIVER = y
++INCLUDE_ALI_DRIVER = y
+ INCLUDE_CHIPS_DRIVER = y
+ INCLUDE_APM_DRIVER = y
+ INCLUDE_NV3_DRIVER = y
+ INCLUDE_ET6000_DRIVER = y
+-INCLUDE_VESA_DRIVER = y
++#INCLUDE_VESA_DRIVER = y
+ INCLUDE_MX_DRIVER = y
+ INCLUDE_PARADISE_DRIVER = y
+ INCLUDE_RAGE_DRIVER = y
+@@ -150,7 +150,7 @@
+ INCLUDE_NEO_DRIVER = y
+ INCLUDE_R128_DRIVER = y
+ INCLUDE_G400_DRIVER = y
+-INCLUDE_FBDEV_DRIVER = y
++#INCLUDE_FBDEV_DRIVER = y
+ INCLUDE_SAVAGE_DRIVER = y
+ #
+ # Comment out any adapter you don't want to autodetect.
+@@ -158,15 +158,15 @@
+ INCLUDE_ET4000_DRIVER_TEST = y
+ INCLUDE_CIRRUS_DRIVER_TEST = y
+ INCLUDE_TVGA_DRIVER_TEST = y
+-#INCLUDE_OAK_DRIVER_TEST = y
+-#INCLUDE_EGA_DRIVER_TEST = y
++INCLUDE_OAK_DRIVER_TEST = y
++INCLUDE_EGA_DRIVER_TEST = y
+ INCLUDE_MACH32_DRIVER_TEST = y
+-#INCLUDE_GVGA6400_DRIVER_TEST = y
++INCLUDE_GVGA6400_DRIVER_TEST = y
+ INCLUDE_S3_DRIVER_TEST = y
+-#INCLUDE_ET3000_DRIVER_TEST = y
+-#INCLUDE_ARK_DRIVER_TEST = y
+-#INCLUDE_ATI_DRIVER_TEST = y
+-#INCLUDE_ALI_DRIVER_TEST = y
++INCLUDE_ET3000_DRIVER_TEST = y
++INCLUDE_ARK_DRIVER_TEST = y
++INCLUDE_ATI_DRIVER_TEST = y
++INCLUDE_ALI_DRIVER_TEST = y
+ INCLUDE_CHIPS_DRIVER_TEST = y
+ INCLUDE_APM_DRIVER_TEST = y
+ INCLUDE_NV3_DRIVER_TEST = y
+@@ -185,7 +185,7 @@
+ INCLUDE_SAVAGE_DRIVER_TEST = y
+
+ #Might be too dangerous:
+-INCLUDE_VESA_DRIVER_TEST = y
++#INCLUDE_VESA_DRIVER_TEST = y
+
+ #
+ # Comment out any dac support that you don't want included in the library.
+@@ -289,6 +289,6 @@
+
+ # Utilites used.
+ AR = ar
+-INSTALL_PROGRAM = install -c -s -m 755 -o root -g bin
+-INSTALL_SHLIB = install -c -m 755 -o root -g bin
+-INSTALL_DATA = install -c -m 644 -o root -g bin
++INSTALL_PROGRAM ?= install -c -s -m 755
++INSTALL_SHLIB ?= install -c -m 755
++INSTALL_DATA ?= install -c -m 644
Deleted: trunk/graphics/svgalib/files/patch-aa
===================================================================
--- trunk/graphics/svgalib/files/patch-aa 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-aa 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,112 +0,0 @@
---- Makefile.cfg.orig Tue May 29 21:39:13 2001
-+++ Makefile.cfg Thu Jul 31 18:12:15 2003
-@@ -9,8 +9,8 @@
- # to n means yes!
-
- MAJOR_VER = 1
--MINOR_VER = 4.3
--VERSION = $(MAJOR_VER).$(MINOR_VER)
-+MINOR_VER =
-+VERSION = $(MAJOR_VER)
-
- #----------------------------------------------------------------------
- # Configuration Section
-@@ -24,8 +24,8 @@
-
- # Common prefix for installation directories.
- # NOTE: This directory must exist when you start the install.
--TOPDIR=
--prefix = $(TOPDIR)/usr/local
-+TOPDIR=$(PREFIX)
-+prefix = $(PREFIX)
- exec_prefix = $(prefix)
-
- # Directory where the shared stubs and static library will be installed.
-@@ -82,7 +82,7 @@
- # BACKGROUND = y
-
- # Uncomment this if you want to compile and install the static libs.
--# INSTALLSTATICLIB = installstaticlib
-+INSTALLSTATICLIB = installstaticlib
-
- # Comment this out if you don't want to install the shared libs.
- # If you do not install the shared nor the static libs, 'make static'
-@@ -94,7 +94,7 @@
- # a.out image is available install it in the first directory named something
- # like *aout/ in /etc/ld.so.conf.
- # If you want this, do not comment out the next line:
--INSTALLAOUTLIB = installaoutcompat
-+# INSTALLAOUTLIB = installaoutcompat
-
- # Comment this out if you want to keep old shared images. Old header files,
- # library stubs and static libraries CANNOT be kept in public locations
-@@ -126,20 +126,20 @@
- INCLUDE_ET4000_DRIVER = y
- INCLUDE_CIRRUS_DRIVER = y
- INCLUDE_TVGA_DRIVER = y
--#INCLUDE_OAK_DRIVER = y
--#INCLUDE_EGA_DRIVER = y
-+INCLUDE_OAK_DRIVER = y
-+INCLUDE_EGA_DRIVER = y
- INCLUDE_MACH32_DRIVER = y
- INCLUDE_S3_DRIVER = y
--#INCLUDE_ET3000_DRIVER = y
--#INCLUDE_GVGA6400_DRIVER = y
--#INCLUDE_ARK_DRIVER = y
--#INCLUDE_ATI_DRIVER = y
--#INCLUDE_ALI_DRIVER = y
-+INCLUDE_ET3000_DRIVER = y
-+INCLUDE_GVGA6400_DRIVER = y
-+INCLUDE_ARK_DRIVER = y
-+INCLUDE_ATI_DRIVER = y
-+INCLUDE_ALI_DRIVER = y
- INCLUDE_CHIPS_DRIVER = y
- INCLUDE_APM_DRIVER = y
- INCLUDE_NV3_DRIVER = y
- INCLUDE_ET6000_DRIVER = y
--INCLUDE_VESA_DRIVER = y
-+#INCLUDE_VESA_DRIVER = y
- INCLUDE_MX_DRIVER = y
- INCLUDE_PARADISE_DRIVER = y
- INCLUDE_RAGE_DRIVER = y
-@@ -150,7 +150,7 @@
- INCLUDE_NEO_DRIVER = y
- INCLUDE_R128_DRIVER = y
- INCLUDE_G400_DRIVER = y
--INCLUDE_FBDEV_DRIVER = y
-+#INCLUDE_FBDEV_DRIVER = y
- INCLUDE_SAVAGE_DRIVER = y
- #
- # Comment out any adapter you don't want to autodetect.
-@@ -158,15 +158,15 @@
- INCLUDE_ET4000_DRIVER_TEST = y
- INCLUDE_CIRRUS_DRIVER_TEST = y
- INCLUDE_TVGA_DRIVER_TEST = y
--#INCLUDE_OAK_DRIVER_TEST = y
--#INCLUDE_EGA_DRIVER_TEST = y
-+INCLUDE_OAK_DRIVER_TEST = y
-+INCLUDE_EGA_DRIVER_TEST = y
- INCLUDE_MACH32_DRIVER_TEST = y
--#INCLUDE_GVGA6400_DRIVER_TEST = y
-+INCLUDE_GVGA6400_DRIVER_TEST = y
- INCLUDE_S3_DRIVER_TEST = y
--#INCLUDE_ET3000_DRIVER_TEST = y
--#INCLUDE_ARK_DRIVER_TEST = y
--#INCLUDE_ATI_DRIVER_TEST = y
--#INCLUDE_ALI_DRIVER_TEST = y
-+INCLUDE_ET3000_DRIVER_TEST = y
-+INCLUDE_ARK_DRIVER_TEST = y
-+INCLUDE_ATI_DRIVER_TEST = y
-+INCLUDE_ALI_DRIVER_TEST = y
- INCLUDE_CHIPS_DRIVER_TEST = y
- INCLUDE_APM_DRIVER_TEST = y
- INCLUDE_NV3_DRIVER_TEST = y
-@@ -185,7 +185,7 @@
- INCLUDE_SAVAGE_DRIVER_TEST = y
-
- #Might be too dangerous:
--INCLUDE_VESA_DRIVER_TEST = y
-+#INCLUDE_VESA_DRIVER_TEST = y
-
- #
- # Comment out any dac support that you don't want included in the library.
Deleted: trunk/graphics/svgalib/files/patch-ab
===================================================================
--- trunk/graphics/svgalib/files/patch-ab 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ab 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,37 +0,0 @@
---- src/Makefile.orig Thu Jul 6 19:10:58 2000
-+++ src/Makefile Fri Aug 25 05:15:15 2000
-@@ -14,7 +14,7 @@
- # Compiler Section (overrides Makefile.cfg)
- #----------------------------------------------------------------------
-
--INCLUDES += -I$(srcdir)/src
-+INCLUDES += -I$(srcdir)/src -I$(srcdir)/src/config
-
- #----------------------------------------------------------------------
- # Rules Section
-@@ -361,6 +361,7 @@
- libvga.so.$(VERSION): $(ALLOBJS)
- $(CC) -s -shared -Wl,-soname,libvga.so.$(MAJOR_VER) \
- -o libvga.so.$(VERSION) $(ALLOBJS) -lm
-+ /bin/ln -sf libvga.so.$(VERSION) libvga.so
-
- $(sharedlibdir)/libvga.so.$(VERSION): libvga.so.$(VERSION)
- $(INSTALL_PROGRAM) $< $(sharedlibdir)/$<
-@@ -375,7 +376,7 @@
- $(AR) rcs libvga.a $(ALLOBJS)
-
- libvgagl.a: FORCE
-- make -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)"
-+ $(MAKE) -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)"
-
- vga.o: vga.c
- $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $<
-@@ -397,7 +398,7 @@
-
- dep:
- rm -f .depend.src
-- make .depend.src
-+ $(MAKE) .depend.src
-
- .depend.src:
- echo '# Module dependencies' >>.depend.src
Deleted: trunk/graphics/svgalib/files/patch-ac
===================================================================
--- trunk/graphics/svgalib/files/patch-ac 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ac 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,10 +0,0 @@
---- gl/inlstring.h.orig Fri Aug 25 05:11:26 2000
-+++ gl/inlstring.h Fri Aug 25 05:11:36 2000
-@@ -1,6 +1,6 @@
- /* Based on functions in linux/string.h */
-
--#include <linux/types.h> /* for size_t */
-+#include <sys/types.h> /* for size_t */
-
- #if defined(__alpha__) || defined (NO_ASSEMBLY)
-
Deleted: trunk/graphics/svgalib/files/patch-ad
===================================================================
--- trunk/graphics/svgalib/files/patch-ad 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ad 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
---- utils/gtf/scitech.h.orig Fri Aug 25 05:23:32 2000
-+++ utils/gtf/scitech.h Fri Aug 25 05:24:02 2000
-@@ -228,7 +228,7 @@
- #endif
-
- /* 32-bit FreeBSD compile environment */
--#elif defined(__FREEBSD__)
-+#elif defined(__FreeBSD__)
- #ifndef __32BIT__
- #define __32BIT__
- #endif
Deleted: trunk/graphics/svgalib/files/patch-ae
===================================================================
--- trunk/graphics/svgalib/files/patch-ae 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ae 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,38 +0,0 @@
---- Makefile.orig Fri Jul 7 01:12:47 2000
-+++ Makefile Thu Jul 31 16:13:56 2003
-@@ -176,7 +176,7 @@
- (cd $(sharedlibdir); \
- ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
- done
-- @ldconfig
-+ #@ldconfig
-
- ifdef INSTALLAOUTDIR
-
-@@ -192,7 +192,7 @@
- (cd $(TOPDIR)/$(INSTALLAOUTDIR); \
- ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
- done
-- @ldconfig
-+ #@ldconfig
-
- else
-
-@@ -210,7 +210,7 @@
- @$(INSTALL_DATA) staticlib/libvgagl.a $(libdir)/libvgagl.a
- @chmod a+r $(libdir)/libvgagl.a
-
--installutils: textutils lrmi
-+installutils: textutils
- @if [ ! -d $(bindir) ]; then \
- echo No $(bindir) directory, creating it.; \
- mkdir $(bindir); \
-@@ -236,8 +236,6 @@
- @cp utils/textmode $(bindir)
- @echo "savetextmode: Script that saves textmode information used by 'textmode'."
- @cp utils/savetextmode $(bindir)
-- @echo "mode3: Restore textmode by setting VESA mode 3."
-- @cp lrmi-0.6m/mode3 $(bindir)
- @echo "Installing keymap utilities in $(bindir):"
- @echo "svgakeymap: Perl script that generates scancode conversion maps."
- @cp utils/svgakeymap $(bindir)
Deleted: trunk/graphics/svgalib/files/patch-af
===================================================================
--- trunk/graphics/svgalib/files/patch-af 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-af 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,12 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/et6000.c src/et6000.c
---- svgalib-1.4.2.orig/src/et6000.c Fri Aug 25 04:39:39 2000
-+++ src/et6000.c Fri Aug 25 04:39:57 2000
-@@ -10,7 +10,7 @@
- #include "vga.h"
- #include "libvga.h"
- #include "driver.h"
--#include <linux/pci.h>
-+/*#include <linux/pci.h>*/
- #include "timing.h"
- #include "interface.h"
- #include "vgaregs.h"
Deleted: trunk/graphics/svgalib/files/patch-ag
===================================================================
--- trunk/graphics/svgalib/files/patch-ag 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ag 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,12 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/joystick/joydev.h src/joystick/joydev.h
---- svgalib-1.4.2.orig/src/joystick/joydev.h Fri Aug 25 04:39:39 2000
-+++ src/joystick/joydev.h Fri Aug 25 04:39:57 2000
-@@ -1,6 +1,6 @@
--#include <linux/version.h>
-+/*#include <linux/version.h>*/
-
--#if ( LINUX_VESION_CODE >= 131584)
-+#if 0 /*( LINUX_VESION_CODE >= 131584) */
- #include <linux/joystick.h>
- #else
- /* Joystick interface modeled after svgalibs keyboard and mouse interfaces
Deleted: trunk/graphics/svgalib/files/patch-ah
===================================================================
--- trunk/graphics/svgalib/files/patch-ah 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ah 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,76 +0,0 @@
---- src/keyboard/keyboard.c.orig Sun Jul 18 09:41:15 1999
-+++ src/keyboard/keyboard.c Fri Sep 1 11:01:20 2000
-@@ -28,12 +28,12 @@
- #include <sys/ioctl.h>
- #include <fcntl.h>
- #include <termios.h>
--#include <linux/kd.h>
-+#include <sys/kbio.h>
- /* linux/keyboard.h defines NR_KEYS and some scancode-like constants, so it */
- /* should also be useful for svgalib programs using the keyboard. It misses */
- /* a few KERNEL ifdefs around kernel data structures though. */
- #include <linux/keyboard.h>
--#include <sys/vt.h>
-+#include <sys/consio.h>
- /* Needed to check uid of keymap files */
- #include <sys/stat.h>
- #include <unistd.h>
-@@ -69,10 +69,11 @@
- "KP_4", "KP_5", "KP_6", "KP_Add",
- "KP_1", "KP_2", "KP_3",
- "KP_0", "KP_Period",
-- "Last_Console", "", "less", "F11", "F12", "", "", "", "", "", "", "",
-- "KP_Enter", "Control", "KP_Divide", "Control_backslash", "AltGr", "Break",
-+ "Last_Console", "", "less", "F11", "F12",
-+ "KP_Enter", "Control", "KP_Divide", "Control_backslash", "AltGr",
- "Find", "Up", "Prior", "Left", "Right", "Select", "Down", "Next", "Insert",
-- "Remove", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""
-+ "Remove", "Break", "", "", "", "", "", "",
-+ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""
- };
- static void default_handler(int, int);
- static char *kbd_load_keymap(char *ptr);
-@@ -333,14 +334,19 @@
- tcgetattr(__svgalib_kbd_fd, &oldkbdtermios);
- newkbdtermios = oldkbdtermios;
-
-+ cfmakeraw(&newkbdtermios);
- newkbdtermios.c_lflag &= ~(ICANON | ECHO | ISIG);
-- newkbdtermios.c_iflag &= ~(ISTRIP | IGNCR | ICRNL | INLCR | IXOFF | IXON);
-+ newkbdtermios.c_oflag = OPOST | ONLCR;
-+ newkbdtermios.c_iflag = IGNPAR | IGNBRK;
-+ newkbdtermios.c_cflag = CREAD | CS8;
- newkbdtermios.c_cc[VMIN] = 0; /* Making these 0 seems to have the */
- newkbdtermios.c_cc[VTIME] = 0; /* desired effect. */
-+ cfsetispeed(&newkbdtermios, 9600);
-+ cfsetospeed(&newkbdtermios, 9600);
-
-- tcsetattr(__svgalib_kbd_fd, TCSAFLUSH, &newkbdtermios);
-+ tcsetattr(__svgalib_kbd_fd, TCSANOW, &newkbdtermios);
-
-- ioctl(__svgalib_kbd_fd, KDSKBMODE, K_MEDIUMRAW);
-+ ioctl(__svgalib_kbd_fd, KDSKBMODE, K_CODE);
-
- keyboard_clearstate();
-
-@@ -578,7 +584,7 @@
- /* VT switch. */
- /* *** what about F11 & F12? */
- int j, vt = 0;
-- struct vt_stat vts;
-+ int vts;
- for (j = 0; j < 12; j++)
- if (functionkey_state & (1 << j)) {
- vt = j + 1;
-@@ -587,9 +593,9 @@
- }
-
- /* Do not switch vt's if need not to */
-- ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts);
-+ ioctl(__svgalib_tty_fd, VT_GETACTIVE, &vts);
-
-- if(vt != vts.v_active) {
-+ if(vt != vts) {
- /* if switching vt's, need to clear keystates */
- keyboard_clearstate();
- /*
Deleted: trunk/graphics/svgalib/files/patch-ai
===================================================================
--- trunk/graphics/svgalib/files/patch-ai 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ai 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,12 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/libvga.h src/libvga.h
---- svgalib-1.4.2.orig/src/libvga.h Fri Aug 25 04:39:39 2000
-+++ src/libvga.h Fri Aug 25 04:39:57 2000
-@@ -358,7 +358,7 @@
-
- #else
-
--#define SVGALIB_ACQUIRE_SIG SIGUNUSED
-+#define SVGALIB_ACQUIRE_SIG SIGUSR2
- #define SVGALIB_RELEASE_SIG SIGPROF
-
- #endif
Deleted: trunk/graphics/svgalib/files/patch-aj
===================================================================
--- trunk/graphics/svgalib/files/patch-aj 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-aj 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,213 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/mach32.c src/mach32.c
---- svgalib-1.4.2.orig/src/mach32.c Fri Aug 25 04:39:39 2000
-+++ src/mach32.c Fri Aug 25 04:39:57 2000
-@@ -1544,7 +1544,7 @@
- goto writerr;
- printf("mach32: Notice: new EEPROM file >%s< succesful created.\n",
- eeprom_fname);
-- finish_w_eeprom:
-+ finish_w_eeprom: ;
- }
- /* Change eeprom contents if requested: */
- if (!(eeprom_option & EEPROM_USE_MEMCFG))
-@@ -2415,7 +2415,7 @@
- return ptr;
- }
-
--static int isnumber(char *str)
-+static int is_number(char *str)
- {
- if (str == NULL)
- return 0;
-@@ -2607,11 +2607,11 @@
- goto ex_inv_mod;
- }
- if (*ptr == ':') { /*No. of clock given */
-- if (!isnumber(ptr + 1))
-+ if (!is_number(ptr + 1))
- goto inv_clk;
- i = atoi(ptr + 1);
- } else { /* search clock in table */
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_clk;
- flag = atoi(ptr);
- for (i = 0; i < 32; i++)
-@@ -2627,45 +2627,45 @@
- mptr->disp_cntl = 0x23; /* Assume non interlaced */
- /* The rest is straight forward: */
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- inv_time:
- puts("mach32-config: Invalid define command, timing is invalid");
- goto ex_inv_mod;
- }
- mptr->h_disp = (atoi(ptr) >> 3) - 1;
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- i = atoi(ptr);
- mptr->h_sync_strt = (i >> 3) - 1;
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- mptr->h_sync_wid = ((atoi(ptr) - i) >> 3);
- if (mptr->h_sync_wid > 0x1f)
- mptr->h_sync_wid = 0x1f;
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- mptr->h_total = (atoi(ptr) >> 3) - 1;
-
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- mptr->v_disp = mach32_skip2(atoi(ptr) - 1);
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- i = atoi(ptr);
- mptr->v_sync_strt = mach32_skip2(i - 1);
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- mptr->v_sync_wid = atoi(ptr) - i;
- if (mptr->v_sync_wid > 0x1f)
- mptr->v_sync_wid = 0x1f;
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto inv_time;
- mptr->v_total = mach32_skip2(atoi(ptr) - 1);
- for (;;) { /* Parse for additional goodies */
-@@ -2701,7 +2701,7 @@
- return ptr;
- case 3:
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- puts("mach32-config: illegal setlinelength command.\n"
- "Usage: setlinelength integer modes...");
- return ptr;
-@@ -2719,7 +2719,7 @@
- puts("Don't use the maxclock's commands out of the environment variable.");
- return ptr;
- }
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- ilmaxclk:
- puts("mach32-config: illegal maxclock16 or maxclock24 command.\n"
- "Usage: maxclock16 integer or maxclock24 integer");
-@@ -2731,7 +2731,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto maxclk_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilmaxclk;
- mach32_maxclk24 = atoi(ptr);
- break;
-@@ -2741,7 +2741,7 @@
- for (i = 0; i < 16; i++) {
- ptr = strtok(NULL, " ");
- clocks_set = 1;
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- puts("mach32-config: illegal clocks command.\n"
- "Usage: clocks integer integer ...\n"
- "16 clocks have to be specified.\n"
-@@ -2776,7 +2776,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto maxclk_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilmaxclk;
- mach32_maxclk8 = atoi(ptr);
- break;
-@@ -2784,7 +2784,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto maxclk_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilmaxclk;
- mach32_maxclk32 = atoi(ptr);
- break;
-@@ -2803,7 +2803,7 @@
- puts("The vfifo, latch, blank commands are not allowed out of the environment.");
- return ptr;
- }
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- ilvfi:
- puts("Illegal vfifo command");
- return ptr;
-@@ -2814,7 +2814,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto tweak_deny;
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- puts("Illegal latch command");
- return ptr;
- }
-@@ -2824,7 +2824,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto tweak_deny;
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- puts("Illegal blank command");
- return ptr;
- }
-@@ -2834,7 +2834,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto tweak_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilvfi;
- vfifo16 = atoi(ptr) & 0xf;
- break;
-@@ -2842,7 +2842,7 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto tweak_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilvfi;
- vfifo24 = atoi(ptr) & 0xf;
- break;
-@@ -2850,13 +2850,13 @@
- ptr = strtok(NULL, " ");
- if (!mode)
- goto tweak_deny;
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto ilvfi;
- vfifo32 = atoi(ptr) & 0xf;
- break;
- case 20:
- ptr = strtok(NULL, " ");
-- if (!isnumber(ptr)) {
-+ if (!is_number(ptr)) {
- ilsetupli:
- puts("Illegal setuplinear command.\n"
- "usage: setuplinear address size\n"
-@@ -2998,7 +2998,7 @@
- else if (!strcasecmp(ptr, "keep"))
- svga_clock = (-1);
- else {
-- if (!isnumber(ptr))
-+ if (!is_number(ptr))
- goto invpar;
- i = atoi(ptr);
- if ((i < 0) || (i > 0x1f))
Deleted: trunk/graphics/svgalib/files/patch-ak
===================================================================
--- trunk/graphics/svgalib/files/patch-ak 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ak 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,21 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/mouse/ms.c src/mouse/ms.c
---- svgalib-1.4.2.orig/src/mouse/ms.c Fri Aug 25 04:39:39 2000
-+++ src/mouse/ms.c Fri Aug 25 04:39:57 2000
-@@ -116,7 +116,7 @@
- tty.c_iflag = IGNBRK | IGNPAR;
- tty.c_oflag = 0;
- tty.c_lflag = 0;
-- tty.c_line = 0;
-+/* tty.c_line = 0;*/
- tty.c_cc[VTIME] = 0;
- tty.c_cc[VMIN] = 1;
-
-@@ -509,7 +509,7 @@
- tty.c_iflag = IGNBRK | IGNPAR;
- tty.c_oflag = 0;
- tty.c_lflag = 0;
-- tty.c_line = 0;
-+/* tty.c_line = 0;*/
- tty.c_cc[VTIME] = 0;
- tty.c_cc[VMIN] = 1;
- tty.c_cflag = cflag[m_type] | B1200;
Deleted: trunk/graphics/svgalib/files/patch-al
===================================================================
--- trunk/graphics/svgalib/files/patch-al 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-al 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
-diff -druN svgalib-1.4.2.orig/src/nv3.c src/nv3.c
---- svgalib-1.4.2.orig/src/nv3.c Fri Aug 25 04:39:39 2000
-+++ src/nv3.c Fri Aug 25 04:39:57 2000
-@@ -17,6 +17,7 @@
- #include <stdlib.h>
- #include <stdio.h> /* for printf */
- #include <string.h> /* for memset */
-+#include <sys/types.h>
- #include <sys/mman.h>
- #include <fcntl.h>
- #include <math.h>
Deleted: trunk/graphics/svgalib/files/patch-am
===================================================================
--- trunk/graphics/svgalib/files/patch-am 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-am 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,165 +0,0 @@
---- src/vga.c.orig Thu Jul 6 19:10:32 2000
-+++ src/vga.c Fri Sep 1 18:30:27 2000
-@@ -22,10 +22,10 @@
- #include <unistd.h>
- #include <stdarg.h>
- #include <sys/mman.h>
--#include <sys/kd.h>
-+#include <sys/kbio.h>
- #include <sys/ioctl.h>
- #include <sys/stat.h>
--#include <sys/vt.h>
-+#include <sys/consio.h>
- #include <sys/wait.h>
- #include <errno.h>
- #include <ctype.h>
-@@ -37,6 +37,22 @@
- #include "keyboard/vgakeyboard.h"
- #include "vgaregs.h"
-
-+int permfd = -1;
-+int ioperm(unsigned long from, unsigned long num, int on)
-+{
-+ if (permfd == -1)
-+ permfd = open("/dev/io", O_RDONLY);
-+ if (permfd != -1)
-+ return 0;
-+ else
-+ return 1;
-+}
-+
-+int iopl(int level)
-+{
-+ return ioperm(0, 0, 0);
-+}
-+
- #ifdef BACKGROUND
- #include "vgabg.h"
-
-@@ -745,7 +761,7 @@
- /* Leave keyboard alone when rawkeyboard is enabled! */
- if (__svgalib_kbd_fd < 0) {
- /* set graphics mode termio parameters */
-- ioctl(0, TCSETSW, &graph_termio);
-+ ioctl(0, TIOCSETAW, &graph_termio);
- }
- }
-
-@@ -755,7 +771,7 @@
- /* Leave keyboard alone when rawkeyboard is enabled! */
- if (__svgalib_kbd_fd < 0) {
- /* restore text mode termio parameters */
-- ioctl(0, TCSETSW, &text_termio);
-+ ioctl(0, TIOCSETAW, &text_termio);
- }
- }
-
-@@ -766,9 +782,9 @@
-
- /* Well, one could argue that sigint is not enabled at all when in __svgalib_nosigint
- but sometimes they *still* are enabled b4 graph_termio is set.. */
-- ioctl(0, TCGETS, &cur_termio);
-+ ioctl(0, TIOCGETA, &cur_termio);
- cur_termio.c_lflag &= ~ISIG;
-- ioctl(0, TCSETSW, &cur_termio);
-+ ioctl(0, TIOCSETAW, &cur_termio);
- }
-
-
-@@ -778,9 +794,9 @@
-
- if (__svgalib_nosigint) /* do not reenable, they are often reenabled by text_termio */
- return;
-- ioctl(0, TCGETS, &cur_termio);
-+ ioctl(0, TIOCGETA, &cur_termio);
- cur_termio.c_lflag |= ISIG;
-- ioctl(0, TCSETSW, &cur_termio);
-+ ioctl(0, TIOCSETAW, &cur_termio);
- }
-
- /* The following is rather messy and inelegant. The only solution I can */
-@@ -851,7 +867,7 @@
- if (!getuid())
- return 1; /* root can do it always */
- #endif
-- sprintf(fname, "/dev/tty%d", vc);
-+ sprintf(fname, "/dev/ttyv%x", vc - 1);
- if ((stat(fname, &sbuf) >= 0) && (getuid() == sbuf.st_uid)) {
- return 1;
- }
-@@ -862,7 +878,7 @@
- void __svgalib_open_devconsole(void)
- {
- struct vt_mode vtm;
-- struct vt_stat vts;
-+ int vts;
- struct stat sbuf;
- char fname[30];
-
-@@ -903,15 +919,15 @@
- goto error;
- if (svgalib_vc <= 0)
- goto error;
-- sprintf(fname, "/dev/tty%d", svgalib_vc);
-+ sprintf(fname, "/dev/ttyv%x", svgalib_vc - 1);
- close(__svgalib_tty_fd);
- /* change our control terminal: */
- setpgid(0,getppid());
- setsid();
- /* We must use RDWR to allow for output... */
- if (((__svgalib_tty_fd = open(fname, O_RDWR)) >= 0) &&
-- (ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts) >= 0)) {
-- if (!check_owner(vts.v_active))
-+ (ioctl(__svgalib_tty_fd, VT_GETACTIVE, &vts) >= 0)) {
-+ if (!check_owner(vts))
- goto error;
- /* success, redirect all stdios */
- if (DREP)
-@@ -928,8 +944,8 @@
- /* clear screen and switch to it */
- fwrite("\e[H\e[J", 6, 1, stderr);
- fflush(stderr);
-- if (svgalib_vc != vts.v_active) {
-- startup_vc = vts.v_active;
-+ if (svgalib_vc != vts) {
-+ startup_vc = vts;
- ioctl(__svgalib_tty_fd, VT_ACTIVATE, svgalib_vc);
- __svgalib_waitvtactive();
- }
-@@ -1240,7 +1256,7 @@
- SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
- SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
- SIGXCPU, SIGXFSZ, SIGVTALRM,
--/* SIGPROF ,*/ SIGPWR};
-+/* SIGPROF ,*/ SIGUSR1};
- static struct sigaction old_signal_handler[sizeof(sig2catch)];
-
- struct vt_mode __svgalib_oldvtmode;
-@@ -1822,15 +1838,15 @@
- #endif
-
- /* save text mode termio parameters */
-- ioctl(0, TCGETS, &text_termio);
-+ ioctl(0, TIOCGETA, &text_termio);
-
- graph_termio = text_termio;
-
- /* change termio parameters to allow our own I/O processing */
-- graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IUCLC | IXON | IXOFF);
-+ graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IXON | IXOFF);
- graph_termio.c_iflag |= (IGNBRK | IGNPAR);
-
-- graph_termio.c_oflag &= ~(ONOCR);
-+/* graph_termio.c_oflag &= ~(ONOCR);*/
-
- graph_termio.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHOK | ECHONL | NOFLSH);
- if (__svgalib_nosigint)
-@@ -3830,7 +3846,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);
Deleted: trunk/graphics/svgalib/files/patch-an
===================================================================
--- trunk/graphics/svgalib/files/patch-an 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-an 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,29 +0,0 @@
---- src/vgamisc.c.orig Tue Jul 27 19:36:19 1999
-+++ src/vgamisc.c Wed Aug 30 17:58:13 2000
-@@ -73,8 +73,8 @@
- return __svgalib_graph_mem;
- }
-
--#include <syscall.h>
--#include <linux/kernel.h>
-+#include <sys/types.h>
-+#include <sys/sysctl.h>
-
- int __svgalib_physmem(void)
- {
-@@ -82,10 +82,11 @@
- printf("__svgalib_physmem: are you sure you wanna do this??\n");
- return -1;
- #else
-- struct sysinfo si;
-- si.totalram = 0;
-- syscall(SYS_sysinfo, &si);
-- return si.totalram;
-+ int mem;
-+ int smem;
-+ smem = sizeof(mem);
-+ sysctlbyname("hw.physmem", &mem, &smem, NULL, 0);
-+ return mem;
- #endif
- }
-
Deleted: trunk/graphics/svgalib/files/patch-ao
===================================================================
--- trunk/graphics/svgalib/files/patch-ao 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ao 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,10 +0,0 @@
---- src/ark.c.orig Fri Aug 25 05:03:06 2000
-+++ src/ark.c Fri Aug 25 05:03:21 2000
-@@ -25,6 +25,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-+#include <sys/types.h>
- #include <sys/mman.h>
- #include <signal.h>
- #include "vga.h"
Deleted: trunk/graphics/svgalib/files/patch-ap
===================================================================
--- trunk/graphics/svgalib/files/patch-ap 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ap 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,20 +0,0 @@
---- utils/Makefile.orig Fri Aug 25 05:31:18 2000
-+++ utils/Makefile Fri Aug 25 05:31:23 2000
-@@ -15,7 +15,7 @@
-
- CFLAGS = $(WARN) $(OPTIMIZE) -I../include
- #Use the next one for the Alpha/AXP if you need it
--#LDFLAGS = -L../staticlib
-+LDFLAGS = -L../sharedlib
- LIBS = -lvga -lm
-
- #----------------------------------------------------------------------
-@@ -56,7 +56,7 @@
- $(INSTALLPROG) $(UTILPROGS) $(UTILINSTALLDIR)
-
- .depend:
-- gcc -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
-+ $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
-
- #
- # include a dependency file if one exists
Deleted: trunk/graphics/svgalib/files/patch-aq
===================================================================
--- trunk/graphics/svgalib/files/patch-aq 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-aq 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,19 +0,0 @@
---- gl/Makefile.orig Sun Jul 18 16:14:45 1999
-+++ gl/Makefile Sat Sep 30 20:27:36 2000
-@@ -23,7 +23,7 @@
- #----------------------------------------------------------------------
-
- MODULES = grlib.o driver.o line.o palette.o scale.o text.o font8x8.o \
-- cbitmap.o mem.o
-+ cbitmap.o mem.o cctext.o
-
- all: libvgagl.a
- .PHONY: all clean dep
-@@ -31,6 +31,7 @@
- libvgagl.so.$(VERSION): $(MODULES)
- $(CC) -s -shared -Wl,-soname,libvgagl.so.$(MAJOR_VER) -o libvgagl.so.$(VERSION) \
- $(MODULES)
-+ /bin/ln -sf libvgagl.so.$(MAJOR_VER) libvgagl.so
-
- libvgagl.a: $(MODULES)
- rm -f libvgagl.a
Deleted: trunk/graphics/svgalib/files/patch-ar
===================================================================
--- trunk/graphics/svgalib/files/patch-ar 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ar 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
---- demos/Makefile.orig Fri Aug 25 06:09:33 2000
-+++ demos/Makefile Fri Aug 25 06:09:50 2000
-@@ -29,7 +29,7 @@
-
- # Determine what library (static or shared) we will be linking programs with
- ifdef INSTALLSHAREDLIB
-- LIBS = -lvgagl -lvga
-+ LIBS = -L../sharedlib -lvgagl -lvga
- endif
- ifndef LIBS
- LIBS = ../staticlib/libvgagl.a ../staticlib/libvga.a -lm
Deleted: trunk/graphics/svgalib/files/patch-as
===================================================================
--- trunk/graphics/svgalib/files/patch-as 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-as 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,10 +0,0 @@
---- demos/accel.c.orig Fri Aug 25 06:13:16 2000
-+++ demos/accel.c Fri Aug 25 06:13:30 2000
-@@ -12,7 +12,6 @@
- #include <unistd.h>
- #include <time.h>
- #include <math.h>
--#include <alloca.h>
- #include <string.h>
- #include "vga.h"
- #include "vgagl.h"
Deleted: trunk/graphics/svgalib/files/patch-at
===================================================================
--- trunk/graphics/svgalib/files/patch-at 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-at 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
---- demos/forktest.c.orig Fri Aug 25 06:13:58 2000
-+++ demos/forktest.c Fri Aug 25 06:14:15 2000
-@@ -18,7 +18,7 @@
- SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
- SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
- SIGXCPU, SIGXFSZ, SIGVTALRM,
-- SIGPROF, SIGPWR};
-+ SIGPROF, SIGUSR1};
-
-
- static int newcolor(void)
Deleted: trunk/graphics/svgalib/files/patch-au
===================================================================
--- trunk/graphics/svgalib/files/patch-au 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-au 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,11 +0,0 @@
---- demos/linearfork.c.orig Fri Aug 25 06:14:48 2000
-+++ demos/linearfork.c Fri Aug 25 06:15:00 2000
-@@ -18,7 +18,7 @@
- SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
- SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
- SIGXCPU, SIGXFSZ, SIGVTALRM,
-- SIGPROF, SIGPWR};
-+ SIGPROF, SIGUSR1};
-
-
- static int newcolor(void)
Deleted: trunk/graphics/svgalib/files/patch-av
===================================================================
--- trunk/graphics/svgalib/files/patch-av 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-av 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,433 +0,0 @@
---- include/linux/keyboard.h.orig Fri Aug 25 22:09:01 2000
-+++ include/linux/keyboard.h Fri Aug 25 23:56:06 2000
-@@ -0,0 +1,430 @@
-+#ifndef __LINUX_KEYBOARD_H
-+#define __LINUX_KEYBOARD_H
-+
-+#define KG_SHIFT 0
-+#define KG_CTRL 2
-+#define KG_ALT 3
-+#define KG_ALTGR 1
-+#define KG_SHIFTL 4
-+#define KG_SHIFTR 5
-+#define KG_CTRLL 6
-+#define KG_CTRLR 7
-+#define KG_CAPSSHIFT 8
-+
-+#define NR_SHIFT 9
-+
-+#define NR_KEYS NUM_KEYS /* WAS: 128 */
-+#define MAX_NR_KEYMAPS NUM_STATES /* WAS: 256 */
-+/* This means 64Kb if all keymaps are allocated. Only the superuser
-+ may increase the number of keymaps beyond MAX_NR_OF_USER_KEYMAPS. */
-+#define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */
-+
-+#ifdef __KERNEL__
-+extern const int NR_TYPES;
-+extern const int max_vals[];
-+extern unsigned short *key_maps[MAX_NR_KEYMAPS];
-+extern unsigned short plain_map[NR_KEYS];
-+extern struct wait_queue * keypress_wait;
-+extern unsigned char keyboard_type;
-+#endif
-+
-+#define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
-+
-+#define KT_LATIN 0 /* we depend on this being zero */
-+#define KT_LETTER 11 /* symbol that can be acted upon by CapsLock */
-+#define KT_FN 1
-+#define KT_SPEC 2
-+#define KT_PAD 3
-+#define KT_DEAD 4
-+#define KT_CONS 5
-+#define KT_CUR 6
-+#define KT_SHIFT 7
-+#define KT_META 8
-+#define KT_ASCII 9
-+#define KT_LOCK 10
-+#define KT_SLOCK 12
-+
-+#define K(t,v) (((t)<<8)|(v))
-+#define KTYP(x) ((x) >> 8)
-+#define KVAL(x) ((x) & 0xff)
-+
-+#define K_F1 K(KT_FN,0)
-+#define K_F2 K(KT_FN,1)
-+#define K_F3 K(KT_FN,2)
-+#define K_F4 K(KT_FN,3)
-+#define K_F5 K(KT_FN,4)
-+#define K_F6 K(KT_FN,5)
-+#define K_F7 K(KT_FN,6)
-+#define K_F8 K(KT_FN,7)
-+#define K_F9 K(KT_FN,8)
-+#define K_F10 K(KT_FN,9)
-+#define K_F11 K(KT_FN,10)
-+#define K_F12 K(KT_FN,11)
-+#define K_F13 K(KT_FN,12)
-+#define K_F14 K(KT_FN,13)
-+#define K_F15 K(KT_FN,14)
-+#define K_F16 K(KT_FN,15)
-+#define K_F17 K(KT_FN,16)
-+#define K_F18 K(KT_FN,17)
-+#define K_F19 K(KT_FN,18)
-+#define K_F20 K(KT_FN,19)
-+#define K_FIND K(KT_FN,20)
-+#define K_INSERT K(KT_FN,21)
-+#define K_REMOVE K(KT_FN,22)
-+#define K_SELECT K(KT_FN,23)
-+#define K_PGUP K(KT_FN,24) /* PGUP is a synonym for PRIOR */
-+#define K_PGDN K(KT_FN,25) /* PGDN is a synonym for NEXT */
-+#define K_MACRO K(KT_FN,26)
-+#define K_HELP K(KT_FN,27)
-+#define K_DO K(KT_FN,28)
-+#define K_PAUSE K(KT_FN,29)
-+#define K_F21 K(KT_FN,30)
-+#define K_F22 K(KT_FN,31)
-+#define K_F23 K(KT_FN,32)
-+#define K_F24 K(KT_FN,33)
-+#define K_F25 K(KT_FN,34)
-+#define K_F26 K(KT_FN,35)
-+#define K_F27 K(KT_FN,36)
-+#define K_F28 K(KT_FN,37)
-+#define K_F29 K(KT_FN,38)
-+#define K_F30 K(KT_FN,39)
-+#define K_F31 K(KT_FN,40)
-+#define K_F32 K(KT_FN,41)
-+#define K_F33 K(KT_FN,42)
-+#define K_F34 K(KT_FN,43)
-+#define K_F35 K(KT_FN,44)
-+#define K_F36 K(KT_FN,45)
-+#define K_F37 K(KT_FN,46)
-+#define K_F38 K(KT_FN,47)
-+#define K_F39 K(KT_FN,48)
-+#define K_F40 K(KT_FN,49)
-+#define K_F41 K(KT_FN,50)
-+#define K_F42 K(KT_FN,51)
-+#define K_F43 K(KT_FN,52)
-+#define K_F44 K(KT_FN,53)
-+#define K_F45 K(KT_FN,54)
-+#define K_F46 K(KT_FN,55)
-+#define K_F47 K(KT_FN,56)
-+#define K_F48 K(KT_FN,57)
-+#define K_F49 K(KT_FN,58)
-+#define K_F50 K(KT_FN,59)
-+#define K_F51 K(KT_FN,60)
-+#define K_F52 K(KT_FN,61)
-+#define K_F53 K(KT_FN,62)
-+#define K_F54 K(KT_FN,63)
-+#define K_F55 K(KT_FN,64)
-+#define K_F56 K(KT_FN,65)
-+#define K_F57 K(KT_FN,66)
-+#define K_F58 K(KT_FN,67)
-+#define K_F59 K(KT_FN,68)
-+#define K_F60 K(KT_FN,69)
-+#define K_F61 K(KT_FN,70)
-+#define K_F62 K(KT_FN,71)
-+#define K_F63 K(KT_FN,72)
-+#define K_F64 K(KT_FN,73)
-+#define K_F65 K(KT_FN,74)
-+#define K_F66 K(KT_FN,75)
-+#define K_F67 K(KT_FN,76)
-+#define K_F68 K(KT_FN,77)
-+#define K_F69 K(KT_FN,78)
-+#define K_F70 K(KT_FN,79)
-+#define K_F71 K(KT_FN,80)
-+#define K_F72 K(KT_FN,81)
-+#define K_F73 K(KT_FN,82)
-+#define K_F74 K(KT_FN,83)
-+#define K_F75 K(KT_FN,84)
-+#define K_F76 K(KT_FN,85)
-+#define K_F77 K(KT_FN,86)
-+#define K_F78 K(KT_FN,87)
-+#define K_F79 K(KT_FN,88)
-+#define K_F80 K(KT_FN,89)
-+#define K_F81 K(KT_FN,90)
-+#define K_F82 K(KT_FN,91)
-+#define K_F83 K(KT_FN,92)
-+#define K_F84 K(KT_FN,93)
-+#define K_F85 K(KT_FN,94)
-+#define K_F86 K(KT_FN,95)
-+#define K_F87 K(KT_FN,96)
-+#define K_F88 K(KT_FN,97)
-+#define K_F89 K(KT_FN,98)
-+#define K_F90 K(KT_FN,99)
-+#define K_F91 K(KT_FN,100)
-+#define K_F92 K(KT_FN,101)
-+#define K_F93 K(KT_FN,102)
-+#define K_F94 K(KT_FN,103)
-+#define K_F95 K(KT_FN,104)
-+#define K_F96 K(KT_FN,105)
-+#define K_F97 K(KT_FN,106)
-+#define K_F98 K(KT_FN,107)
-+#define K_F99 K(KT_FN,108)
-+#define K_F100 K(KT_FN,109)
-+#define K_F101 K(KT_FN,110)
-+#define K_F102 K(KT_FN,111)
-+#define K_F103 K(KT_FN,112)
-+#define K_F104 K(KT_FN,113)
-+#define K_F105 K(KT_FN,114)
-+#define K_F106 K(KT_FN,115)
-+#define K_F107 K(KT_FN,116)
-+#define K_F108 K(KT_FN,117)
-+#define K_F109 K(KT_FN,118)
-+#define K_F110 K(KT_FN,119)
-+#define K_F111 K(KT_FN,120)
-+#define K_F112 K(KT_FN,121)
-+#define K_F113 K(KT_FN,122)
-+#define K_F114 K(KT_FN,123)
-+#define K_F115 K(KT_FN,124)
-+#define K_F116 K(KT_FN,125)
-+#define K_F117 K(KT_FN,126)
-+#define K_F118 K(KT_FN,127)
-+#define K_F119 K(KT_FN,128)
-+#define K_F120 K(KT_FN,129)
-+#define K_F121 K(KT_FN,130)
-+#define K_F122 K(KT_FN,131)
-+#define K_F123 K(KT_FN,132)
-+#define K_F124 K(KT_FN,133)
-+#define K_F125 K(KT_FN,134)
-+#define K_F126 K(KT_FN,135)
-+#define K_F127 K(KT_FN,136)
-+#define K_F128 K(KT_FN,137)
-+#define K_F129 K(KT_FN,138)
-+#define K_F130 K(KT_FN,139)
-+#define K_F131 K(KT_FN,140)
-+#define K_F132 K(KT_FN,141)
-+#define K_F133 K(KT_FN,142)
-+#define K_F134 K(KT_FN,143)
-+#define K_F135 K(KT_FN,144)
-+#define K_F136 K(KT_FN,145)
-+#define K_F137 K(KT_FN,146)
-+#define K_F138 K(KT_FN,147)
-+#define K_F139 K(KT_FN,148)
-+#define K_F140 K(KT_FN,149)
-+#define K_F141 K(KT_FN,150)
-+#define K_F142 K(KT_FN,151)
-+#define K_F143 K(KT_FN,152)
-+#define K_F144 K(KT_FN,153)
-+#define K_F145 K(KT_FN,154)
-+#define K_F146 K(KT_FN,155)
-+#define K_F147 K(KT_FN,156)
-+#define K_F148 K(KT_FN,157)
-+#define K_F149 K(KT_FN,158)
-+#define K_F150 K(KT_FN,159)
-+#define K_F151 K(KT_FN,160)
-+#define K_F152 K(KT_FN,161)
-+#define K_F153 K(KT_FN,162)
-+#define K_F154 K(KT_FN,163)
-+#define K_F155 K(KT_FN,164)
-+#define K_F156 K(KT_FN,165)
-+#define K_F157 K(KT_FN,166)
-+#define K_F158 K(KT_FN,167)
-+#define K_F159 K(KT_FN,168)
-+#define K_F160 K(KT_FN,169)
-+#define K_F161 K(KT_FN,170)
-+#define K_F162 K(KT_FN,171)
-+#define K_F163 K(KT_FN,172)
-+#define K_F164 K(KT_FN,173)
-+#define K_F165 K(KT_FN,174)
-+#define K_F166 K(KT_FN,175)
-+#define K_F167 K(KT_FN,176)
-+#define K_F168 K(KT_FN,177)
-+#define K_F169 K(KT_FN,178)
-+#define K_F170 K(KT_FN,179)
-+#define K_F171 K(KT_FN,180)
-+#define K_F172 K(KT_FN,181)
-+#define K_F173 K(KT_FN,182)
-+#define K_F174 K(KT_FN,183)
-+#define K_F175 K(KT_FN,184)
-+#define K_F176 K(KT_FN,185)
-+#define K_F177 K(KT_FN,186)
-+#define K_F178 K(KT_FN,187)
-+#define K_F179 K(KT_FN,188)
-+#define K_F180 K(KT_FN,189)
-+#define K_F181 K(KT_FN,190)
-+#define K_F182 K(KT_FN,191)
-+#define K_F183 K(KT_FN,192)
-+#define K_F184 K(KT_FN,193)
-+#define K_F185 K(KT_FN,194)
-+#define K_F186 K(KT_FN,195)
-+#define K_F187 K(KT_FN,196)
-+#define K_F188 K(KT_FN,197)
-+#define K_F189 K(KT_FN,198)
-+#define K_F190 K(KT_FN,199)
-+#define K_F191 K(KT_FN,200)
-+#define K_F192 K(KT_FN,201)
-+#define K_F193 K(KT_FN,202)
-+#define K_F194 K(KT_FN,203)
-+#define K_F195 K(KT_FN,204)
-+#define K_F196 K(KT_FN,205)
-+#define K_F197 K(KT_FN,206)
-+#define K_F198 K(KT_FN,207)
-+#define K_F199 K(KT_FN,208)
-+#define K_F200 K(KT_FN,209)
-+#define K_F201 K(KT_FN,210)
-+#define K_F202 K(KT_FN,211)
-+#define K_F203 K(KT_FN,212)
-+#define K_F204 K(KT_FN,213)
-+#define K_F205 K(KT_FN,214)
-+#define K_F206 K(KT_FN,215)
-+#define K_F207 K(KT_FN,216)
-+#define K_F208 K(KT_FN,217)
-+#define K_F209 K(KT_FN,218)
-+#define K_F210 K(KT_FN,219)
-+#define K_F211 K(KT_FN,220)
-+#define K_F212 K(KT_FN,221)
-+#define K_F213 K(KT_FN,222)
-+#define K_F214 K(KT_FN,223)
-+#define K_F215 K(KT_FN,224)
-+#define K_F216 K(KT_FN,225)
-+#define K_F217 K(KT_FN,226)
-+#define K_F218 K(KT_FN,227)
-+#define K_F219 K(KT_FN,228)
-+#define K_F220 K(KT_FN,229)
-+#define K_F221 K(KT_FN,230)
-+#define K_F222 K(KT_FN,231)
-+#define K_F223 K(KT_FN,232)
-+#define K_F224 K(KT_FN,233)
-+#define K_F225 K(KT_FN,234)
-+#define K_F226 K(KT_FN,235)
-+#define K_F227 K(KT_FN,236)
-+#define K_F228 K(KT_FN,237)
-+#define K_F229 K(KT_FN,238)
-+#define K_F230 K(KT_FN,239)
-+#define K_F231 K(KT_FN,240)
-+#define K_F232 K(KT_FN,241)
-+#define K_F233 K(KT_FN,242)
-+#define K_F234 K(KT_FN,243)
-+#define K_F235 K(KT_FN,244)
-+#define K_F236 K(KT_FN,245)
-+#define K_F237 K(KT_FN,246)
-+#define K_F238 K(KT_FN,247)
-+#define K_F239 K(KT_FN,248)
-+#define K_F240 K(KT_FN,249)
-+#define K_F241 K(KT_FN,250)
-+#define K_F242 K(KT_FN,251)
-+#define K_F243 K(KT_FN,252)
-+#define K_F244 K(KT_FN,253)
-+#define K_F245 K(KT_FN,254)
-+#define K_UNDO K(KT_FN,255)
-+
-+
-+#define K_HOLE K(KT_SPEC,0)
-+#define K_ENTER K(KT_SPEC,1)
-+#define K_SH_REGS K(KT_SPEC,2)
-+#define K_SH_MEM K(KT_SPEC,3)
-+#define K_SH_STAT K(KT_SPEC,4)
-+#define K_BREAK K(KT_SPEC,5)
-+#define K_CONS K(KT_SPEC,6)
-+#define K_CAPS K(KT_SPEC,7)
-+#define K_NUM K(KT_SPEC,8)
-+#define K_HOLD K(KT_SPEC,9)
-+#define K_SCROLLFORW K(KT_SPEC,10)
-+#define K_SCROLLBACK K(KT_SPEC,11)
-+#define K_BOOT K(KT_SPEC,12)
-+#define K_CAPSON K(KT_SPEC,13)
-+#define K_COMPOSE K(KT_SPEC,14)
-+#define K_SAK K(KT_SPEC,15)
-+#define K_DECRCONSOLE K(KT_SPEC,16)
-+#define K_INCRCONSOLE K(KT_SPEC,17)
-+#define K_SPAWNCONSOLE K(KT_SPEC,18)
-+#define K_BARENUMLOCK K(KT_SPEC,19)
-+
-+#define K_ALLOCATED K(KT_SPEC,126) /* dynamically allocated keymap */
-+#define K_NOSUCHMAP K(KT_SPEC,127) /* returned by KDGKBENT */
-+
-+#define K_P0 K(KT_PAD,0)
-+#define K_P1 K(KT_PAD,1)
-+#define K_P2 K(KT_PAD,2)
-+#define K_P3 K(KT_PAD,3)
-+#define K_P4 K(KT_PAD,4)
-+#define K_P5 K(KT_PAD,5)
-+#define K_P6 K(KT_PAD,6)
-+#define K_P7 K(KT_PAD,7)
-+#define K_P8 K(KT_PAD,8)
-+#define K_P9 K(KT_PAD,9)
-+#define K_PPLUS K(KT_PAD,10) /* key-pad plus */
-+#define K_PMINUS K(KT_PAD,11) /* key-pad minus */
-+#define K_PSTAR K(KT_PAD,12) /* key-pad asterisk (star) */
-+#define K_PSLASH K(KT_PAD,13) /* key-pad slash */
-+#define K_PENTER K(KT_PAD,14) /* key-pad enter */
-+#define K_PCOMMA K(KT_PAD,15) /* key-pad comma: kludge... */
-+#define K_PDOT K(KT_PAD,16) /* key-pad dot (period): kludge... */
-+#define K_PPLUSMINUS K(KT_PAD,17) /* key-pad plus/minus */
-+#define K_PPARENL K(KT_PAD,18) /* key-pad left parenthesis */
-+#define K_PPARENR K(KT_PAD,19) /* key-pad right parenthesis */
-+
-+#define NR_PAD 20
-+
-+#define K_DGRAVE K(KT_DEAD,0)
-+#define K_DACUTE K(KT_DEAD,1)
-+#define K_DCIRCM K(KT_DEAD,2)
-+#define K_DTILDE K(KT_DEAD,3)
-+#define K_DDIERE K(KT_DEAD,4)
-+#define K_DCEDIL K(KT_DEAD,5)
-+
-+#define NR_DEAD 6
-+
-+#define K_DOWN K(KT_CUR,0)
-+#define K_LEFT K(KT_CUR,1)
-+#define K_RIGHT K(KT_CUR,2)
-+#define K_UP K(KT_CUR,3)
-+
-+#define K_SHIFT K(KT_SHIFT,KG_SHIFT)
-+#define K_CTRL K(KT_SHIFT,KG_CTRL)
-+#define K_ALT K(KT_SHIFT,KG_ALT)
-+#define K_ALTGR K(KT_SHIFT,KG_ALTGR)
-+#define K_SHIFTL K(KT_SHIFT,KG_SHIFTL)
-+#define K_SHIFTR K(KT_SHIFT,KG_SHIFTR)
-+#define K_CTRLL K(KT_SHIFT,KG_CTRLL)
-+#define K_CTRLR K(KT_SHIFT,KG_CTRLR)
-+#define K_CAPSSHIFT K(KT_SHIFT,KG_CAPSSHIFT)
-+
-+#define K_ASC0 K(KT_ASCII,0)
-+#define K_ASC1 K(KT_ASCII,1)
-+#define K_ASC2 K(KT_ASCII,2)
-+#define K_ASC3 K(KT_ASCII,3)
-+#define K_ASC4 K(KT_ASCII,4)
-+#define K_ASC5 K(KT_ASCII,5)
-+#define K_ASC6 K(KT_ASCII,6)
-+#define K_ASC7 K(KT_ASCII,7)
-+#define K_ASC8 K(KT_ASCII,8)
-+#define K_ASC9 K(KT_ASCII,9)
-+#define K_HEX0 K(KT_ASCII,10)
-+#define K_HEX1 K(KT_ASCII,11)
-+#define K_HEX2 K(KT_ASCII,12)
-+#define K_HEX3 K(KT_ASCII,13)
-+#define K_HEX4 K(KT_ASCII,14)
-+#define K_HEX5 K(KT_ASCII,15)
-+#define K_HEX6 K(KT_ASCII,16)
-+#define K_HEX7 K(KT_ASCII,17)
-+#define K_HEX8 K(KT_ASCII,18)
-+#define K_HEX9 K(KT_ASCII,19)
-+#define K_HEXa K(KT_ASCII,20)
-+#define K_HEXb K(KT_ASCII,21)
-+#define K_HEXc K(KT_ASCII,22)
-+#define K_HEXd K(KT_ASCII,23)
-+#define K_HEXe K(KT_ASCII,24)
-+#define K_HEXf K(KT_ASCII,25)
-+
-+#define NR_ASCII 26
-+
-+#define K_SHIFTLOCK K(KT_LOCK,KG_SHIFT)
-+#define K_CTRLLOCK K(KT_LOCK,KG_CTRL)
-+#define K_ALTLOCK K(KT_LOCK,KG_ALT)
-+#define K_ALTGRLOCK K(KT_LOCK,KG_ALTGR)
-+#define K_SHIFTLLOCK K(KT_LOCK,KG_SHIFTL)
-+#define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR)
-+#define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL)
-+#define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR)
-+
-+#define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT)
-+#define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL)
-+#define K_ALT_SLOCK K(KT_SLOCK,KG_ALT)
-+#define K_ALTGR_SLOCK K(KT_SLOCK,KG_ALTGR)
-+#define K_SHIFTL_SLOCK K(KT_SLOCK,KG_SHIFTL)
-+#define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR)
-+#define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL)
-+#define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR)
-+
-+#define NR_LOCK 8
-+
-+#define MAX_DIACR 256
-+#endif
Deleted: trunk/graphics/svgalib/files/patch-aw
===================================================================
--- trunk/graphics/svgalib/files/patch-aw 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-aw 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,5 +0,0 @@
---- /dev/null Fri Aug 25 22:02:50 2000
-+++ include/linux/kd.h Fri Aug 25 22:05:02 2000
-@@ -0,0 +1,2 @@
-+#include <sys/consio.h>
-+#include <sys/kbio.h>
Deleted: trunk/graphics/svgalib/files/patch-ax
===================================================================
--- trunk/graphics/svgalib/files/patch-ax 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ax 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,51 +0,0 @@
---- src/keyboard/vgakeyboard.h 2000/08/30 16:11:47 1.1
-+++ src/keyboard/vgakeyboard.h 2000/08/30 16:26:15
-@@ -120,28 +120,28 @@
- #define SCANCODE_F11 87
- #define SCANCODE_F12 88
-
--#define SCANCODE_KEYPADENTER 96
--#define SCANCODE_RIGHTCONTROL 97
--#define SCANCODE_CONTROL 97
--#define SCANCODE_KEYPADDIVIDE 98
--#define SCANCODE_PRINTSCREEN 99
--#define SCANCODE_RIGHTALT 100
--#define SCANCODE_BREAK 101 /* Beware: is 119 */
--#define SCANCODE_BREAK_ALTERNATIVE 119 /* on some keyboards! */
-+#define SCANCODE_KEYPADENTER 89
-+#define SCANCODE_RIGHTCONTROL 90
-+#define SCANCODE_CONTROL 107
-+#define SCANCODE_KEYPADDIVIDE 91
-+#define SCANCODE_PRINTSCREEN 92
-+#define SCANCODE_RIGHTALT 93
-+#define SCANCODE_BREAK 104 /* Beware: is 119 */
-+#define SCANCODE_BREAK_ALTERNATIVE 104 /* on some keyboards! */
-
--#define SCANCODE_HOME 102
--#define SCANCODE_CURSORBLOCKUP 103 /* Cursor key block */
--#define SCANCODE_PAGEUP 104
--#define SCANCODE_CURSORBLOCKLEFT 105 /* Cursor key block */
--#define SCANCODE_CURSORBLOCKRIGHT 106 /* Cursor key block */
--#define SCANCODE_END 107
--#define SCANCODE_CURSORBLOCKDOWN 108 /* Cursor key block */
--#define SCANCODE_PAGEDOWN 109
--#define SCANCODE_INSERT 110
--#define SCANCODE_REMOVE 111
-+#define SCANCODE_HOME 94
-+#define SCANCODE_CURSORBLOCKUP 95 /* Cursor key block */
-+#define SCANCODE_PAGEUP 96
-+#define SCANCODE_CURSORBLOCKLEFT 97 /* Cursor key block */
-+#define SCANCODE_CURSORBLOCKRIGHT 98 /* Cursor key block */
-+#define SCANCODE_END 99
-+#define SCANCODE_CURSORBLOCKDOWN 100 /* Cursor key block */
-+#define SCANCODE_PAGEDOWN 101
-+#define SCANCODE_INSERT 102
-+#define SCANCODE_REMOVE 103
-
--#define SCANCODE_RIGHTWIN 126
--#define SCANCODE_LEFTWIN 125
-+#define SCANCODE_RIGHTWIN 106
-+#define SCANCODE_LEFTWIN 105
-
- #define KEY_EVENTRELEASE 0
- #define KEY_EVENTPRESS 1
Deleted: trunk/graphics/svgalib/files/patch-ay
===================================================================
--- trunk/graphics/svgalib/files/patch-ay 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-ay 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,325 +0,0 @@
---- gl/cctext.c.orig Sat Sep 30 20:48:05 2000
-+++ gl/cctext.c Mon Sep 20 23:00:19 1999
-@@ -0,0 +1,322 @@
-+/* Framebuffer Graphics Libary for Linux,
-+ * Copyright 1998 Wei Yongming
-+ * This code is based on partially Harm Hanemaayer's work.
-+ */
-+/* cctext.c Chinese (two-byte) Character text writing and fonts */
-+
-+
-+#include <stdlib.h>
-+#include <stdio.h>
-+#include <stdarg.h>
-+#include <vga.h>
-+#include "inlstring.h" /* include inline string operations */
-+
-+#include "vgagl.h"
-+#include "def.h"
-+
-+
-+/* CCText/font functions */
-+// The default font matrics values.
-+static int afont_width = 8;
-+static int cfont_width = 16;
-+static int font_height = 16;
-+static char *afont_address;
-+static char *cfont_address;
-+static int afont_charsize = 128;
-+static int cfont_charsize = 256;
-+// The writemode of cc font is always COMPRESSED.
-+static int font_writemode = WRITEMODE_OVERWRITE;
-+static int compressed_font_bg = 0;
-+static int compressed_font_fg = 15;
-+
-+void gl_setccfont(int afw, int cfw, int fh, void *afont, void* cfont)
-+{
-+ afont_width = afw;
-+ cfont_width = cfw;
-+ font_height = fh;
-+ afont_charsize = afont_width * font_height * BYTESPERPIXEL;
-+ cfont_charsize = cfont_width * font_height * BYTESPERPIXEL;
-+ afont_address = afont;
-+ cfont_address = cfont;
-+}
-+
-+void gl_setccwritemode(int m)
-+{
-+ font_writemode = m;
-+}
-+
-+void gl_setccfontcolors(int bg, int fg)
-+{
-+ compressed_font_bg = bg;
-+ compressed_font_fg = fg;
-+}
-+
-+static int getnextchar(char* s, uchar* cc)
-+{
-+ if( s[0] == '\0') return 0;
-+
-+ cc[0] = (unsigned char)(*s);
-+ cc[1] = (unsigned char)(*(s + 1));
-+
-+ if( ((unsigned char)cc[0] > 0xa0) && ((unsigned char)cc[1] > 0xa0) )
-+ return 1;
-+
-+ cc[1] = '\0';
-+
-+ return 1;
-+}
-+
-+static void expandcchar(int bg, int fg, uchar* c, unsigned char *bitmap)
-+{
-+ int x, y;
-+ int c1, c2;
-+ unsigned char *font;
-+ int b = 0; /* keep gcc happy with b = 0 - MW */
-+
-+ c1 = c[0];
-+ c2 = c[1];
-+
-+ font = cfont_address + ((c1 - 161)*94 + c2 - 161) *
-+ (font_height * ((cfont_width + 7) / 8));
-+
-+ for (y = 0; y < font_height; y++)
-+ for (x = 0; x < cfont_width; x++) {
-+ if (x % 8 == 0)
-+ b = *font++;
-+ if (b & (128 >> (x % 8))) /* pixel */
-+ switch (BYTESPERPIXEL) {
-+ case 1:
-+ *bitmap = fg;
-+ bitmap++;
-+ break;
-+ case 2:
-+ *(ushort *) bitmap = fg;
-+ bitmap += 2;
-+ break;
-+ case 3:
-+ *(ushort *) bitmap = fg;
-+ *(bitmap + 2) = fg >> 16;
-+ bitmap += 3;
-+ break;
-+ case 4:
-+ *(uint *) bitmap = fg;
-+ bitmap += 4;
-+ } else /* background pixel */
-+ switch (BYTESPERPIXEL) {
-+ case 1:
-+ *bitmap = bg;
-+ bitmap++;
-+ break;
-+ case 2:
-+ *(ushort *) bitmap = bg;
-+ bitmap += 2;
-+ break;
-+ case 3:
-+ *(ushort *) bitmap = bg;
-+ *(bitmap + 2) = bg;
-+ bitmap += 3;
-+ break;
-+ case 4:
-+ *(uint *) bitmap = bg;
-+ bitmap += 4;
-+ }
-+ }
-+}
-+
-+static void expandchar(int bg, int fg, int c, unsigned char *bitmap)
-+{
-+ int x, y;
-+ unsigned char *font;
-+ int b = 0; /* keep gcc happy with b = 0 - MW */
-+
-+ font = afont_address + c * (font_height * ((afont_width + 7) / 8));
-+
-+ for (y = 0; y < font_height; y++)
-+ for (x = 0; x < afont_width; x++) {
-+ if (x % 8 == 0)
-+ b = *font++;
-+ if (b & (128 >> (x % 8))) /* pixel */
-+ switch (BYTESPERPIXEL) {
-+ case 1:
-+ *bitmap = fg;
-+ bitmap++;
-+ break;
-+ case 2:
-+ *(ushort *) bitmap = fg;
-+ bitmap += 2;
-+ break;
-+ case 3:
-+ *(ushort *) bitmap = fg;
-+ *(bitmap + 2) = fg >> 16;
-+ bitmap += 3;
-+ break;
-+ case 4:
-+ *(uint *) bitmap = fg;
-+ bitmap += 4;
-+ } else /* background pixel */
-+ switch (BYTESPERPIXEL) {
-+ case 1:
-+ *bitmap = bg;
-+ bitmap++;
-+ break;
-+ case 2:
-+ *(ushort *) bitmap = bg;
-+ bitmap += 2;
-+ break;
-+ case 3:
-+ *(ushort *) bitmap = bg;
-+ *(bitmap + 2) = bg;
-+ bitmap += 3;
-+ break;
-+ case 4:
-+ *(uint *) bitmap = bg;
-+ bitmap += 4;
-+ }
-+ }
-+}
-+
-+/* Write using compressed font. */
-+
-+void gl_ccwrite(int x, int y, char* s)
-+{
-+ unsigned char *bitmap;
-+ uchar cc[2];
-+
-+ bitmap = (unsigned char *)alloca(cfont_width * font_height * BYTESPERPIXEL);
-+ if( !(font_writemode & WRITEMODE_MASKED) ) {
-+ while( getnextchar(s, cc) ) {
-+ if( cc[1] != '\0') {
-+ expandcchar(compressed_font_bg, compressed_font_fg,
-+ cc, bitmap);
-+ gl_putbox(x, y, cfont_width, font_height, bitmap);
-+ s += 2;
-+ x += cfont_width;
-+ }
-+ else {
-+ expandchar(compressed_font_bg, compressed_font_fg,
-+ cc[0], bitmap);
-+ gl_putbox(x, y, afont_width, font_height, bitmap);
-+ s += 1;
-+ x += afont_width;
-+ }
-+ }
-+ }
-+ else { // masked write.
-+ while( getnextchar(s, cc) ) {
-+ if( cc[1] != '\0') {
-+ expandcchar(0, compressed_font_fg,
-+ cc, bitmap);
-+ gl_putboxmask(x, y, cfont_width, font_height, bitmap);
-+ s += 2;
-+ x += cfont_width;
-+ }
-+ else {
-+ expandchar(0, compressed_font_fg,
-+ cc[0], bitmap);
-+ gl_putboxmask(x, y, afont_width, font_height, bitmap);
-+ s += 1;
-+ x += afont_width;
-+ }
-+ }
-+ }
-+}
-+
-+void gl_ccwriten(int x, int y, int n, char *s)
-+{
-+ char *str = alloca(n + 1);
-+ memcpy(str, s, n);
-+ str[n] = 0;
-+ gl_ccwrite(x, y, str);
-+}
-+
-+#ifndef SVGA_AOUT
-+
-+static int ccnprintf(int sx, int sy,
-+ size_t bufs, const char *fmt, va_list args)
-+{
-+ char *buf;
-+ static int x = 0, y = 0, x_start = 0;
-+ int n;
-+
-+ buf = alloca(bufs);
-+ n = vsnprintf(buf, bufs, fmt, args);
-+ if (n < 0)
-+ return n; /* buffer did not suffice, return and retry */
-+
-+ if ((sx >= 0) && (sy >= 0)) {
-+ x = x_start = sx;
-+ y = sy;
-+ }
-+
-+ for (; *buf; buf++)
-+ switch (*buf) {
-+ case '\a': /* badly implemented */
-+ fputc('\a', stdout);
-+ fflush(stdout);
-+ break;
-+ case '\b':
-+ x -= afont_width;
-+ if (x < x_start) {
-+ x = WIDTH + (x_start % afont_width);
-+ while(x + afont_width > WIDTH)
-+ x -= afont_width;
-+ if (y >= font_height)
-+ y -= font_height;
-+ }
-+ break;
-+ case '\n':
-+ newline:
-+ y += font_height;
-+ if (y + font_height > HEIGHT)
-+ y %= font_height;
-+ case '\r':
-+ x = x_start;
-+ break;
-+ case '\t':
-+ x += ((TEXT_TABSIZE -
-+ ((x - x_start) / afont_width) % TEXT_TABSIZE) * afont_width);
-+ goto chk_wrap;
-+ break;
-+ case '\v':
-+ y += font_height;
-+ if (y + font_height > HEIGHT)
-+ y %= font_height;
-+ break;
-+ default:
-+ if( ((unsigned char)(*buf) > 0xa0)
-+ && ((unsigned char)(*(buf + 1)) > 0xa0)) {
-+ gl_ccwriten(x, y, 2, buf);
-+ buf += 1;
-+ x += cfont_width;
-+ }
-+ else {
-+ gl_ccwriten(x, y, 1, buf);
-+ x += afont_width;
-+ }
-+ chk_wrap:
-+ if (x + afont_width > WIDTH)
-+ goto newline;
-+ }
-+ return n;
-+}
-+
-+int gl_ccprintf(int x, int y, const char *fmt, ...)
-+{
-+ size_t bufs = BUFSIZ;
-+ int result;
-+ va_list args;
-+
-+ va_start(args, fmt);
-+
-+ /* Loop until buffer size suffices */
-+ do {
-+ result = ccnprintf(x, y, bufs, fmt, args);
-+ bufs <<= 1;
-+ } while(result < 0);
-+
-+ va_end(args);
-+ return result;
-+}
-+
-+#endif
-+
Deleted: trunk/graphics/svgalib/files/patch-az
===================================================================
--- trunk/graphics/svgalib/files/patch-az 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-az 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,20 +0,0 @@
---- src/config/libvga.config.orig Mon Mar 1 20:34:52 2004
-+++ src/config/libvga.config Mon Mar 1 20:35:32 2004
-@@ -31,7 +31,7 @@
- # mouse DRMOUSE4DS# Digital Research double-wheeled mouse
- # mouse none# None
-
--mouse Microsoft
-+mouse gpm
-
- # Mouse/keyboard customisation by 101 (Attila Lendvai). If you have any good
- # ideas you can reach me at 101 at kempelen.inf.bme.hu
-@@ -101,7 +101,7 @@
- # However, esp. with the Spacetec Spaceball you may
- # want to specify a different device for svgalib to use
-
--# mdev /dev/ttyS0 # mouse is at /dev/ttyS0
-+mdev /dev/sysmouse
-
- # Some multiprotocol mice will need one of the following:
-
Added: trunk/graphics/svgalib/files/patch-demos-Makefile
===================================================================
--- trunk/graphics/svgalib/files/patch-demos-Makefile (rev 0)
+++ trunk/graphics/svgalib/files/patch-demos-Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,11 @@
+--- demos/Makefile.orig Fri Aug 25 06:09:33 2000
++++ demos/Makefile Fri Aug 25 06:09:50 2000
+@@ -29,7 +29,7 @@
+
+ # Determine what library (static or shared) we will be linking programs with
+ ifdef INSTALLSHAREDLIB
+- LIBS = -lvgagl -lvga
++ LIBS = -L../sharedlib -lvgagl -lvga
+ endif
+ ifndef LIBS
+ LIBS = ../staticlib/libvgagl.a ../staticlib/libvga.a -lm
Added: trunk/graphics/svgalib/files/patch-demos-accel.c
===================================================================
--- trunk/graphics/svgalib/files/patch-demos-accel.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-demos-accel.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,10 @@
+--- demos/accel.c.orig Fri Aug 25 06:13:16 2000
++++ demos/accel.c Fri Aug 25 06:13:30 2000
+@@ -12,7 +12,6 @@
+ #include <unistd.h>
+ #include <time.h>
+ #include <math.h>
+-#include <alloca.h>
+ #include <string.h>
+ #include "vga.h"
+ #include "vgagl.h"
Added: trunk/graphics/svgalib/files/patch-demos-forktest.c
===================================================================
--- trunk/graphics/svgalib/files/patch-demos-forktest.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-demos-forktest.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,11 @@
+--- demos/forktest.c.orig Fri Aug 25 06:13:58 2000
++++ demos/forktest.c Fri Aug 25 06:14:15 2000
+@@ -18,7 +18,7 @@
+ SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
+ SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
+ SIGXCPU, SIGXFSZ, SIGVTALRM,
+- SIGPROF, SIGPWR};
++ SIGPROF, SIGUSR1};
+
+
+ static int newcolor(void)
Added: trunk/graphics/svgalib/files/patch-demos-linearfork.c
===================================================================
--- trunk/graphics/svgalib/files/patch-demos-linearfork.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-demos-linearfork.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,11 @@
+--- demos/linearfork.c.orig Fri Aug 25 06:14:48 2000
++++ demos/linearfork.c Fri Aug 25 06:15:00 2000
+@@ -18,7 +18,7 @@
+ SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
+ SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
+ SIGXCPU, SIGXFSZ, SIGVTALRM,
+- SIGPROF, SIGPWR};
++ SIGPROF, SIGUSR1};
+
+
+ static int newcolor(void)
Added: trunk/graphics/svgalib/files/patch-gl-Makefile
===================================================================
--- trunk/graphics/svgalib/files/patch-gl-Makefile (rev 0)
+++ trunk/graphics/svgalib/files/patch-gl-Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,19 @@
+--- gl/Makefile.orig Sun Jul 18 16:14:45 1999
++++ gl/Makefile Sat Sep 30 20:27:36 2000
+@@ -23,7 +23,7 @@
+ #----------------------------------------------------------------------
+
+ MODULES = grlib.o driver.o line.o palette.o scale.o text.o font8x8.o \
+- cbitmap.o mem.o
++ cbitmap.o mem.o cctext.o
+
+ all: libvgagl.a
+ .PHONY: all clean dep
+@@ -31,6 +31,7 @@
+ libvgagl.so.$(VERSION): $(MODULES)
+ $(CC) -s -shared -Wl,-soname,libvgagl.so.$(MAJOR_VER) -o libvgagl.so.$(VERSION) \
+ $(MODULES)
++ /bin/ln -sf libvgagl.so.$(MAJOR_VER) libvgagl.so
+
+ libvgagl.a: $(MODULES)
+ rm -f libvgagl.a
Added: trunk/graphics/svgalib/files/patch-gl-cctext.c
===================================================================
--- trunk/graphics/svgalib/files/patch-gl-cctext.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-gl-cctext.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,325 @@
+--- gl/cctext.c.orig Sat Sep 30 20:48:05 2000
++++ gl/cctext.c Mon Sep 20 23:00:19 1999
+@@ -0,0 +1,322 @@
++/* Framebuffer Graphics Libary for Linux,
++ * Copyright 1998 Wei Yongming
++ * This code is based on partially Harm Hanemaayer's work.
++ */
++/* cctext.c Chinese (two-byte) Character text writing and fonts */
++
++
++#include <stdlib.h>
++#include <stdio.h>
++#include <stdarg.h>
++#include <vga.h>
++#include "inlstring.h" /* include inline string operations */
++
++#include "vgagl.h"
++#include "def.h"
++
++
++/* CCText/font functions */
++// The default font matrics values.
++static int afont_width = 8;
++static int cfont_width = 16;
++static int font_height = 16;
++static char *afont_address;
++static char *cfont_address;
++static int afont_charsize = 128;
++static int cfont_charsize = 256;
++// The writemode of cc font is always COMPRESSED.
++static int font_writemode = WRITEMODE_OVERWRITE;
++static int compressed_font_bg = 0;
++static int compressed_font_fg = 15;
++
++void gl_setccfont(int afw, int cfw, int fh, void *afont, void* cfont)
++{
++ afont_width = afw;
++ cfont_width = cfw;
++ font_height = fh;
++ afont_charsize = afont_width * font_height * BYTESPERPIXEL;
++ cfont_charsize = cfont_width * font_height * BYTESPERPIXEL;
++ afont_address = afont;
++ cfont_address = cfont;
++}
++
++void gl_setccwritemode(int m)
++{
++ font_writemode = m;
++}
++
++void gl_setccfontcolors(int bg, int fg)
++{
++ compressed_font_bg = bg;
++ compressed_font_fg = fg;
++}
++
++static int getnextchar(char* s, uchar* cc)
++{
++ if( s[0] == '\0') return 0;
++
++ cc[0] = (unsigned char)(*s);
++ cc[1] = (unsigned char)(*(s + 1));
++
++ if( ((unsigned char)cc[0] > 0xa0) && ((unsigned char)cc[1] > 0xa0) )
++ return 1;
++
++ cc[1] = '\0';
++
++ return 1;
++}
++
++static void expandcchar(int bg, int fg, uchar* c, unsigned char *bitmap)
++{
++ int x, y;
++ int c1, c2;
++ unsigned char *font;
++ int b = 0; /* keep gcc happy with b = 0 - MW */
++
++ c1 = c[0];
++ c2 = c[1];
++
++ font = cfont_address + ((c1 - 161)*94 + c2 - 161) *
++ (font_height * ((cfont_width + 7) / 8));
++
++ for (y = 0; y < font_height; y++)
++ for (x = 0; x < cfont_width; x++) {
++ if (x % 8 == 0)
++ b = *font++;
++ if (b & (128 >> (x % 8))) /* pixel */
++ switch (BYTESPERPIXEL) {
++ case 1:
++ *bitmap = fg;
++ bitmap++;
++ break;
++ case 2:
++ *(ushort *) bitmap = fg;
++ bitmap += 2;
++ break;
++ case 3:
++ *(ushort *) bitmap = fg;
++ *(bitmap + 2) = fg >> 16;
++ bitmap += 3;
++ break;
++ case 4:
++ *(uint *) bitmap = fg;
++ bitmap += 4;
++ } else /* background pixel */
++ switch (BYTESPERPIXEL) {
++ case 1:
++ *bitmap = bg;
++ bitmap++;
++ break;
++ case 2:
++ *(ushort *) bitmap = bg;
++ bitmap += 2;
++ break;
++ case 3:
++ *(ushort *) bitmap = bg;
++ *(bitmap + 2) = bg;
++ bitmap += 3;
++ break;
++ case 4:
++ *(uint *) bitmap = bg;
++ bitmap += 4;
++ }
++ }
++}
++
++static void expandchar(int bg, int fg, int c, unsigned char *bitmap)
++{
++ int x, y;
++ unsigned char *font;
++ int b = 0; /* keep gcc happy with b = 0 - MW */
++
++ font = afont_address + c * (font_height * ((afont_width + 7) / 8));
++
++ for (y = 0; y < font_height; y++)
++ for (x = 0; x < afont_width; x++) {
++ if (x % 8 == 0)
++ b = *font++;
++ if (b & (128 >> (x % 8))) /* pixel */
++ switch (BYTESPERPIXEL) {
++ case 1:
++ *bitmap = fg;
++ bitmap++;
++ break;
++ case 2:
++ *(ushort *) bitmap = fg;
++ bitmap += 2;
++ break;
++ case 3:
++ *(ushort *) bitmap = fg;
++ *(bitmap + 2) = fg >> 16;
++ bitmap += 3;
++ break;
++ case 4:
++ *(uint *) bitmap = fg;
++ bitmap += 4;
++ } else /* background pixel */
++ switch (BYTESPERPIXEL) {
++ case 1:
++ *bitmap = bg;
++ bitmap++;
++ break;
++ case 2:
++ *(ushort *) bitmap = bg;
++ bitmap += 2;
++ break;
++ case 3:
++ *(ushort *) bitmap = bg;
++ *(bitmap + 2) = bg;
++ bitmap += 3;
++ break;
++ case 4:
++ *(uint *) bitmap = bg;
++ bitmap += 4;
++ }
++ }
++}
++
++/* Write using compressed font. */
++
++void gl_ccwrite(int x, int y, char* s)
++{
++ unsigned char *bitmap;
++ uchar cc[2];
++
++ bitmap = (unsigned char *)alloca(cfont_width * font_height * BYTESPERPIXEL);
++ if( !(font_writemode & WRITEMODE_MASKED) ) {
++ while( getnextchar(s, cc) ) {
++ if( cc[1] != '\0') {
++ expandcchar(compressed_font_bg, compressed_font_fg,
++ cc, bitmap);
++ gl_putbox(x, y, cfont_width, font_height, bitmap);
++ s += 2;
++ x += cfont_width;
++ }
++ else {
++ expandchar(compressed_font_bg, compressed_font_fg,
++ cc[0], bitmap);
++ gl_putbox(x, y, afont_width, font_height, bitmap);
++ s += 1;
++ x += afont_width;
++ }
++ }
++ }
++ else { // masked write.
++ while( getnextchar(s, cc) ) {
++ if( cc[1] != '\0') {
++ expandcchar(0, compressed_font_fg,
++ cc, bitmap);
++ gl_putboxmask(x, y, cfont_width, font_height, bitmap);
++ s += 2;
++ x += cfont_width;
++ }
++ else {
++ expandchar(0, compressed_font_fg,
++ cc[0], bitmap);
++ gl_putboxmask(x, y, afont_width, font_height, bitmap);
++ s += 1;
++ x += afont_width;
++ }
++ }
++ }
++}
++
++void gl_ccwriten(int x, int y, int n, char *s)
++{
++ char *str = alloca(n + 1);
++ memcpy(str, s, n);
++ str[n] = 0;
++ gl_ccwrite(x, y, str);
++}
++
++#ifndef SVGA_AOUT
++
++static int ccnprintf(int sx, int sy,
++ size_t bufs, const char *fmt, va_list args)
++{
++ char *buf;
++ static int x = 0, y = 0, x_start = 0;
++ int n;
++
++ buf = alloca(bufs);
++ n = vsnprintf(buf, bufs, fmt, args);
++ if (n < 0)
++ return n; /* buffer did not suffice, return and retry */
++
++ if ((sx >= 0) && (sy >= 0)) {
++ x = x_start = sx;
++ y = sy;
++ }
++
++ for (; *buf; buf++)
++ switch (*buf) {
++ case '\a': /* badly implemented */
++ fputc('\a', stdout);
++ fflush(stdout);
++ break;
++ case '\b':
++ x -= afont_width;
++ if (x < x_start) {
++ x = WIDTH + (x_start % afont_width);
++ while(x + afont_width > WIDTH)
++ x -= afont_width;
++ if (y >= font_height)
++ y -= font_height;
++ }
++ break;
++ case '\n':
++ newline:
++ y += font_height;
++ if (y + font_height > HEIGHT)
++ y %= font_height;
++ case '\r':
++ x = x_start;
++ break;
++ case '\t':
++ x += ((TEXT_TABSIZE -
++ ((x - x_start) / afont_width) % TEXT_TABSIZE) * afont_width);
++ goto chk_wrap;
++ break;
++ case '\v':
++ y += font_height;
++ if (y + font_height > HEIGHT)
++ y %= font_height;
++ break;
++ default:
++ if( ((unsigned char)(*buf) > 0xa0)
++ && ((unsigned char)(*(buf + 1)) > 0xa0)) {
++ gl_ccwriten(x, y, 2, buf);
++ buf += 1;
++ x += cfont_width;
++ }
++ else {
++ gl_ccwriten(x, y, 1, buf);
++ x += afont_width;
++ }
++ chk_wrap:
++ if (x + afont_width > WIDTH)
++ goto newline;
++ }
++ return n;
++}
++
++int gl_ccprintf(int x, int y, const char *fmt, ...)
++{
++ size_t bufs = BUFSIZ;
++ int result;
++ va_list args;
++
++ va_start(args, fmt);
++
++ /* Loop until buffer size suffices */
++ do {
++ result = ccnprintf(x, y, bufs, fmt, args);
++ bufs <<= 1;
++ } while(result < 0);
++
++ va_end(args);
++ return result;
++}
++
++#endif
++
Added: trunk/graphics/svgalib/files/patch-gl-inlstring.h
===================================================================
--- trunk/graphics/svgalib/files/patch-gl-inlstring.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-gl-inlstring.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,10 @@
+--- gl/inlstring.h.orig Fri Aug 25 05:11:26 2000
++++ gl/inlstring.h Fri Aug 25 05:11:36 2000
+@@ -1,6 +1,6 @@
+ /* Based on functions in linux/string.h */
+
+-#include <linux/types.h> /* for size_t */
++#include <sys/types.h> /* for size_t */
+
+ #if defined(__alpha__) || defined (NO_ASSEMBLY)
+
Deleted: trunk/graphics/svgalib/files/patch-gl::driver.c
===================================================================
--- trunk/graphics/svgalib/files/patch-gl::driver.c 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-gl::driver.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,29 +0,0 @@
---- gl/driver.c.orig 1999-07-18 10:18:44.000000000 +0200
-+++ gl/driver.c 2013-01-26 21:34:27.000000000 +0100
-@@ -1,6 +1,7 @@
- /* driver.c Framebuffer primitives */
-
-
-+#include <sys/endian.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-@@ -33,17 +34,7 @@ static inline int RGB2BGR(int c)
- /* However bswap is not supported by 386 */
-
- if (MODEFLAGS & MODEFLAG_24BPP_REVERSED)
--#ifdef __alpha__
-- c = ((c >> 0) & 0xff) << 16 |
-- ((c >> 8) & 0xff) << 8 |
-- ((c >> 16) & 0xff) << 0;
--#else
-- asm("rorw $8, %0\n" /* 0RGB -> 0RBG */
-- "rorl $16, %0\n" /* 0RBG -> BG0R */
-- "rorw $8, %0\n" /* BG0R -> BGR0 */
-- "shrl $8, %0\n" /* 0BGR -> 0BGR */
-- : "=q"(c):"0"(c));
--#endif
-+ c = bswap32(c) >> 8;
- return c;
- }
-
Deleted: trunk/graphics/svgalib/files/patch-gl::line.c
===================================================================
--- trunk/graphics/svgalib/files/patch-gl::line.c 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-gl::line.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,23 +0,0 @@
---- gl/line.c.orig 1999-12-05 08:32:54.000000000 +0100
-+++ gl/line.c 2013-01-26 21:25:52.000000000 +0100
-@@ -90,13 +90,13 @@ static inline int gl_regioncode (int x,
-
- #else
-
--#define INC_IF_NEG(y, result) \
--{ \
-- __asm__("btl $31,%1\n\t" \
-- "adcl $0,%0" \
-- : "=r" ((int) result) \
-- : "rm" ((int) (y)), "0" ((int) result) \
-- ); \
-+#define INC_IF_NEG(y, result) \
-+{ \
-+ __asm__("btl $31,%1\n\t" \
-+ "adcl $0,%0" \
-+ : "=r" (result) \
-+ : "rm" (y), "0" (result) \
-+ ); \
- }
-
- static inline int gl_regioncode (int x, int y)
Added: trunk/graphics/svgalib/files/patch-gl__driver.c
===================================================================
--- trunk/graphics/svgalib/files/patch-gl__driver.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-gl__driver.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,29 @@
+--- gl/driver.c.orig 1999-07-18 10:18:44.000000000 +0200
++++ gl/driver.c 2013-01-26 21:34:27.000000000 +0100
+@@ -1,6 +1,7 @@
+ /* driver.c Framebuffer primitives */
+
+
++#include <sys/endian.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -33,17 +34,7 @@ static inline int RGB2BGR(int c)
+ /* However bswap is not supported by 386 */
+
+ if (MODEFLAGS & MODEFLAG_24BPP_REVERSED)
+-#ifdef __alpha__
+- c = ((c >> 0) & 0xff) << 16 |
+- ((c >> 8) & 0xff) << 8 |
+- ((c >> 16) & 0xff) << 0;
+-#else
+- asm("rorw $8, %0\n" /* 0RGB -> 0RBG */
+- "rorl $16, %0\n" /* 0RBG -> BG0R */
+- "rorw $8, %0\n" /* BG0R -> BGR0 */
+- "shrl $8, %0\n" /* 0BGR -> 0BGR */
+- : "=q"(c):"0"(c));
+-#endif
++ c = bswap32(c) >> 8;
+ return c;
+ }
+
Added: trunk/graphics/svgalib/files/patch-gl__line.c
===================================================================
--- trunk/graphics/svgalib/files/patch-gl__line.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-gl__line.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,23 @@
+--- gl/line.c.orig 1999-12-05 08:32:54.000000000 +0100
++++ gl/line.c 2013-01-26 21:25:52.000000000 +0100
+@@ -90,13 +90,13 @@ static inline int gl_regioncode (int x,
+
+ #else
+
+-#define INC_IF_NEG(y, result) \
+-{ \
+- __asm__("btl $31,%1\n\t" \
+- "adcl $0,%0" \
+- : "=r" ((int) result) \
+- : "rm" ((int) (y)), "0" ((int) result) \
+- ); \
++#define INC_IF_NEG(y, result) \
++{ \
++ __asm__("btl $31,%1\n\t" \
++ "adcl $0,%0" \
++ : "=r" (result) \
++ : "rm" (y), "0" (result) \
++ ); \
+ }
+
+ static inline int gl_regioncode (int x, int y)
Added: trunk/graphics/svgalib/files/patch-include-linux-kd.h
===================================================================
--- trunk/graphics/svgalib/files/patch-include-linux-kd.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-include-linux-kd.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,5 @@
+--- /dev/null Fri Aug 25 22:02:50 2000
++++ include/linux/kd.h Fri Aug 25 22:05:02 2000
+@@ -0,0 +1,2 @@
++#include <sys/consio.h>
++#include <sys/kbio.h>
Added: trunk/graphics/svgalib/files/patch-include-linux-keyboard.h
===================================================================
--- trunk/graphics/svgalib/files/patch-include-linux-keyboard.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-include-linux-keyboard.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,433 @@
+--- include/linux/keyboard.h.orig Fri Aug 25 22:09:01 2000
++++ include/linux/keyboard.h Fri Aug 25 23:56:06 2000
+@@ -0,0 +1,430 @@
++#ifndef __LINUX_KEYBOARD_H
++#define __LINUX_KEYBOARD_H
++
++#define KG_SHIFT 0
++#define KG_CTRL 2
++#define KG_ALT 3
++#define KG_ALTGR 1
++#define KG_SHIFTL 4
++#define KG_SHIFTR 5
++#define KG_CTRLL 6
++#define KG_CTRLR 7
++#define KG_CAPSSHIFT 8
++
++#define NR_SHIFT 9
++
++#define NR_KEYS NUM_KEYS /* WAS: 128 */
++#define MAX_NR_KEYMAPS NUM_STATES /* WAS: 256 */
++/* This means 64Kb if all keymaps are allocated. Only the superuser
++ may increase the number of keymaps beyond MAX_NR_OF_USER_KEYMAPS. */
++#define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */
++
++#ifdef __KERNEL__
++extern const int NR_TYPES;
++extern const int max_vals[];
++extern unsigned short *key_maps[MAX_NR_KEYMAPS];
++extern unsigned short plain_map[NR_KEYS];
++extern struct wait_queue * keypress_wait;
++extern unsigned char keyboard_type;
++#endif
++
++#define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
++
++#define KT_LATIN 0 /* we depend on this being zero */
++#define KT_LETTER 11 /* symbol that can be acted upon by CapsLock */
++#define KT_FN 1
++#define KT_SPEC 2
++#define KT_PAD 3
++#define KT_DEAD 4
++#define KT_CONS 5
++#define KT_CUR 6
++#define KT_SHIFT 7
++#define KT_META 8
++#define KT_ASCII 9
++#define KT_LOCK 10
++#define KT_SLOCK 12
++
++#define K(t,v) (((t)<<8)|(v))
++#define KTYP(x) ((x) >> 8)
++#define KVAL(x) ((x) & 0xff)
++
++#define K_F1 K(KT_FN,0)
++#define K_F2 K(KT_FN,1)
++#define K_F3 K(KT_FN,2)
++#define K_F4 K(KT_FN,3)
++#define K_F5 K(KT_FN,4)
++#define K_F6 K(KT_FN,5)
++#define K_F7 K(KT_FN,6)
++#define K_F8 K(KT_FN,7)
++#define K_F9 K(KT_FN,8)
++#define K_F10 K(KT_FN,9)
++#define K_F11 K(KT_FN,10)
++#define K_F12 K(KT_FN,11)
++#define K_F13 K(KT_FN,12)
++#define K_F14 K(KT_FN,13)
++#define K_F15 K(KT_FN,14)
++#define K_F16 K(KT_FN,15)
++#define K_F17 K(KT_FN,16)
++#define K_F18 K(KT_FN,17)
++#define K_F19 K(KT_FN,18)
++#define K_F20 K(KT_FN,19)
++#define K_FIND K(KT_FN,20)
++#define K_INSERT K(KT_FN,21)
++#define K_REMOVE K(KT_FN,22)
++#define K_SELECT K(KT_FN,23)
++#define K_PGUP K(KT_FN,24) /* PGUP is a synonym for PRIOR */
++#define K_PGDN K(KT_FN,25) /* PGDN is a synonym for NEXT */
++#define K_MACRO K(KT_FN,26)
++#define K_HELP K(KT_FN,27)
++#define K_DO K(KT_FN,28)
++#define K_PAUSE K(KT_FN,29)
++#define K_F21 K(KT_FN,30)
++#define K_F22 K(KT_FN,31)
++#define K_F23 K(KT_FN,32)
++#define K_F24 K(KT_FN,33)
++#define K_F25 K(KT_FN,34)
++#define K_F26 K(KT_FN,35)
++#define K_F27 K(KT_FN,36)
++#define K_F28 K(KT_FN,37)
++#define K_F29 K(KT_FN,38)
++#define K_F30 K(KT_FN,39)
++#define K_F31 K(KT_FN,40)
++#define K_F32 K(KT_FN,41)
++#define K_F33 K(KT_FN,42)
++#define K_F34 K(KT_FN,43)
++#define K_F35 K(KT_FN,44)
++#define K_F36 K(KT_FN,45)
++#define K_F37 K(KT_FN,46)
++#define K_F38 K(KT_FN,47)
++#define K_F39 K(KT_FN,48)
++#define K_F40 K(KT_FN,49)
++#define K_F41 K(KT_FN,50)
++#define K_F42 K(KT_FN,51)
++#define K_F43 K(KT_FN,52)
++#define K_F44 K(KT_FN,53)
++#define K_F45 K(KT_FN,54)
++#define K_F46 K(KT_FN,55)
++#define K_F47 K(KT_FN,56)
++#define K_F48 K(KT_FN,57)
++#define K_F49 K(KT_FN,58)
++#define K_F50 K(KT_FN,59)
++#define K_F51 K(KT_FN,60)
++#define K_F52 K(KT_FN,61)
++#define K_F53 K(KT_FN,62)
++#define K_F54 K(KT_FN,63)
++#define K_F55 K(KT_FN,64)
++#define K_F56 K(KT_FN,65)
++#define K_F57 K(KT_FN,66)
++#define K_F58 K(KT_FN,67)
++#define K_F59 K(KT_FN,68)
++#define K_F60 K(KT_FN,69)
++#define K_F61 K(KT_FN,70)
++#define K_F62 K(KT_FN,71)
++#define K_F63 K(KT_FN,72)
++#define K_F64 K(KT_FN,73)
++#define K_F65 K(KT_FN,74)
++#define K_F66 K(KT_FN,75)
++#define K_F67 K(KT_FN,76)
++#define K_F68 K(KT_FN,77)
++#define K_F69 K(KT_FN,78)
++#define K_F70 K(KT_FN,79)
++#define K_F71 K(KT_FN,80)
++#define K_F72 K(KT_FN,81)
++#define K_F73 K(KT_FN,82)
++#define K_F74 K(KT_FN,83)
++#define K_F75 K(KT_FN,84)
++#define K_F76 K(KT_FN,85)
++#define K_F77 K(KT_FN,86)
++#define K_F78 K(KT_FN,87)
++#define K_F79 K(KT_FN,88)
++#define K_F80 K(KT_FN,89)
++#define K_F81 K(KT_FN,90)
++#define K_F82 K(KT_FN,91)
++#define K_F83 K(KT_FN,92)
++#define K_F84 K(KT_FN,93)
++#define K_F85 K(KT_FN,94)
++#define K_F86 K(KT_FN,95)
++#define K_F87 K(KT_FN,96)
++#define K_F88 K(KT_FN,97)
++#define K_F89 K(KT_FN,98)
++#define K_F90 K(KT_FN,99)
++#define K_F91 K(KT_FN,100)
++#define K_F92 K(KT_FN,101)
++#define K_F93 K(KT_FN,102)
++#define K_F94 K(KT_FN,103)
++#define K_F95 K(KT_FN,104)
++#define K_F96 K(KT_FN,105)
++#define K_F97 K(KT_FN,106)
++#define K_F98 K(KT_FN,107)
++#define K_F99 K(KT_FN,108)
++#define K_F100 K(KT_FN,109)
++#define K_F101 K(KT_FN,110)
++#define K_F102 K(KT_FN,111)
++#define K_F103 K(KT_FN,112)
++#define K_F104 K(KT_FN,113)
++#define K_F105 K(KT_FN,114)
++#define K_F106 K(KT_FN,115)
++#define K_F107 K(KT_FN,116)
++#define K_F108 K(KT_FN,117)
++#define K_F109 K(KT_FN,118)
++#define K_F110 K(KT_FN,119)
++#define K_F111 K(KT_FN,120)
++#define K_F112 K(KT_FN,121)
++#define K_F113 K(KT_FN,122)
++#define K_F114 K(KT_FN,123)
++#define K_F115 K(KT_FN,124)
++#define K_F116 K(KT_FN,125)
++#define K_F117 K(KT_FN,126)
++#define K_F118 K(KT_FN,127)
++#define K_F119 K(KT_FN,128)
++#define K_F120 K(KT_FN,129)
++#define K_F121 K(KT_FN,130)
++#define K_F122 K(KT_FN,131)
++#define K_F123 K(KT_FN,132)
++#define K_F124 K(KT_FN,133)
++#define K_F125 K(KT_FN,134)
++#define K_F126 K(KT_FN,135)
++#define K_F127 K(KT_FN,136)
++#define K_F128 K(KT_FN,137)
++#define K_F129 K(KT_FN,138)
++#define K_F130 K(KT_FN,139)
++#define K_F131 K(KT_FN,140)
++#define K_F132 K(KT_FN,141)
++#define K_F133 K(KT_FN,142)
++#define K_F134 K(KT_FN,143)
++#define K_F135 K(KT_FN,144)
++#define K_F136 K(KT_FN,145)
++#define K_F137 K(KT_FN,146)
++#define K_F138 K(KT_FN,147)
++#define K_F139 K(KT_FN,148)
++#define K_F140 K(KT_FN,149)
++#define K_F141 K(KT_FN,150)
++#define K_F142 K(KT_FN,151)
++#define K_F143 K(KT_FN,152)
++#define K_F144 K(KT_FN,153)
++#define K_F145 K(KT_FN,154)
++#define K_F146 K(KT_FN,155)
++#define K_F147 K(KT_FN,156)
++#define K_F148 K(KT_FN,157)
++#define K_F149 K(KT_FN,158)
++#define K_F150 K(KT_FN,159)
++#define K_F151 K(KT_FN,160)
++#define K_F152 K(KT_FN,161)
++#define K_F153 K(KT_FN,162)
++#define K_F154 K(KT_FN,163)
++#define K_F155 K(KT_FN,164)
++#define K_F156 K(KT_FN,165)
++#define K_F157 K(KT_FN,166)
++#define K_F158 K(KT_FN,167)
++#define K_F159 K(KT_FN,168)
++#define K_F160 K(KT_FN,169)
++#define K_F161 K(KT_FN,170)
++#define K_F162 K(KT_FN,171)
++#define K_F163 K(KT_FN,172)
++#define K_F164 K(KT_FN,173)
++#define K_F165 K(KT_FN,174)
++#define K_F166 K(KT_FN,175)
++#define K_F167 K(KT_FN,176)
++#define K_F168 K(KT_FN,177)
++#define K_F169 K(KT_FN,178)
++#define K_F170 K(KT_FN,179)
++#define K_F171 K(KT_FN,180)
++#define K_F172 K(KT_FN,181)
++#define K_F173 K(KT_FN,182)
++#define K_F174 K(KT_FN,183)
++#define K_F175 K(KT_FN,184)
++#define K_F176 K(KT_FN,185)
++#define K_F177 K(KT_FN,186)
++#define K_F178 K(KT_FN,187)
++#define K_F179 K(KT_FN,188)
++#define K_F180 K(KT_FN,189)
++#define K_F181 K(KT_FN,190)
++#define K_F182 K(KT_FN,191)
++#define K_F183 K(KT_FN,192)
++#define K_F184 K(KT_FN,193)
++#define K_F185 K(KT_FN,194)
++#define K_F186 K(KT_FN,195)
++#define K_F187 K(KT_FN,196)
++#define K_F188 K(KT_FN,197)
++#define K_F189 K(KT_FN,198)
++#define K_F190 K(KT_FN,199)
++#define K_F191 K(KT_FN,200)
++#define K_F192 K(KT_FN,201)
++#define K_F193 K(KT_FN,202)
++#define K_F194 K(KT_FN,203)
++#define K_F195 K(KT_FN,204)
++#define K_F196 K(KT_FN,205)
++#define K_F197 K(KT_FN,206)
++#define K_F198 K(KT_FN,207)
++#define K_F199 K(KT_FN,208)
++#define K_F200 K(KT_FN,209)
++#define K_F201 K(KT_FN,210)
++#define K_F202 K(KT_FN,211)
++#define K_F203 K(KT_FN,212)
++#define K_F204 K(KT_FN,213)
++#define K_F205 K(KT_FN,214)
++#define K_F206 K(KT_FN,215)
++#define K_F207 K(KT_FN,216)
++#define K_F208 K(KT_FN,217)
++#define K_F209 K(KT_FN,218)
++#define K_F210 K(KT_FN,219)
++#define K_F211 K(KT_FN,220)
++#define K_F212 K(KT_FN,221)
++#define K_F213 K(KT_FN,222)
++#define K_F214 K(KT_FN,223)
++#define K_F215 K(KT_FN,224)
++#define K_F216 K(KT_FN,225)
++#define K_F217 K(KT_FN,226)
++#define K_F218 K(KT_FN,227)
++#define K_F219 K(KT_FN,228)
++#define K_F220 K(KT_FN,229)
++#define K_F221 K(KT_FN,230)
++#define K_F222 K(KT_FN,231)
++#define K_F223 K(KT_FN,232)
++#define K_F224 K(KT_FN,233)
++#define K_F225 K(KT_FN,234)
++#define K_F226 K(KT_FN,235)
++#define K_F227 K(KT_FN,236)
++#define K_F228 K(KT_FN,237)
++#define K_F229 K(KT_FN,238)
++#define K_F230 K(KT_FN,239)
++#define K_F231 K(KT_FN,240)
++#define K_F232 K(KT_FN,241)
++#define K_F233 K(KT_FN,242)
++#define K_F234 K(KT_FN,243)
++#define K_F235 K(KT_FN,244)
++#define K_F236 K(KT_FN,245)
++#define K_F237 K(KT_FN,246)
++#define K_F238 K(KT_FN,247)
++#define K_F239 K(KT_FN,248)
++#define K_F240 K(KT_FN,249)
++#define K_F241 K(KT_FN,250)
++#define K_F242 K(KT_FN,251)
++#define K_F243 K(KT_FN,252)
++#define K_F244 K(KT_FN,253)
++#define K_F245 K(KT_FN,254)
++#define K_UNDO K(KT_FN,255)
++
++
++#define K_HOLE K(KT_SPEC,0)
++#define K_ENTER K(KT_SPEC,1)
++#define K_SH_REGS K(KT_SPEC,2)
++#define K_SH_MEM K(KT_SPEC,3)
++#define K_SH_STAT K(KT_SPEC,4)
++#define K_BREAK K(KT_SPEC,5)
++#define K_CONS K(KT_SPEC,6)
++#define K_CAPS K(KT_SPEC,7)
++#define K_NUM K(KT_SPEC,8)
++#define K_HOLD K(KT_SPEC,9)
++#define K_SCROLLFORW K(KT_SPEC,10)
++#define K_SCROLLBACK K(KT_SPEC,11)
++#define K_BOOT K(KT_SPEC,12)
++#define K_CAPSON K(KT_SPEC,13)
++#define K_COMPOSE K(KT_SPEC,14)
++#define K_SAK K(KT_SPEC,15)
++#define K_DECRCONSOLE K(KT_SPEC,16)
++#define K_INCRCONSOLE K(KT_SPEC,17)
++#define K_SPAWNCONSOLE K(KT_SPEC,18)
++#define K_BARENUMLOCK K(KT_SPEC,19)
++
++#define K_ALLOCATED K(KT_SPEC,126) /* dynamically allocated keymap */
++#define K_NOSUCHMAP K(KT_SPEC,127) /* returned by KDGKBENT */
++
++#define K_P0 K(KT_PAD,0)
++#define K_P1 K(KT_PAD,1)
++#define K_P2 K(KT_PAD,2)
++#define K_P3 K(KT_PAD,3)
++#define K_P4 K(KT_PAD,4)
++#define K_P5 K(KT_PAD,5)
++#define K_P6 K(KT_PAD,6)
++#define K_P7 K(KT_PAD,7)
++#define K_P8 K(KT_PAD,8)
++#define K_P9 K(KT_PAD,9)
++#define K_PPLUS K(KT_PAD,10) /* key-pad plus */
++#define K_PMINUS K(KT_PAD,11) /* key-pad minus */
++#define K_PSTAR K(KT_PAD,12) /* key-pad asterisk (star) */
++#define K_PSLASH K(KT_PAD,13) /* key-pad slash */
++#define K_PENTER K(KT_PAD,14) /* key-pad enter */
++#define K_PCOMMA K(KT_PAD,15) /* key-pad comma: kludge... */
++#define K_PDOT K(KT_PAD,16) /* key-pad dot (period): kludge... */
++#define K_PPLUSMINUS K(KT_PAD,17) /* key-pad plus/minus */
++#define K_PPARENL K(KT_PAD,18) /* key-pad left parenthesis */
++#define K_PPARENR K(KT_PAD,19) /* key-pad right parenthesis */
++
++#define NR_PAD 20
++
++#define K_DGRAVE K(KT_DEAD,0)
++#define K_DACUTE K(KT_DEAD,1)
++#define K_DCIRCM K(KT_DEAD,2)
++#define K_DTILDE K(KT_DEAD,3)
++#define K_DDIERE K(KT_DEAD,4)
++#define K_DCEDIL K(KT_DEAD,5)
++
++#define NR_DEAD 6
++
++#define K_DOWN K(KT_CUR,0)
++#define K_LEFT K(KT_CUR,1)
++#define K_RIGHT K(KT_CUR,2)
++#define K_UP K(KT_CUR,3)
++
++#define K_SHIFT K(KT_SHIFT,KG_SHIFT)
++#define K_CTRL K(KT_SHIFT,KG_CTRL)
++#define K_ALT K(KT_SHIFT,KG_ALT)
++#define K_ALTGR K(KT_SHIFT,KG_ALTGR)
++#define K_SHIFTL K(KT_SHIFT,KG_SHIFTL)
++#define K_SHIFTR K(KT_SHIFT,KG_SHIFTR)
++#define K_CTRLL K(KT_SHIFT,KG_CTRLL)
++#define K_CTRLR K(KT_SHIFT,KG_CTRLR)
++#define K_CAPSSHIFT K(KT_SHIFT,KG_CAPSSHIFT)
++
++#define K_ASC0 K(KT_ASCII,0)
++#define K_ASC1 K(KT_ASCII,1)
++#define K_ASC2 K(KT_ASCII,2)
++#define K_ASC3 K(KT_ASCII,3)
++#define K_ASC4 K(KT_ASCII,4)
++#define K_ASC5 K(KT_ASCII,5)
++#define K_ASC6 K(KT_ASCII,6)
++#define K_ASC7 K(KT_ASCII,7)
++#define K_ASC8 K(KT_ASCII,8)
++#define K_ASC9 K(KT_ASCII,9)
++#define K_HEX0 K(KT_ASCII,10)
++#define K_HEX1 K(KT_ASCII,11)
++#define K_HEX2 K(KT_ASCII,12)
++#define K_HEX3 K(KT_ASCII,13)
++#define K_HEX4 K(KT_ASCII,14)
++#define K_HEX5 K(KT_ASCII,15)
++#define K_HEX6 K(KT_ASCII,16)
++#define K_HEX7 K(KT_ASCII,17)
++#define K_HEX8 K(KT_ASCII,18)
++#define K_HEX9 K(KT_ASCII,19)
++#define K_HEXa K(KT_ASCII,20)
++#define K_HEXb K(KT_ASCII,21)
++#define K_HEXc K(KT_ASCII,22)
++#define K_HEXd K(KT_ASCII,23)
++#define K_HEXe K(KT_ASCII,24)
++#define K_HEXf K(KT_ASCII,25)
++
++#define NR_ASCII 26
++
++#define K_SHIFTLOCK K(KT_LOCK,KG_SHIFT)
++#define K_CTRLLOCK K(KT_LOCK,KG_CTRL)
++#define K_ALTLOCK K(KT_LOCK,KG_ALT)
++#define K_ALTGRLOCK K(KT_LOCK,KG_ALTGR)
++#define K_SHIFTLLOCK K(KT_LOCK,KG_SHIFTL)
++#define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR)
++#define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL)
++#define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR)
++
++#define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT)
++#define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL)
++#define K_ALT_SLOCK K(KT_SLOCK,KG_ALT)
++#define K_ALTGR_SLOCK K(KT_SLOCK,KG_ALTGR)
++#define K_SHIFTL_SLOCK K(KT_SLOCK,KG_SHIFTL)
++#define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR)
++#define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL)
++#define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR)
++
++#define NR_LOCK 8
++
++#define MAX_DIACR 256
++#endif
Added: trunk/graphics/svgalib/files/patch-src-Makefile
===================================================================
--- trunk/graphics/svgalib/files/patch-src-Makefile (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,37 @@
+--- src/Makefile.orig Thu Jul 6 19:10:58 2000
++++ src/Makefile Fri Aug 25 05:15:15 2000
+@@ -14,7 +14,7 @@
+ # Compiler Section (overrides Makefile.cfg)
+ #----------------------------------------------------------------------
+
+-INCLUDES += -I$(srcdir)/src
++INCLUDES += -I$(srcdir)/src -I$(srcdir)/src/config
+
+ #----------------------------------------------------------------------
+ # Rules Section
+@@ -361,6 +361,7 @@
+ libvga.so.$(VERSION): $(ALLOBJS)
+ $(CC) -s -shared -Wl,-soname,libvga.so.$(MAJOR_VER) \
+ -o libvga.so.$(VERSION) $(ALLOBJS) -lm
++ /bin/ln -sf libvga.so.$(VERSION) libvga.so
+
+ $(sharedlibdir)/libvga.so.$(VERSION): libvga.so.$(VERSION)
+ $(INSTALL_PROGRAM) $< $(sharedlibdir)/$<
+@@ -375,7 +376,7 @@
+ $(AR) rcs libvga.a $(ALLOBJS)
+
+ libvgagl.a: FORCE
+- make -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)"
++ $(MAKE) -f $(srcdir)/gl/Makefile $@ srcdir="$(srcdir)" DLLFLAGS="$(DLLFLAGS)"
+
+ vga.o: vga.c
+ $(CC) $(CFLAGS) $(VGA_DEFINES) -c -o $@ $<
+@@ -397,7 +398,7 @@
+
+ dep:
+ rm -f .depend.src
+- make .depend.src
++ $(MAKE) .depend.src
+
+ .depend.src:
+ echo '# Module dependencies' >>.depend.src
Added: trunk/graphics/svgalib/files/patch-src-ark.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-ark.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-ark.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,10 @@
+--- src/ark.c.orig Fri Aug 25 05:03:06 2000
++++ src/ark.c Fri Aug 25 05:03:21 2000
+@@ -25,6 +25,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #include <signal.h>
+ #include "vga.h"
Added: trunk/graphics/svgalib/files/patch-src-config-libvga.config
===================================================================
--- trunk/graphics/svgalib/files/patch-src-config-libvga.config (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-config-libvga.config 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,20 @@
+--- src/config/libvga.config.orig Mon Mar 1 20:34:52 2004
++++ src/config/libvga.config Mon Mar 1 20:35:32 2004
+@@ -31,7 +31,7 @@
+ # mouse DRMOUSE4DS# Digital Research double-wheeled mouse
+ # mouse none# None
+
+-mouse Microsoft
++mouse gpm
+
+ # Mouse/keyboard customisation by 101 (Attila Lendvai). If you have any good
+ # ideas you can reach me at 101 at kempelen.inf.bme.hu
+@@ -101,7 +101,7 @@
+ # However, esp. with the Spacetec Spaceball you may
+ # want to specify a different device for svgalib to use
+
+-# mdev /dev/ttyS0 # mouse is at /dev/ttyS0
++mdev /dev/sysmouse
+
+ # Some multiprotocol mice will need one of the following:
+
Added: trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_1
===================================================================
--- trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_1 (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_1 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,12 @@
+diff -druN svgalib-1.4.2.orig/src/joystick/joydev.h src/joystick/joydev.h
+--- svgalib-1.4.2.orig/src/joystick/joydev.h Fri Aug 25 04:39:39 2000
++++ src/joystick/joydev.h Fri Aug 25 04:39:57 2000
+@@ -1,6 +1,6 @@
+-#include <linux/version.h>
++/*#include <linux/version.h>*/
+
+-#if ( LINUX_VESION_CODE >= 131584)
++#if 0 /*( LINUX_VESION_CODE >= 131584) */
+ #include <linux/joystick.h>
+ #else
+ /* Joystick interface modeled after svgalibs keyboard and mouse interfaces
Added: trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_2
===================================================================
--- trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_2 (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-joystick-joydev.h_2 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,12 @@
+diff -druN svgalib-1.4.2.orig/src/et6000.c src/et6000.c
+--- svgalib-1.4.2.orig/src/et6000.c Fri Aug 25 04:39:39 2000
++++ src/et6000.c Fri Aug 25 04:39:57 2000
+@@ -10,7 +10,7 @@
+ #include "vga.h"
+ #include "libvga.h"
+ #include "driver.h"
+-#include <linux/pci.h>
++/*#include <linux/pci.h>*/
+ #include "timing.h"
+ #include "interface.h"
+ #include "vgaregs.h"
Added: trunk/graphics/svgalib/files/patch-src-keyboard-keyboard.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-keyboard-keyboard.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-keyboard-keyboard.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,76 @@
+--- src/keyboard/keyboard.c.orig Sun Jul 18 09:41:15 1999
++++ src/keyboard/keyboard.c Fri Sep 1 11:01:20 2000
+@@ -28,12 +28,12 @@
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+ #include <termios.h>
+-#include <linux/kd.h>
++#include <sys/kbio.h>
+ /* linux/keyboard.h defines NR_KEYS and some scancode-like constants, so it */
+ /* should also be useful for svgalib programs using the keyboard. It misses */
+ /* a few KERNEL ifdefs around kernel data structures though. */
+ #include <linux/keyboard.h>
+-#include <sys/vt.h>
++#include <sys/consio.h>
+ /* Needed to check uid of keymap files */
+ #include <sys/stat.h>
+ #include <unistd.h>
+@@ -69,10 +69,11 @@
+ "KP_4", "KP_5", "KP_6", "KP_Add",
+ "KP_1", "KP_2", "KP_3",
+ "KP_0", "KP_Period",
+- "Last_Console", "", "less", "F11", "F12", "", "", "", "", "", "", "",
+- "KP_Enter", "Control", "KP_Divide", "Control_backslash", "AltGr", "Break",
++ "Last_Console", "", "less", "F11", "F12",
++ "KP_Enter", "Control", "KP_Divide", "Control_backslash", "AltGr",
+ "Find", "Up", "Prior", "Left", "Right", "Select", "Down", "Next", "Insert",
+- "Remove", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""
++ "Remove", "Break", "", "", "", "", "", "",
++ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""
+ };
+ static void default_handler(int, int);
+ static char *kbd_load_keymap(char *ptr);
+@@ -333,14 +334,19 @@
+ tcgetattr(__svgalib_kbd_fd, &oldkbdtermios);
+ newkbdtermios = oldkbdtermios;
+
++ cfmakeraw(&newkbdtermios);
+ newkbdtermios.c_lflag &= ~(ICANON | ECHO | ISIG);
+- newkbdtermios.c_iflag &= ~(ISTRIP | IGNCR | ICRNL | INLCR | IXOFF | IXON);
++ newkbdtermios.c_oflag = OPOST | ONLCR;
++ newkbdtermios.c_iflag = IGNPAR | IGNBRK;
++ newkbdtermios.c_cflag = CREAD | CS8;
+ newkbdtermios.c_cc[VMIN] = 0; /* Making these 0 seems to have the */
+ newkbdtermios.c_cc[VTIME] = 0; /* desired effect. */
++ cfsetispeed(&newkbdtermios, 9600);
++ cfsetospeed(&newkbdtermios, 9600);
+
+- tcsetattr(__svgalib_kbd_fd, TCSAFLUSH, &newkbdtermios);
++ tcsetattr(__svgalib_kbd_fd, TCSANOW, &newkbdtermios);
+
+- ioctl(__svgalib_kbd_fd, KDSKBMODE, K_MEDIUMRAW);
++ ioctl(__svgalib_kbd_fd, KDSKBMODE, K_CODE);
+
+ keyboard_clearstate();
+
+@@ -578,7 +584,7 @@
+ /* VT switch. */
+ /* *** what about F11 & F12? */
+ int j, vt = 0;
+- struct vt_stat vts;
++ int vts;
+ for (j = 0; j < 12; j++)
+ if (functionkey_state & (1 << j)) {
+ vt = j + 1;
+@@ -587,9 +593,9 @@
+ }
+
+ /* Do not switch vt's if need not to */
+- ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts);
++ ioctl(__svgalib_tty_fd, VT_GETACTIVE, &vts);
+
+- if(vt != vts.v_active) {
++ if(vt != vts) {
+ /* if switching vt's, need to clear keystates */
+ keyboard_clearstate();
+ /*
Added: trunk/graphics/svgalib/files/patch-src-keyboard-vgakeyboard.h
===================================================================
--- trunk/graphics/svgalib/files/patch-src-keyboard-vgakeyboard.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-keyboard-vgakeyboard.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,51 @@
+--- src/keyboard/vgakeyboard.h 2000/08/30 16:11:47 1.1
++++ src/keyboard/vgakeyboard.h 2000/08/30 16:26:15
+@@ -120,28 +120,28 @@
+ #define SCANCODE_F11 87
+ #define SCANCODE_F12 88
+
+-#define SCANCODE_KEYPADENTER 96
+-#define SCANCODE_RIGHTCONTROL 97
+-#define SCANCODE_CONTROL 97
+-#define SCANCODE_KEYPADDIVIDE 98
+-#define SCANCODE_PRINTSCREEN 99
+-#define SCANCODE_RIGHTALT 100
+-#define SCANCODE_BREAK 101 /* Beware: is 119 */
+-#define SCANCODE_BREAK_ALTERNATIVE 119 /* on some keyboards! */
++#define SCANCODE_KEYPADENTER 89
++#define SCANCODE_RIGHTCONTROL 90
++#define SCANCODE_CONTROL 107
++#define SCANCODE_KEYPADDIVIDE 91
++#define SCANCODE_PRINTSCREEN 92
++#define SCANCODE_RIGHTALT 93
++#define SCANCODE_BREAK 104 /* Beware: is 119 */
++#define SCANCODE_BREAK_ALTERNATIVE 104 /* on some keyboards! */
+
+-#define SCANCODE_HOME 102
+-#define SCANCODE_CURSORBLOCKUP 103 /* Cursor key block */
+-#define SCANCODE_PAGEUP 104
+-#define SCANCODE_CURSORBLOCKLEFT 105 /* Cursor key block */
+-#define SCANCODE_CURSORBLOCKRIGHT 106 /* Cursor key block */
+-#define SCANCODE_END 107
+-#define SCANCODE_CURSORBLOCKDOWN 108 /* Cursor key block */
+-#define SCANCODE_PAGEDOWN 109
+-#define SCANCODE_INSERT 110
+-#define SCANCODE_REMOVE 111
++#define SCANCODE_HOME 94
++#define SCANCODE_CURSORBLOCKUP 95 /* Cursor key block */
++#define SCANCODE_PAGEUP 96
++#define SCANCODE_CURSORBLOCKLEFT 97 /* Cursor key block */
++#define SCANCODE_CURSORBLOCKRIGHT 98 /* Cursor key block */
++#define SCANCODE_END 99
++#define SCANCODE_CURSORBLOCKDOWN 100 /* Cursor key block */
++#define SCANCODE_PAGEDOWN 101
++#define SCANCODE_INSERT 102
++#define SCANCODE_REMOVE 103
+
+-#define SCANCODE_RIGHTWIN 126
+-#define SCANCODE_LEFTWIN 125
++#define SCANCODE_RIGHTWIN 106
++#define SCANCODE_LEFTWIN 105
+
+ #define KEY_EVENTRELEASE 0
+ #define KEY_EVENTPRESS 1
Added: trunk/graphics/svgalib/files/patch-src-libvga.h
===================================================================
--- trunk/graphics/svgalib/files/patch-src-libvga.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-libvga.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,12 @@
+diff -druN svgalib-1.4.2.orig/src/libvga.h src/libvga.h
+--- svgalib-1.4.2.orig/src/libvga.h Fri Aug 25 04:39:39 2000
++++ src/libvga.h Fri Aug 25 04:39:57 2000
+@@ -358,7 +358,7 @@
+
+ #else
+
+-#define SVGALIB_ACQUIRE_SIG SIGUNUSED
++#define SVGALIB_ACQUIRE_SIG SIGUSR2
+ #define SVGALIB_RELEASE_SIG SIGPROF
+
+ #endif
Added: trunk/graphics/svgalib/files/patch-src-mach32.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-mach32.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-mach32.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,213 @@
+diff -druN svgalib-1.4.2.orig/src/mach32.c src/mach32.c
+--- svgalib-1.4.2.orig/src/mach32.c Fri Aug 25 04:39:39 2000
++++ src/mach32.c Fri Aug 25 04:39:57 2000
+@@ -1544,7 +1544,7 @@
+ goto writerr;
+ printf("mach32: Notice: new EEPROM file >%s< succesful created.\n",
+ eeprom_fname);
+- finish_w_eeprom:
++ finish_w_eeprom: ;
+ }
+ /* Change eeprom contents if requested: */
+ if (!(eeprom_option & EEPROM_USE_MEMCFG))
+@@ -2415,7 +2415,7 @@
+ return ptr;
+ }
+
+-static int isnumber(char *str)
++static int is_number(char *str)
+ {
+ if (str == NULL)
+ return 0;
+@@ -2607,11 +2607,11 @@
+ goto ex_inv_mod;
+ }
+ if (*ptr == ':') { /*No. of clock given */
+- if (!isnumber(ptr + 1))
++ if (!is_number(ptr + 1))
+ goto inv_clk;
+ i = atoi(ptr + 1);
+ } else { /* search clock in table */
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_clk;
+ flag = atoi(ptr);
+ for (i = 0; i < 32; i++)
+@@ -2627,45 +2627,45 @@
+ mptr->disp_cntl = 0x23; /* Assume non interlaced */
+ /* The rest is straight forward: */
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ inv_time:
+ puts("mach32-config: Invalid define command, timing is invalid");
+ goto ex_inv_mod;
+ }
+ mptr->h_disp = (atoi(ptr) >> 3) - 1;
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ i = atoi(ptr);
+ mptr->h_sync_strt = (i >> 3) - 1;
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ mptr->h_sync_wid = ((atoi(ptr) - i) >> 3);
+ if (mptr->h_sync_wid > 0x1f)
+ mptr->h_sync_wid = 0x1f;
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ mptr->h_total = (atoi(ptr) >> 3) - 1;
+
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ mptr->v_disp = mach32_skip2(atoi(ptr) - 1);
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ i = atoi(ptr);
+ mptr->v_sync_strt = mach32_skip2(i - 1);
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ mptr->v_sync_wid = atoi(ptr) - i;
+ if (mptr->v_sync_wid > 0x1f)
+ mptr->v_sync_wid = 0x1f;
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto inv_time;
+ mptr->v_total = mach32_skip2(atoi(ptr) - 1);
+ for (;;) { /* Parse for additional goodies */
+@@ -2701,7 +2701,7 @@
+ return ptr;
+ case 3:
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ puts("mach32-config: illegal setlinelength command.\n"
+ "Usage: setlinelength integer modes...");
+ return ptr;
+@@ -2719,7 +2719,7 @@
+ puts("Don't use the maxclock's commands out of the environment variable.");
+ return ptr;
+ }
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ ilmaxclk:
+ puts("mach32-config: illegal maxclock16 or maxclock24 command.\n"
+ "Usage: maxclock16 integer or maxclock24 integer");
+@@ -2731,7 +2731,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto maxclk_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilmaxclk;
+ mach32_maxclk24 = atoi(ptr);
+ break;
+@@ -2741,7 +2741,7 @@
+ for (i = 0; i < 16; i++) {
+ ptr = strtok(NULL, " ");
+ clocks_set = 1;
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ puts("mach32-config: illegal clocks command.\n"
+ "Usage: clocks integer integer ...\n"
+ "16 clocks have to be specified.\n"
+@@ -2776,7 +2776,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto maxclk_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilmaxclk;
+ mach32_maxclk8 = atoi(ptr);
+ break;
+@@ -2784,7 +2784,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto maxclk_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilmaxclk;
+ mach32_maxclk32 = atoi(ptr);
+ break;
+@@ -2803,7 +2803,7 @@
+ puts("The vfifo, latch, blank commands are not allowed out of the environment.");
+ return ptr;
+ }
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ ilvfi:
+ puts("Illegal vfifo command");
+ return ptr;
+@@ -2814,7 +2814,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto tweak_deny;
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ puts("Illegal latch command");
+ return ptr;
+ }
+@@ -2824,7 +2824,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto tweak_deny;
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ puts("Illegal blank command");
+ return ptr;
+ }
+@@ -2834,7 +2834,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto tweak_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilvfi;
+ vfifo16 = atoi(ptr) & 0xf;
+ break;
+@@ -2842,7 +2842,7 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto tweak_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilvfi;
+ vfifo24 = atoi(ptr) & 0xf;
+ break;
+@@ -2850,13 +2850,13 @@
+ ptr = strtok(NULL, " ");
+ if (!mode)
+ goto tweak_deny;
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto ilvfi;
+ vfifo32 = atoi(ptr) & 0xf;
+ break;
+ case 20:
+ ptr = strtok(NULL, " ");
+- if (!isnumber(ptr)) {
++ if (!is_number(ptr)) {
+ ilsetupli:
+ puts("Illegal setuplinear command.\n"
+ "usage: setuplinear address size\n"
+@@ -2998,7 +2998,7 @@
+ else if (!strcasecmp(ptr, "keep"))
+ svga_clock = (-1);
+ else {
+- if (!isnumber(ptr))
++ if (!is_number(ptr))
+ goto invpar;
+ i = atoi(ptr);
+ if ((i < 0) || (i > 0x1f))
Added: trunk/graphics/svgalib/files/patch-src-mouse-ms.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-mouse-ms.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-mouse-ms.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,21 @@
+diff -druN svgalib-1.4.2.orig/src/mouse/ms.c src/mouse/ms.c
+--- svgalib-1.4.2.orig/src/mouse/ms.c Fri Aug 25 04:39:39 2000
++++ src/mouse/ms.c Fri Aug 25 04:39:57 2000
+@@ -116,7 +116,7 @@
+ tty.c_iflag = IGNBRK | IGNPAR;
+ tty.c_oflag = 0;
+ tty.c_lflag = 0;
+- tty.c_line = 0;
++/* tty.c_line = 0;*/
+ tty.c_cc[VTIME] = 0;
+ tty.c_cc[VMIN] = 1;
+
+@@ -509,7 +509,7 @@
+ tty.c_iflag = IGNBRK | IGNPAR;
+ tty.c_oflag = 0;
+ tty.c_lflag = 0;
+- tty.c_line = 0;
++/* tty.c_line = 0;*/
+ tty.c_cc[VTIME] = 0;
+ tty.c_cc[VMIN] = 1;
+ tty.c_cflag = cflag[m_type] | B1200;
Added: trunk/graphics/svgalib/files/patch-src-nv3.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-nv3.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-nv3.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,11 @@
+diff -druN svgalib-1.4.2.orig/src/nv3.c src/nv3.c
+--- svgalib-1.4.2.orig/src/nv3.c Fri Aug 25 04:39:39 2000
++++ src/nv3.c Fri Aug 25 04:39:57 2000
+@@ -17,6 +17,7 @@
+ #include <stdlib.h>
+ #include <stdio.h> /* for printf */
+ #include <string.h> /* for memset */
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #include <fcntl.h>
+ #include <math.h>
Added: trunk/graphics/svgalib/files/patch-src-vga.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-vga.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-vga.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,165 @@
+--- src/vga.c.orig Thu Jul 6 19:10:32 2000
++++ src/vga.c Fri Sep 1 18:30:27 2000
+@@ -22,10 +22,10 @@
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <sys/mman.h>
+-#include <sys/kd.h>
++#include <sys/kbio.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+-#include <sys/vt.h>
++#include <sys/consio.h>
+ #include <sys/wait.h>
+ #include <errno.h>
+ #include <ctype.h>
+@@ -37,6 +37,22 @@
+ #include "keyboard/vgakeyboard.h"
+ #include "vgaregs.h"
+
++int permfd = -1;
++int ioperm(unsigned long from, unsigned long num, int on)
++{
++ if (permfd == -1)
++ permfd = open("/dev/io", O_RDONLY);
++ if (permfd != -1)
++ return 0;
++ else
++ return 1;
++}
++
++int iopl(int level)
++{
++ return ioperm(0, 0, 0);
++}
++
+ #ifdef BACKGROUND
+ #include "vgabg.h"
+
+@@ -745,7 +761,7 @@
+ /* Leave keyboard alone when rawkeyboard is enabled! */
+ if (__svgalib_kbd_fd < 0) {
+ /* set graphics mode termio parameters */
+- ioctl(0, TCSETSW, &graph_termio);
++ ioctl(0, TIOCSETAW, &graph_termio);
+ }
+ }
+
+@@ -755,7 +771,7 @@
+ /* Leave keyboard alone when rawkeyboard is enabled! */
+ if (__svgalib_kbd_fd < 0) {
+ /* restore text mode termio parameters */
+- ioctl(0, TCSETSW, &text_termio);
++ ioctl(0, TIOCSETAW, &text_termio);
+ }
+ }
+
+@@ -766,9 +782,9 @@
+
+ /* Well, one could argue that sigint is not enabled at all when in __svgalib_nosigint
+ but sometimes they *still* are enabled b4 graph_termio is set.. */
+- ioctl(0, TCGETS, &cur_termio);
++ ioctl(0, TIOCGETA, &cur_termio);
+ cur_termio.c_lflag &= ~ISIG;
+- ioctl(0, TCSETSW, &cur_termio);
++ ioctl(0, TIOCSETAW, &cur_termio);
+ }
+
+
+@@ -778,9 +794,9 @@
+
+ if (__svgalib_nosigint) /* do not reenable, they are often reenabled by text_termio */
+ return;
+- ioctl(0, TCGETS, &cur_termio);
++ ioctl(0, TIOCGETA, &cur_termio);
+ cur_termio.c_lflag |= ISIG;
+- ioctl(0, TCSETSW, &cur_termio);
++ ioctl(0, TIOCSETAW, &cur_termio);
+ }
+
+ /* The following is rather messy and inelegant. The only solution I can */
+@@ -851,7 +867,7 @@
+ if (!getuid())
+ return 1; /* root can do it always */
+ #endif
+- sprintf(fname, "/dev/tty%d", vc);
++ sprintf(fname, "/dev/ttyv%x", vc - 1);
+ if ((stat(fname, &sbuf) >= 0) && (getuid() == sbuf.st_uid)) {
+ return 1;
+ }
+@@ -862,7 +878,7 @@
+ void __svgalib_open_devconsole(void)
+ {
+ struct vt_mode vtm;
+- struct vt_stat vts;
++ int vts;
+ struct stat sbuf;
+ char fname[30];
+
+@@ -903,15 +919,15 @@
+ goto error;
+ if (svgalib_vc <= 0)
+ goto error;
+- sprintf(fname, "/dev/tty%d", svgalib_vc);
++ sprintf(fname, "/dev/ttyv%x", svgalib_vc - 1);
+ close(__svgalib_tty_fd);
+ /* change our control terminal: */
+ setpgid(0,getppid());
+ setsid();
+ /* We must use RDWR to allow for output... */
+ if (((__svgalib_tty_fd = open(fname, O_RDWR)) >= 0) &&
+- (ioctl(__svgalib_tty_fd, VT_GETSTATE, &vts) >= 0)) {
+- if (!check_owner(vts.v_active))
++ (ioctl(__svgalib_tty_fd, VT_GETACTIVE, &vts) >= 0)) {
++ if (!check_owner(vts))
+ goto error;
+ /* success, redirect all stdios */
+ if (DREP)
+@@ -928,8 +944,8 @@
+ /* clear screen and switch to it */
+ fwrite("\e[H\e[J", 6, 1, stderr);
+ fflush(stderr);
+- if (svgalib_vc != vts.v_active) {
+- startup_vc = vts.v_active;
++ if (svgalib_vc != vts) {
++ startup_vc = vts;
+ ioctl(__svgalib_tty_fd, VT_ACTIVATE, svgalib_vc);
+ __svgalib_waitvtactive();
+ }
+@@ -1240,7 +1256,7 @@
+ SIGTRAP, SIGIOT, SIGBUS, SIGFPE,
+ SIGSEGV, SIGPIPE, SIGALRM, SIGTERM,
+ SIGXCPU, SIGXFSZ, SIGVTALRM,
+-/* SIGPROF ,*/ SIGPWR};
++/* SIGPROF ,*/ SIGUSR1};
+ static struct sigaction old_signal_handler[sizeof(sig2catch)];
+
+ struct vt_mode __svgalib_oldvtmode;
+@@ -1822,15 +1838,15 @@
+ #endif
+
+ /* save text mode termio parameters */
+- ioctl(0, TCGETS, &text_termio);
++ ioctl(0, TIOCGETA, &text_termio);
+
+ graph_termio = text_termio;
+
+ /* change termio parameters to allow our own I/O processing */
+- graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IUCLC | IXON | IXOFF);
++ graph_termio.c_iflag &= ~(BRKINT | PARMRK | INPCK | IXON | IXOFF);
+ graph_termio.c_iflag |= (IGNBRK | IGNPAR);
+
+- graph_termio.c_oflag &= ~(ONOCR);
++/* graph_termio.c_oflag &= ~(ONOCR);*/
+
+ graph_termio.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHOK | ECHONL | NOFLSH);
+ if (__svgalib_nosigint)
+@@ -3830,7 +3846,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);
Added: trunk/graphics/svgalib/files/patch-src-vgamisc.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src-vgamisc.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src-vgamisc.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,29 @@
+--- src/vgamisc.c.orig Tue Jul 27 19:36:19 1999
++++ src/vgamisc.c Wed Aug 30 17:58:13 2000
+@@ -73,8 +73,8 @@
+ return __svgalib_graph_mem;
+ }
+
+-#include <syscall.h>
+-#include <linux/kernel.h>
++#include <sys/types.h>
++#include <sys/sysctl.h>
+
+ int __svgalib_physmem(void)
+ {
+@@ -82,10 +82,11 @@
+ printf("__svgalib_physmem: are you sure you wanna do this??\n");
+ return -1;
+ #else
+- struct sysinfo si;
+- si.totalram = 0;
+- syscall(SYS_sysinfo, &si);
+- return si.totalram;
++ int mem;
++ int smem;
++ smem = sizeof(mem);
++ sysctlbyname("hw.physmem", &mem, &smem, NULL, 0);
++ return mem;
+ #endif
+ }
+
Deleted: trunk/graphics/svgalib/files/patch-src::nv3.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src::nv3.c 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-src::nv3.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,19 +0,0 @@
---- 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:
Deleted: trunk/graphics/svgalib/files/patch-src::s3.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src::s3.c 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-src::s3.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,10 +0,0 @@
---- src/s3.c.orig Wed May 3 19:23:57 2000
-+++ src/s3.c Fri Jul 30 13:21:55 2004
-@@ -474,7 +474,6 @@
- dac_used->restoreState(regs);
- return old_values;
- }
-- default:
- }
- return 0;
- }
Deleted: trunk/graphics/svgalib/files/patch-src::vgapix.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src::vgapix.c 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/files/patch-src::vgapix.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -1,33 +0,0 @@
---- src/vgapix.c.orig 1999-07-27 18:36:19.000000000 +0200
-+++ src/vgapix.c 2013-01-26 21:14:42.000000000 +0100
-@@ -8,6 +8,7 @@
- /* partially copyrighted (C) 1993 by Hartmut Schirmer */
- /* HH: Added 4bpp support, and use bytesperpixel. */
-
-+#include <sys/endian.h>
- #include <stdio.h>
- #include "vga.h"
- #include "libvga.h"
-@@ -22,21 +23,8 @@ static inline void read_write(unsigned l
-
- static inline int RGB2BGR(int c)
- {
--/* a bswap would do the same as the first 3 but in only ONE! cycle. */
--/* However bswap is not supported by 386 */
--
- if (MODEFLAGS & RGB_MISORDERED)
--#ifdef __alpha__
-- c = ((c >> 0) & 0xff) << 16 |
-- ((c >> 8) & 0xff) << 8 |
-- ((c >> 16) & 0xff) << 0;
--#else
-- asm("rorw $8, %0\n" /* 0RGB -> 0RBG */
-- "rorl $16, %0\n" /* 0RBG -> BG0R */
-- "rorw $8, %0\n" /* BG0R -> BGR0 */
-- "shrl $8, %0\n" /* 0BGR -> 0BGR */
-- : "=q"(c):"0"(c));
--#endif
-+ c = bswap32(c) >> 8;
- return c;
- }
-
Added: trunk/graphics/svgalib/files/patch-src__nv3.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src__nv3.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src__nv3.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -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:
Added: trunk/graphics/svgalib/files/patch-src__s3.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src__s3.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src__s3.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,10 @@
+--- src/s3.c.orig Wed May 3 19:23:57 2000
++++ src/s3.c Fri Jul 30 13:21:55 2004
+@@ -474,7 +474,6 @@
+ dac_used->restoreState(regs);
+ return old_values;
+ }
+- default:
+ }
+ return 0;
+ }
Added: trunk/graphics/svgalib/files/patch-src__vgapix.c
===================================================================
--- trunk/graphics/svgalib/files/patch-src__vgapix.c (rev 0)
+++ trunk/graphics/svgalib/files/patch-src__vgapix.c 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,33 @@
+--- src/vgapix.c.orig 1999-07-27 18:36:19.000000000 +0200
++++ src/vgapix.c 2013-01-26 21:14:42.000000000 +0100
+@@ -8,6 +8,7 @@
+ /* partially copyrighted (C) 1993 by Hartmut Schirmer */
+ /* HH: Added 4bpp support, and use bytesperpixel. */
+
++#include <sys/endian.h>
+ #include <stdio.h>
+ #include "vga.h"
+ #include "libvga.h"
+@@ -22,21 +23,8 @@ static inline void read_write(unsigned l
+
+ static inline int RGB2BGR(int c)
+ {
+-/* a bswap would do the same as the first 3 but in only ONE! cycle. */
+-/* However bswap is not supported by 386 */
+-
+ if (MODEFLAGS & RGB_MISORDERED)
+-#ifdef __alpha__
+- c = ((c >> 0) & 0xff) << 16 |
+- ((c >> 8) & 0xff) << 8 |
+- ((c >> 16) & 0xff) << 0;
+-#else
+- asm("rorw $8, %0\n" /* 0RGB -> 0RBG */
+- "rorl $16, %0\n" /* 0RBG -> BG0R */
+- "rorw $8, %0\n" /* BG0R -> BGR0 */
+- "shrl $8, %0\n" /* 0BGR -> 0BGR */
+- : "=q"(c):"0"(c));
+-#endif
++ c = bswap32(c) >> 8;
+ return c;
+ }
+
Added: trunk/graphics/svgalib/files/patch-utils-Makefile
===================================================================
--- trunk/graphics/svgalib/files/patch-utils-Makefile (rev 0)
+++ trunk/graphics/svgalib/files/patch-utils-Makefile 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,20 @@
+--- utils/Makefile.orig Fri Aug 25 05:31:18 2000
++++ utils/Makefile Fri Aug 25 05:31:23 2000
+@@ -15,7 +15,7 @@
+
+ CFLAGS = $(WARN) $(OPTIMIZE) -I../include
+ #Use the next one for the Alpha/AXP if you need it
+-#LDFLAGS = -L../staticlib
++LDFLAGS = -L../sharedlib
+ LIBS = -lvga -lm
+
+ #----------------------------------------------------------------------
+@@ -56,7 +56,7 @@
+ $(INSTALLPROG) $(UTILPROGS) $(UTILINSTALLDIR)
+
+ .depend:
+- gcc -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
++ $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend
+
+ #
+ # include a dependency file if one exists
Added: trunk/graphics/svgalib/files/patch-utils-gtf-scitech.h
===================================================================
--- trunk/graphics/svgalib/files/patch-utils-gtf-scitech.h (rev 0)
+++ trunk/graphics/svgalib/files/patch-utils-gtf-scitech.h 2014-09-07 18:17:34 UTC (rev 16958)
@@ -0,0 +1,11 @@
+--- utils/gtf/scitech.h.orig Fri Aug 25 05:23:32 2000
++++ utils/gtf/scitech.h Fri Aug 25 05:24:02 2000
+@@ -228,7 +228,7 @@
+ #endif
+
+ /* 32-bit FreeBSD compile environment */
+-#elif defined(__FREEBSD__)
++#elif defined(__FreeBSD__)
+ #ifndef __32BIT__
+ #define __32BIT__
+ #endif
Modified: trunk/graphics/svgalib/pkg-plist
===================================================================
--- trunk/graphics/svgalib/pkg-plist 2014-09-07 18:12:31 UTC (rev 16957)
+++ trunk/graphics/svgalib/pkg-plist 2014-09-07 18:17:34 UTC (rev 16958)
@@ -22,5 +22,244 @@
lib/libvgagl.a
lib/libvgagl.so
lib/libvgagl.so.1
+man/man1/convfont.1.gz
+man/man1/dumpreg.1.gz
+man/man1/fix132x43.1.gz
+man/man1/restorefont.1.gz
+man/man1/restorepalette.1.gz
+man/man1/restoretextmode.1.gz
+man/man1/runx.1.gz
+man/man1/savetextmode.1.gz
+man/man1/setmclk.1.gz
+man/man1/svgakeymap.1.gz
+man/man1/textmode.1.gz
+man/man3/currentcontext.3.gz
+man/man3/gl_allocatecontext.3.gz
+man/man3/gl_bcircle.3.gz
+man/man3/gl_circle.3.gz
+man/man3/gl_clearscreen.3.gz
+man/man3/gl_colorfont.3.gz
+man/man3/gl_compileboxmask.3.gz
+man/man3/gl_compiledboxmasksize.3.gz
+man/man3/gl_copybox.3.gz
+man/man3/gl_copyboxfromcontext.3.gz
+man/man3/gl_copyboxtocontext.3.gz
+man/man3/gl_copyscreen.3.gz
+man/man3/gl_disableclipping.3.gz
+man/man3/gl_enableclipping.3.gz
+man/man3/gl_enablepageflipping.3.gz
+man/man3/gl_expandfont.3.gz
+man/man3/gl_fillbox.3.gz
+man/man3/gl_fillcircle.3.gz
+man/man3/gl_font8x8.3.gz
+man/man3/gl_freecontext.3.gz
+man/man3/gl_getbox.3.gz
+man/man3/gl_getcontext.3.gz
+man/man3/gl_getpalette.3.gz
+man/man3/gl_getpalettecolor.3.gz
+man/man3/gl_getpalettecolors.3.gz
+man/man3/gl_getpixel.3.gz
+man/man3/gl_getpixelrgb.3.gz
+man/man3/gl_hline.3.gz
+man/man3/gl_line.3.gz
+man/man3/gl_printf.3.gz
+man/man3/gl_putbox.3.gz
+man/man3/gl_putboxmask.3.gz
+man/man3/gl_putboxmaskcompiled.3.gz
+man/man3/gl_putboxpart.3.gz
+man/man3/gl_rgbcolor.3.gz
+man/man3/gl_scalebox.3.gz
+man/man3/gl_setclippingwindow.3.gz
+man/man3/gl_setcontext.3.gz
+man/man3/gl_setcontextheight.3.gz
+man/man3/gl_setcontextvga.3.gz
+man/man3/gl_setcontextvgavirtual.3.gz
+man/man3/gl_setcontextvirtual.3.gz
+man/man3/gl_setcontextwidth.3.gz
+man/man3/gl_setdisplaystart.3.gz
+man/man3/gl_setfont.3.gz
+man/man3/gl_setfontcolors.3.gz
+man/man3/gl_setpalette.3.gz
+man/man3/gl_setpalettecolor.3.gz
+man/man3/gl_setpalettecolors.3.gz
+man/man3/gl_setpixel.3.gz
+man/man3/gl_setpixelrgb.3.gz
+man/man3/gl_setrgbpalette.3.gz
+man/man3/gl_setscreenoffset.3.gz
+man/man3/gl_setwritemode.3.gz
+man/man3/gl_striangle.3.gz
+man/man3/gl_swtriangle.3.gz
+man/man3/gl_triangle.3.gz
+man/man3/gl_trigetcolorlookup.3.gz
+man/man3/gl_trisetcolorlookup.3.gz
+man/man3/gl_trisetdrawpoint.3.gz
+man/man3/gl_write.3.gz
+man/man3/gl_writen.3.gz
+man/man3/gl_wtriangle.3.gz
+man/man3/graph_mem.3.gz
+man/man3/joystick_button1.3.gz
+man/man3/joystick_button2.3.gz
+man/man3/joystick_button3.3.gz
+man/man3/joystick_button4.3.gz
+man/man3/joystick_close.3.gz
+man/man3/joystick_getaxis.3.gz
+man/man3/joystick_getb1.3.gz
+man/man3/joystick_getb2.3.gz
+man/man3/joystick_getb3.3.gz
+man/man3/joystick_getb4.3.gz
+man/man3/joystick_getbutton.3.gz
+man/man3/joystick_getnumaxes.3.gz
+man/man3/joystick_getnumbuttons.3.gz
+man/man3/joystick_getx.3.gz
+man/man3/joystick_gety.3.gz
+man/man3/joystick_getz.3.gz
+man/man3/joystick_init.3.gz
+man/man3/joystick_setdefaulthandler.3.gz
+man/man3/joystick_sethandler.3.gz
+man/man3/joystick_update.3.gz
+man/man3/joystick_x.3.gz
+man/man3/joystick_y.3.gz
+man/man3/joystick_z.3.gz
+man/man3/keyboard_clearstate.3.gz
+man/man3/keyboard_close.3.gz
+man/man3/keyboard_getstate.3.gz
+man/man3/keyboard_init.3.gz
+man/man3/keyboard_init_return_fd.3.gz
+man/man3/keyboard_keypressed.3.gz
+man/man3/keyboard_setdefaulteventhandler.3.gz
+man/man3/keyboard_seteventhandler.3.gz
+man/man3/keyboard_translatekeys.3.gz
+man/man3/keyboard_update.3.gz
+man/man3/keyboard_waitforupdate.3.gz
+man/man3/mouse_close.3.gz
+man/man3/mouse_getbutton.3.gz
+man/man3/mouse_getcaps.3.gz
+man/man3/mouse_getposition_6d.3.gz
+man/man3/mouse_getx.3.gz
+man/man3/mouse_gety.3.gz
+man/man3/mouse_init.3.gz
+man/man3/mouse_init_return_fd.3.gz
+man/man3/mouse_setdefaulteventhandler.3.gz
+man/man3/mouse_seteventhandler.3.gz
+man/man3/mouse_setposition.3.gz
+man/man3/mouse_setposition_6d.3.gz
+man/man3/mouse_setrange_6d.3.gz
+man/man3/mouse_setscale.3.gz
+man/man3/mouse_setwrap.3.gz
+man/man3/mouse_setxrange.3.gz
+man/man3/mouse_setyrange.3.gz
+man/man3/mouse_update.3.gz
+man/man3/mouse_waitforupdate.3.gz
+man/man3/vga_accel.3.gz
+man/man3/vga_addmode.3.gz
+man/man3/vga_addtiming.3.gz
+man/man3/vga_bitblt.3.gz
+man/man3/vga_blitwait.3.gz
+man/man3/vga_changetiming.3.gz
+man/man3/vga_claimvideomemory.3.gz
+man/man3/vga_clear.3.gz
+man/man3/vga_copytoplanar16.3.gz
+man/man3/vga_copytoplanar256.3.gz
+man/man3/vga_copytoplane.3.gz
+man/man3/vga_disabledriverreport.3.gz
+man/man3/vga_drawline.3.gz
+man/man3/vga_drawpixel.3.gz
+man/man3/vga_drawscanline.3.gz
+man/man3/vga_drawscansegment.3.gz
+man/man3/vga_dumpregs.3.gz
+man/man3/vga_ext_set.3.gz
+man/man3/vga_fillblt.3.gz
+man/man3/vga_flip.3.gz
+man/man3/vga_getch.3.gz
+man/man3/vga_getcolors.3.gz
+man/man3/vga_getcurrentchipset.3.gz
+man/man3/vga_getcurrentmode.3.gz
+man/man3/vga_getcurrenttiming.3.gz
+man/man3/vga_getdefaultmode.3.gz
+man/man3/vga_getgraphmem.3.gz
+man/man3/vga_getkey.3.gz
+man/man3/vga_getmodeinfo.3.gz
+man/man3/vga_getmodename.3.gz
+man/man3/vga_getmodenumber.3.gz
+man/man3/vga_getmonitortype.3.gz
+man/man3/vga_getmousetype.3.gz
+man/man3/vga_getpalette.3.gz
+man/man3/vga_getpalvec.3.gz
+man/man3/vga_getpixel.3.gz
+man/man3/vga_getscansegment.3.gz
+man/man3/vga_gettextfont.3.gz
+man/man3/vga_gettextmoderegs.3.gz
+man/man3/vga_getxdim.3.gz
+man/man3/vga_getydim.3.gz
+man/man3/vga_guesstiming.3.gz
+man/man3/vga_hasmode.3.gz
+man/man3/vga_hlinelistblt.3.gz
+man/man3/vga_imageblt.3.gz
+man/man3/vga_init.3.gz
+man/man3/vga_lastmodenumber.3.gz
+man/man3/vga_lockvc.3.gz
+man/man3/vga_oktowrite.3.gz
+man/man3/vga_puttextfont.3.gz
+man/man3/vga_runinbackground.3.gz
+man/man3/vga_runinbackground_version.3.gz
+man/man3/vga_safety_fork.3.gz
+man/man3/vga_screenoff.3.gz
+man/man3/vga_screenon.3.gz
+man/man3/vga_setchipset.3.gz
+man/man3/vga_setchipsetandfeatures.3.gz
+man/man3/vga_setcolor.3.gz
+man/man3/vga_setdisplaystart.3.gz
+man/man3/vga_setegacolor.3.gz
+man/man3/vga_setflipchar.3.gz
+man/man3/vga_setlinearaddressing.3.gz
+man/man3/vga_setlogicalwidth.3.gz
+man/man3/vga_setmode.3.gz
+man/man3/vga_setmodeX.3.gz
+man/man3/vga_setmousesupport.3.gz
+man/man3/vga_setpage.3.gz
+man/man3/vga_setpalette.3.gz
+man/man3/vga_setpalvec.3.gz
+man/man3/vga_setreadpage.3.gz
+man/man3/vga_setrgbcolor.3.gz
+man/man3/vga_settextmoderegs.3.gz
+man/man3/vga_setwritepage.3.gz
+man/man3/vga_unlockvc.3.gz
+man/man3/vga_waitevent.3.gz
+man/man3/vga_waitretrace.3.gz
+man/man3/vga_white.3.gz
+man/man5/libvga.config.5.gz
+man/man5/libvga.et4000.5.gz
+man/man5/svgalibrc.5.gz
+man/man6/accel.6.gz
+man/man6/bg_test.6.gz
+man/man6/eventtest.6.gz
+man/man6/forktest.6.gz
+man/man6/fun.6.gz
+man/man6/joytest.6.gz
+man/man6/keytest.6.gz
+man/man6/lineart.6.gz
+man/man6/mach32info.6.gz
+man/man6/mjoytest.6.gz
+man/man6/mousetest.6.gz
+man/man6/plane.6.gz
+man/man6/printftest.6.gz
+man/man6/scrolltest.6.gz
+man/man6/speedtest.6.gz
+man/man6/spin.6.gz
+man/man6/svidtune.6.gz
+man/man6/testaccel.6.gz
+man/man6/testgl.6.gz
+man/man6/testlinear.6.gz
+man/man6/threed.6.gz
+man/man6/vgatest.6.gz
+man/man6/wrapdemo.6.gz
+man/man7/svgalib.7.gz
+man/man7/svgalib.chips.7.gz
+man/man7/svgalib.et4000.7.gz
+man/man7/svgalib.faq.7.gz
+man/man7/svgalib.mach32.7.gz
+man/man7/threedkit.7.gz
+man/man7/vgagl.7.gz
+man/man8/mode3.8.gz
@dirrm include/linux
@dirrm etc/vga
More information about the Midnightbsd-cvs
mailing list