pkgsrc/sysutils/vbetool/patches/patch-ac
xtraeme 4ec922bc8a vbetool uses lrmi in order to run code from the video BIOS.
Currently, it is able to alter DPMS states, save/restore video card
state and attempt to initialize the video card from scratch.

--
Requested by jmcneill@.
2007-08-08 12:00:34 +00:00

27 lines
1.2 KiB
Text

$NetBSD: patch-ac,v 1.1.1.1 2007/08/08 12:00:34 xtraeme Exp $
--- Makefile.in.orig 2006-07-26 03:26:30.000000000 +0200
+++ Makefile.in 2007-08-08 13:51:43.000000000 +0200
@@ -57,9 +57,9 @@
@WITH_X86EMU_TRUE@am__objects_1 = thunk.$(OBJEXT) x86-common.$(OBJEXT)
am_vbetool_OBJECTS = vbetool.$(OBJEXT) $(am__objects_1)
vbetool_OBJECTS = $(am_vbetool_OBJECTS)
-@WITH_X86EMU_FALSE@vbetool_DEPENDENCIES = $(libdir)/libpci.a
+@WITH_X86EMU_FALSE@vbetool_DEPENDENCIES = -lpciutils
@WITH_X86EMU_TRUE@vbetool_DEPENDENCIES = x86emu/libx86emu.a \
-@WITH_X86EMU_TRUE@ $(libdir)/libpci.a
+@WITH_X86EMU_TRUE@ -lpciutils
DEFAULT_INCLUDES = -I. -I$(srcdir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@@ -174,8 +174,8 @@
SUBDIRS = x86emu
@WITH_X86EMU_FALSE@x86 = lrmi.c x86-common.c
@WITH_X86EMU_TRUE@x86 = thunk.c x86-common.c
-@WITH_X86EMU_FALSE@vbetool_LDADD = $(libdir)/libpci.a
-@WITH_X86EMU_TRUE@vbetool_LDADD = x86emu/libx86emu.a $(libdir)/libpci.a
+@WITH_X86EMU_FALSE@vbetool_LDADD = -lpci -lpciutils
+@WITH_X86EMU_TRUE@vbetool_LDADD = x86emu/libx86emu.a -lpci -lpciutils
@WITH_X86EMU_FALSE@x86lib = ""
man_MANS = vbetool.1
vbetool_SOURCES = vbetool.c $(x86)