forked from pool/mmc-utils
Accepting request 360012 from home:michel_mno:branches:hardware
- new do_not_use_asm_generic.patch to avoid PowerPC build error OBS-URL: https://build.opensuse.org/request/show/360012 OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=5
This commit is contained in:
parent
63965515c6
commit
60a8f79e86
24
do_not_use_asm_generic.patch
Normal file
24
do_not_use_asm_generic.patch
Normal 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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user