Package: linuxinfo / 1.1.8-34

01_infrastructure Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# Description: Add required infrastructure for new archs & use tar not gtar
# Author: Ola Lundqvist <opal@debian.org>
# Author: Helge Kreutzmann <debian@helgefjell.de>
# Last-Update: 2010-02-01

Index: linuxinfo-1.1.8-30/linuxinfo.h
===================================================================
--- linuxinfo-1.1.8-30.orig/linuxinfo.h	2010-02-15 10:14:27.839603385 +0100
+++ linuxinfo-1.1.8-30/linuxinfo.h	2010-02-15 10:14:32.115543802 +0100
@@ -18,6 +18,8 @@
 	1.0.8	AIB	1999????	Ported to ARM architecture.
 	1.1.3	AIB	1999????	mc68000 define replaced with __mc68000__
 	1.1.4	AIB	20000405	Moved strstr() to linuxinfo_common.h
+        1.1.5   OPAL	20021225	Added hppa
+	1.1.8   KRE     20040429        Added mips
 
 */
 
@@ -28,11 +30,11 @@
 #define system_unknown
 #endif
 
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
 #define system_intel
 #endif
 
-#if defined(m68000)
+#if defined(__mc68000__)
 #define system_m68k
 #endif 
 
@@ -44,6 +46,14 @@
 #define system_sparc
 #endif
 
+#if defined(__s390__)
+#define system_s390
+#endif
+
+#if defined(__hppa__)
+#define system_hppa
+#endif
+
 #if defined(__PPC__)
 #define system_ppc
 #endif
@@ -52,6 +62,14 @@
 #define system_arm
 #endif
 
+#if defined(__ia64__)
+#define system_ia64
+#endif
+
+#if defined(__mips__)
+#define system_mips
+#endif
+
 #if (SIZEOF_LONG > 4)
 #define LONGLONG long int
 #define LONGSPEC "%ld"
Index: linuxinfo-1.1.8-30/Makefile.am
===================================================================
--- linuxinfo-1.1.8-30.orig/Makefile.am	2010-02-15 10:14:27.847603536 +0100
+++ linuxinfo-1.1.8-30/Makefile.am	2010-02-15 10:15:55.722369838 +0100
@@ -1,9 +1,10 @@
 bin_PROGRAMS      = linuxinfo
 linuxinfo_SOURCES = linuxinfo.c linuxinfo.h \
 		    linuxinfo_common.c linuxinfo_arm.c \
-		    linuxinfo_alpha.c linuxinfo_intel.c \
-		    linuxinfo_m68k.c linuxinfo_ppc.c \
-		    linuxinfo_sparc.c linuxinfo_unknown.c
+		    linuxinfo_alpha.c linuxinfo_ia64.c linuxinfo_intel.c \
+		    linuxinfo_m68k.c linuxinfo_ppc.c linuxinfo_sh.c \
+		    linuxinfo_hppa.c linuxinfo_s390.c linuxinfo_avr.c \
+		    linuxinfo_sparc.c linuxinfo_mips.c linuxinfo_unknown.c
 man_MANS          = linuxinfo.1
 EXTRA_DIST        = linuxinfo.1 CREDITS
 VERSION	          = 1.1.8
Index: linuxinfo-1.1.8-30/Makefile.in
===================================================================
--- linuxinfo-1.1.8-30.orig/Makefile.in	2010-02-15 10:14:27.859603120 +0100
+++ linuxinfo-1.1.8-30/Makefile.in	2010-02-15 10:16:34.733822773 +0100
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -64,7 +64,7 @@
 PACKAGE = @PACKAGE@
 
 bin_PROGRAMS = linuxinfo
-linuxinfo_SOURCES = linuxinfo.c linuxinfo.h 		    linuxinfo_common.c linuxinfo_arm.c 		    linuxinfo_alpha.c linuxinfo_intel.c 		    linuxinfo_m68k.c linuxinfo_ppc.c 		    linuxinfo_sparc.c linuxinfo_unknown.c
+linuxinfo_SOURCES = linuxinfo.c linuxinfo.h 		    linuxinfo_common.c linuxinfo_arm.c 		    linuxinfo_alpha.c linuxinfo_ia64.c linuxinfo_intel.c 		    linuxinfo_m68k.c linuxinfo_ppc.c 		    linuxinfo_hppa.c linuxinfo_s390.c linuxinfo_mips.c 		    linuxinfo_sparc.c  linuxinfo_sh.c linuxinfo_avr.c linuxinfo_unknown.c
 
 man_MANS = linuxinfo.1
 EXTRA_DIST = linuxinfo.1 CREDITS
@@ -80,8 +80,9 @@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 linuxinfo_OBJECTS =  linuxinfo.o linuxinfo_common.o linuxinfo_arm.o \
-linuxinfo_alpha.o linuxinfo_intel.o linuxinfo_m68k.o linuxinfo_ppc.o \
-linuxinfo_sparc.o linuxinfo_unknown.o
+linuxinfo_alpha.o linuxinfo_ia64.o linuxinfo_intel.o linuxinfo_m68k.o \
+linuxinfo_ppc.o linuxinfo_hppa.o linuxinfo_s390.o linuxinfo_sparc.o \
+linuxinfo_mips.o linuxinfo_sh.o linuxinfo_avr.o linuxinfo_unknown.o
 linuxinfo_LDADD = $(LDADD)
 linuxinfo_DEPENDENCIES = 
 linuxinfo_LDFLAGS = 
@@ -100,12 +101,13 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 DEP_FILES =  .deps/linuxinfo.P .deps/linuxinfo_alpha.P \
-.deps/linuxinfo_arm.P .deps/linuxinfo_common.P .deps/linuxinfo_intel.P \
-.deps/linuxinfo_m68k.P .deps/linuxinfo_ppc.P .deps/linuxinfo_sparc.P \
-.deps/linuxinfo_unknown.P
+.deps/linuxinfo_arm.P .deps/linuxinfo_common.P .deps/linuxinfo_hppa.P \
+.deps/linuxinfo_ia64.P .deps/linuxinfo_intel.P .deps/linuxinfo_m68k.P \
+.deps/linuxinfo_ppc.P .deps/linuxinfo_s390.P .deps/linuxinfo_sparc.P \
+.deps/linuxinfo_mips.P .deps/linuxinfo_sh.P .deps/linuxinfo_unknown.P
 SOURCES = $(linuxinfo_SOURCES)
 OBJECTS = $(linuxinfo_OBJECTS)
 
@@ -229,7 +231,7 @@
 	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
-	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
 
 mostlyclean-tags: