Christian Wiese
14 years ago
4 changed files with 39 additions and 43 deletions
@ -1,34 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../vbetool/pci-compile-fix.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- vbetool-0.7/vbetool.c.orig 2006-07-26 09:27:21.000000000 +0800
|
||||
+++ vbetool-0.7/vbetool.c 2007-08-08 14:22:41.000000000 +0800
|
||||
@@ -8,7 +8,6 @@
|
||||
version 2
|
||||
*/
|
||||
|
||||
-#include <pci/pci.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -17,6 +16,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/io.h>
|
||||
+#include <pci/pci.h>
|
||||
#include <sys/kd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
@ -0,0 +1,34 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../vbetool/vbetool-1.1-linking.patch
|
||||
# Copyright (C) 2011 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
Decription: Do not link explicitely against libpci.a
|
||||
|
||||
--- vbetool-1.1/Makefile.am.orig 2011-05-12 10:45:05.264002074 +0200
|
||||
+++ vbetool-1.1/Makefile.am 2011-05-12 10:46:00.696002074 +0200
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
sbin_PROGRAMS = vbetool
|
||||
|
||||
-vbetool_LDADD = $(libdir)/libpci.a
|
||||
+vbetool_LDADD = -lpci -lz -lx86
|
||||
|
||||
man_MANS = vbetool.1
|
||||
vbetool_SOURCES = vbetool.c $(x86)
|
||||
@@ -14,4 +14,3 @@
|
||||
$(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure
|
||||
|
||||
AM_CFLAGS = -g -Wall -pedantic -std=gnu99
|
||||
-AM_LDFLAGS = -lz -lx86
|
Loading…
Reference in new issue