SHA256
1
0
forked from pool/hxtools

Accepting request 228870 from home:dirkmueller:branches:utilities

- add remove-conflicting-types.diff, fixes build 
  failure on aarch64

OBS-URL: https://build.opensuse.org/request/show/228870
OBS-URL: https://build.opensuse.org/package/show/utilities/hxtools?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2014-04-03 12:03:50 +00:00 committed by Git OBS Bridge
parent eec9ead8b8
commit 1271ce9ece
3 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 3 11:21:18 UTC 2014 - dmueller@suse.com
- add remove-conflicting-types.diff, fixes build
failure on aarch64
-------------------------------------------------------------------
Tue Mar 25 18:41:41 UTC 2014 - jengelh@inai.de

View File

@ -27,6 +27,7 @@ Url: http://inai.de/projects/hxtools/
Source: http://jftp.inai.de/hxtools/%name-%version.tar.xz
Source2: http://jftp.inai.de/hxtools/%name-%version.tar.asc
Source3: %name.keyring
Patch0: remove-conflicting-types.diff
# This package has a "Upstream First" policy for patches.
# See https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
BuildRequires: fdupes
@ -162,6 +163,7 @@ an entire mount.
%prep
%setup -q
%patch0
%build
%configure

View File

@ -0,0 +1,16 @@
--- sadmin/xfs_irecover.c
+++ sadmin/xfs_irecover.c
@@ -42,12 +42,7 @@
#include <libHX/proc.h>
#include <libHX/string.h>
#include <arpa/inet.h>
-
-typedef int8_t __s8;
-typedef uint8_t __u8;
-typedef uint16_t __be16;
-typedef uint32_t __be32;
-typedef uint64_t __be64;
+#include <linux/types.h>
struct work_info {
char *device;