parent
02cad33700
commit
e807ff0989
2 changed files with 33 additions and 0 deletions
14
srcpkgs/xosview/patches/musl-fix.patch
Normal file
14
srcpkgs/xosview/patches/musl-fix.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- linux/serialmeter.cc 2016-01-02 10:39:10.279496776 +0100
|
||||||
|
+++ linux/serialmeter.cc 2016-01-02 10:37:54.667491325 +0100
|
||||||
|
@@ -39,9 +39,11 @@
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__ia64__) && !defined(__m68k__)
|
||||||
|
+#if defined(HAVE_ASM_IO_H)
|
||||||
|
#include <asm/io.h>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
#include <linux/serial.h>
|
||||||
|
|
||||||
|
|
19
srcpkgs/xosview/template
Normal file
19
srcpkgs/xosview/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'xosview'
|
||||||
|
pkgname=xosview
|
||||||
|
version=1.17
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
makedepends="libXpm-devel"
|
||||||
|
short_desc="A classic system monitoring tool"
|
||||||
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://www.pogo.org.uk/~mark/xosview"
|
||||||
|
distfiles="http://www.pogo.org.uk/~mark/xosview/releases/xosview-${version}.tar.gz"
|
||||||
|
checksum=640998e7bd23b875e2556a97b9149a4cca0ac255889f484489b13a888c19b3f1
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) # does not have asm/io.h
|
||||||
|
;;
|
||||||
|
*) CFLAGS="-DHAVE_ASM_IO=1"
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Reference in a new issue