diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/hwinfo | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/hwinfo')
-rw-r--r-- | community/hwinfo/PKGBUILD | 48 | ||||
-rw-r--r-- | community/hwinfo/custom_ioctl.patch | 16 |
2 files changed, 0 insertions, 64 deletions
diff --git a/community/hwinfo/PKGBUILD b/community/hwinfo/PKGBUILD deleted file mode 100644 index 11bd4bb06..000000000 --- a/community/hwinfo/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 90497 2013-05-12 23:11:39Z arodseth $ -# Maintainer: Alexander Rødseth <rodseth@gmail.com> -# Contributor: Kaiting Chen <kaitocracy@gmail.com> -# Contributor: Gergely Imreh <imrehgATgmailDOTcom> -# Contributor: champus -# Contributor: madeye -# Contributor: Ranguvar -# Contributor: ninja_pt - -pkgname=hwinfo -pkgver=20.1 -_subver=3.10 -pkgrel=2 -pkgdesc='Hardware detection tool from openSUSE' -arch=('x86_64' 'i686') -url='http://download.opensuse.org/source/factory/repo/oss/suse/src/' -license=('GPL2') -depends=('perl' 'libx86emu') -makedepends=('sysfsutils' 'rpmextract' 'flex') -source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$pkgver-$_subver.src.rpm" - 'custom_ioctl.patch') -sha256sums=('b0e2e51b4dd754071fb40843deaaafb0755388de5335b1d2c4c081d0f6393841' - '6e83b50aa34f31db5fe6de938402e7c4dda6ffa9ffe1346c076e4779018fcf1d') - -prepare() { - cd "$srcdir" - - rpmextract.sh "$pkgname-$pkgver-$_subver.src.rpm" - tar jxf $pkgname-$pkgver.tar.bz2 - cd "$pkgname-$pkgver" - patch -p0 -i ../custom_ioctl.patch -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - make -j1 CFLAGS+="-fPIC -I$srcdir/$pkgname-$pkgver/src/hd" LIBDIR=/usr/lib -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make LIBDIR=/usr/lib DESTDIR="$pkgdir" install - mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" - rmdir "$pkgdir/sbin" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/hwinfo/custom_ioctl.patch b/community/hwinfo/custom_ioctl.patch deleted file mode 100644 index b9dd67161..000000000 --- a/community/hwinfo/custom_ioctl.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- src/hd/kbd.c.old 2010-03-15 23:37:52.000000000 +0800 -+++ src/hd/kbd.c 2010-03-22 10:50:58.000000000 +0800 -@@ -146,11 +146,13 @@ - } - - if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) { -+ /* Removing since TIOCGDEV is not supported by the mainline kernel - if(ioctl(fd, TIOCGDEV, &u) != -1) { - tty_major = (u >> 8) & 0xfff; - tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00); - ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor); - } -+ */ - - if (0) - ; |