diff options
author | 2011-08-16 06:15:27 +0000 | |
---|---|---|
committer | 2011-08-16 06:15:27 +0000 | |
commit | d68d4b2d8dc282ec21d777252b9152e318e8a28e (patch) | |
tree | 6a79b57d2bf93f795c1d52f90e2daac4a4c3d0a4 /x11-misc/xosview/files | |
parent | Fixed dependency on nss and nspr (bug #379341) (diff) | |
download | historical-d68d4b2d8dc282ec21d777252b9152e318e8a28e.tar.gz historical-d68d4b2d8dc282ec21d777252b9152e318e8a28e.tar.bz2 historical-d68d4b2d8dc282ec21d777252b9152e318e8a28e.zip |
Fixed build on alpha (bug #339462). Report and fix by Kazuyoshi Furutaka.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/xosview/files')
-rw-r--r-- | x11-misc/xosview/files/xosview-1.8.3-alpha-build-fix.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/xosview/files/xosview-1.8.3-alpha-build-fix.patch b/x11-misc/xosview/files/xosview-1.8.3-alpha-build-fix.patch new file mode 100644 index 000000000000..def92a3b05f9 --- /dev/null +++ b/x11-misc/xosview/files/xosview-1.8.3-alpha-build-fix.patch @@ -0,0 +1,21 @@ +fix build failure on Alpha + + $ alpha-unknown-linux-gnu-g++ -mieee -pipe -O2 -mcpu=ev4 -mieee -pipe -O2 ... -c intmeter.cc -o intmeter.o + intmeter.cc:16:21: fatal error: asm/irq.h: No such file or directory + compilation terminated. + make[1]: *** [intmeter.o] Error 1 + +Patch by Kazuyoshi Furutaka <furutaka@jb3.so-net.ne.jp> +diff -uNr xosview-1.8.3.orig/linux/intmeter.cc xosview-1.8.3/linux/intmeter.cc +--- xosview-1.8.3.orig/linux/intmeter.cc 2006-02-18 13:33:06.000000000 +0900 ++++ xosview-1.8.3/linux/intmeter.cc 2010-10-02 21:04:14.000000000 +0900 +@@ -12,9 +12,6 @@ + #include <fstream> + #include <sstream> + #include <stdlib.h> +-#ifdef __alpha__ +-#include <asm/irq.h> +-#endif + + + static const char *INTFILE = "/proc/interrupts"; |