SHA256
1
0
forked from pool/mmc-utils
Dominique Leuenberger 2016-02-22 07:57:26 +00:00 committed by Git OBS Bridge
commit e2b136fd49
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: do not use asm generic
Date: Wed, 17 Feb 2016 18:44:43 +0100
do not use <asm_generic/int-ll64.h> to avoid build error on PowerPC arch
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
mmc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mmc-utils-20151118/mmc.h
===================================================================
--- mmc-utils-20151118.orig/mmc.h
+++ mmc-utils-20151118/mmc.h
@@ -14,7 +14,7 @@
* Boston, MA 021110-1307, USA.
*/
-#include <asm-generic/int-ll64.h>
+#include <asm/types.h>
#include <linux/mmc/ioctl.h>
#include <stdio.h>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 17 17:47:54 UTC 2016 - normand@linux.vnet.ibm.com
- new do_not_use_asm_generic.patch to avoid PowerPC build error
-------------------------------------------------------------------
Sat Dec 5 13:11:57 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package mmc-utils
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ Group: Hardware/Other
Url: http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
Source0: %{name}-%{version}.tar.xz
Source1: https://www.gnu.org/licenses/gpl-2.0.txt
Patch0: do_not_use_asm_generic.patch
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -34,6 +35,7 @@ Userspace tools for controlling and querying MMC/SD storage devices
%prep
%setup -q
cp %{SOURCE1} LICENSE.GPL-2.0
%patch0 -p1
%build
export CFLAGS="%{optflags}"