diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/ddcxinfo | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/ddcxinfo')
-rw-r--r-- | abs/core/ddcxinfo/PKGBUILD | 25 | ||||
-rw-r--r-- | abs/core/ddcxinfo/ddcxinfo-kanotix_0.6.19.tar.gz | bin | 0 -> 39882 bytes | |||
-rw-r--r-- | abs/core/ddcxinfo/lrmi.patch | 18 |
3 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/ddcxinfo/PKGBUILD b/abs/core/ddcxinfo/PKGBUILD new file mode 100644 index 0000000..b358c0c --- /dev/null +++ b/abs/core/ddcxinfo/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=ddcxinfo +pkgver=0.6.19 +pkgrel=3 +pkgdesc="DDC readout using the VESA BIOS extension" +url="http://www.t2-project.org/packages/ddcxinfo.html" +license="GPL" +depends=(x-server) +makedepends=() +conflicts=() +replaces=() +backup=() +arch=('i686') +install= +source=(http://www.kanotix.com/files/debian/pool/main/d/ddcxinfo-kanotix/$pkgname-kanotix_$pkgver.tar.gz + lrmi.patch) + + +build() { + cd $startdir/src/$pkgname-kanotix-$pkgver + mkdir -p $startdir/pkg/usr/sbin + patch -p1 < $startdir/src/lrmi.patch + make DESTDIR=$startdir/pkg install + cp svgamodes $startdir/pkg/usr/sbin/ + chmod +s $startdir/pkg/usr/sbin/ddcprobe +} diff --git a/abs/core/ddcxinfo/ddcxinfo-kanotix_0.6.19.tar.gz b/abs/core/ddcxinfo/ddcxinfo-kanotix_0.6.19.tar.gz Binary files differnew file mode 100644 index 0000000..fbbb329 --- /dev/null +++ b/abs/core/ddcxinfo/ddcxinfo-kanotix_0.6.19.tar.gz diff --git a/abs/core/ddcxinfo/lrmi.patch b/abs/core/ddcxinfo/lrmi.patch new file mode 100644 index 0000000..ca735fa --- /dev/null +++ b/abs/core/ddcxinfo/lrmi.patch @@ -0,0 +1,18 @@ +Common subdirectories: ddcxinfo-kanotix-0.6.19-orig/debian and ddcxinfo-kanotix-0.6.19/debian +diff -u ddcxinfo-kanotix-0.6.19-orig/lrmi.c ddcxinfo-kanotix-0.6.19/lrmi.c +--- ddcxinfo-kanotix-0.6.19-orig/lrmi.c 2009-07-25 06:15:09.000000000 +0000 ++++ ddcxinfo-kanotix-0.6.19/lrmi.c 2009-07-25 06:17:22.000000000 +0000 +@@ -170,6 +170,13 @@ + } + } + ++#ifndef TF_MASK ++#define TF_MASK X86_EFLAGS_TF ++#define IF_MASK X86_EFLAGS_IF ++#define IOPL_MASK X86_EFLAGS_IOPL ++#define VIF_MASK X86_EFLAGS_VIF ++#define VIP_MASK X86_EFLAGS_VIP ++#endif + + #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) + #define DEFAULT_STACK_SIZE 0x1000 |