Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37859629
en ru br
ALT Linux repos
S:1.2.2-alt1.qa2
4.1: 0.7-alt1
4.0: 0.7-alt1
3.0: 0.2-alt1

Group :: System/Kernel and hardware
RPM: vbetool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vbetool-0.4-buildfix.patch
Download


diff -ur vbetool-0.4.orig/Makefile.am vbetool-0.4/Makefile.am
--- vbetool-0.4.orig/Makefile.am	2005-11-23 05:48:13 +0300
+++ vbetool-0.4/Makefile.am	2006-01-31 13:52:51 +0300
@@ -22,4 +22,5 @@
 	$(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure
 
 AM_CFLAGS = -g -Wall -pedantic -std=gnu99
-AM_LDFLAGS = -lpci
+LIBS = -Wl,-non_shared -lpci -Wl,-call_shared
+
diff -ur vbetool-0.4.orig/vbetool.c vbetool-0.4/vbetool.c
--- vbetool-0.4.orig/vbetool.c	2005-07-21 21:14:55 +0400
+++ vbetool-0.4/vbetool.c	2006-01-31 13:51:53 +0300
@@ -11,11 +11,9 @@
 #include <pci/pci.h>
 #include <assert.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
-#include <sys/types.h>
 #include <sys/io.h>
 #include <sys/kd.h>
 #include <sys/stat.h>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin