Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cebc2c81e7b41d8fd70038c8b06a3ec2ad8485bf

commit cebc2c81e7b41d8fd70038c8b06a3ec2ad8485bf
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date:   Tue May 13 23:56:06 2008 +0200

lshw-B.02.13-1-x86_64
* Version bump
* Added a gcc43 fix (http://ezix.org/project/ticket/403 <- url for lshw
BTS entry which reported by me

diff --git a/source/apps-extra/lshw/FrugalBuild 
b/source/apps-extra/lshw/FrugalBuild
index a86d755..9d599c1 100644
--- a/source/apps-extra/lshw/FrugalBuild
+++ b/source/apps-extra/lshw/FrugalBuild
@@ -3,8 +3,8 @@
# Contributor: BMH1980 <[EMAIL PROTECTED]>

pkgname=lshw
-pkgver=B.02.12.01
-pkgrel=2
+pkgver=B.02.13
+pkgrel=1
pkgdesc="A tool to provide information on the hardware configuration of the 
machine."
url="http://ezix.org/project/wiki/HardwareLiSter";
license="GPL2"
@@ -14,7 +14,7 @@ makedepends=('gtk+2')
options=('scriptlet')
depends=('libstdc++')
up2date="lynx -dump $url|grep -m 1 latest|grep -o '[A-Z][0-9\.]\+[0-9]'"
-source=(http://ezix.org/software/files/$pkgname-$pkgver.tar.gz)
+source=(http://ezix.org/software/files/$pkgname-$pkgver.tar.gz gcc43_fix.patch)

subpkgs=("gtk-$pkgname")
subdescs=("Gtk+2 frontend for lshw")
@@ -31,6 +31,7 @@ build() {
done
# What.. install wants to strip a directory ...
Fsed "-p -s" "-p" src/Makefile
+       Fpatch gcc43_fix.patch
Fmake
Fmakeinstall
Fmake gui
@@ -42,5 +43,6 @@ build() {
Fsplit ${subpkgs[0]} usr/share/doc/${subpkgs[0]}-$pkgver
}

-sha1sums=('5bd81faf68bb211c78b338a82b112a048b4ff062')
+sha1sums=('e27412d47de8efb4adb3646e46affffb95dd384f' \
+          '78a7882ba531f41c73383977000c63520056bad2')
# optimization OK
diff --git a/source/apps-extra/lshw/gcc43_fix.patch 
b/source/apps-extra/lshw/gcc43_fix.patch
new file mode 100644
index 0000000..e729809
--- /dev/null
+++ b/source/apps-extra/lshw/gcc43_fix.patch
@@ -0,0 +1,11 @@
+diff -Naur lshw-B.02.13.orig/src/core/abi.cc lshw-B.02.13/src/core/abi.cc
+--- lshw-B.02.13.orig/src/core/abi.cc  2008-05-13 23:49:54.000000000 +0200
++++ lshw-B.02.13/src/core/abi.cc       2008-05-13 23:50:24.000000000 +0200
+@@ -7,6 +7,7 @@
+ #include "version.h"
+ #include "abi.h"
+ #include "osutils.h"
++#include <cstdlib>
+ #include <unistd.h>
+ #include <dirent.h>
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to