summaryrefslogtreecommitdiffstats
path: root/extra/lshw/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lshw/Pkgfile')
-rwxr-xr-xextra/lshw/Pkgfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/lshw/Pkgfile b/extra/lshw/Pkgfile
index 6c5fb06e6..11f64f571 100755
--- a/extra/lshw/Pkgfile
+++ b/extra/lshw/Pkgfile
@@ -11,11 +11,12 @@ source=(http://ezix.org/software/files/$name-$version.tar.gz \
lshw.png \
lshw.svg \
abi_stdlib.diff
-lshw.desktop)
+lshw.desktop lshw-gcc-4.5.patch)
build() {
cd $name-$version
patch -Np0 -i ../abi_stdlib.diff
+ patch -Np1 -i ../lshw-gcc-4.5.patch
sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/Makefile
sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/core/Makefile
sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/gui/Makefile