~ubuntu-branches/ubuntu/wily/hwinfo/wily-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0003-This-patch-adds-a-basic-support-for-m68k-and-ppc64-a.patch

  • Committer: Package Import Robot
  • Author(s): Sebastien Badia, Tomasz Buchert, Sebastien Badia
  • Date: 2014-10-07 11:44:23 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20141007114423-6c5zqa5zb2iqw87t
Tags: 21.6-1
[ Tomasz Buchert ]
* New upstream release.

[ Sebastien Badia ]
* d/copyright: Update copyright header.
* Re-introduce upstream changelog (Thanks Johann).
* d/control: Bump Standards-Version to 3.9.6 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Tomasz Buchert <tomasz.buchert@inria.fr>
 
2
Date: Sat, 1 Feb 2014 14:26:41 +0100
 
3
Subject: This patch adds a basic support for m68k and ppc64 architectures.
 
4
 
 
5
---
 
6
 src/hd/hd.c | 12 ++++++++++++
 
7
 1 file changed, 12 insertions(+)
 
8
 
 
9
diff --git a/src/hd/hd.c b/src/hd/hd.c
 
10
index 98597e0..5f5e54e 100644
 
11
--- a/src/hd/hd.c
 
12
+++ b/src/hd/hd.c
 
13
@@ -151,6 +151,18 @@
 
14
 #define HD_ARCH "68k"
 
15
 #endif
 
16
 
 
17
+#ifdef __mc68000__
 
18
+#define HD_ARCH "m68k"
 
19
+#endif
 
20
+
 
21
+#ifdef __powerpc64__
 
22
+#define HD_ARCH "ppc64"
 
23
+#endif
 
24
+
 
25
+#ifdef __sh__
 
26
+#define HD_ARCH "sh"
 
27
+#endif
 
28
+
 
29
 typedef struct disk_s {
 
30
   struct disk_s *next;
 
31
   unsigned crc;