forked from pool/aespipe
Accepting request 243025 from Archiving:Backup
1 OBS-URL: https://build.opensuse.org/request/show/243025 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aespipe?expand=0&rev=5
This commit is contained in:
commit
eb85a1e0bf
27
aespipe-ppc64le.patch
Normal file
27
aespipe-ppc64le.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From e72eb6bcc737bc5b76645c95002d4cfdd0d92615 Mon Sep 17 00:00:00 2001
|
||||
From: Dinar Valeev <dvaleev@suse.com>
|
||||
Date: Tue, 29 Jul 2014 13:10:05 +0200
|
||||
Subject: [PATCH] le
|
||||
|
||||
---
|
||||
aes.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/aes.c b/aes.c
|
||||
index 9af72b8..29da9d7 100644
|
||||
--- a/aes.c
|
||||
+++ b/aes.c
|
||||
@@ -104,7 +104,11 @@
|
||||
# undef DATA_ALWAYS_ALIGNED
|
||||
# define DATA_ALWAYS_ALIGNED 1 /* unaligned access is always ok */
|
||||
#elif defined(__ppc__)||defined(__ppc)||defined(__PPC__)||defined(__PPC)||defined(__powerpc__)||defined(__powerpc)||defined(__POWERPC__)||defined(__POWERPC)||defined(__PowerPC__)||defined(__PowerPC)||defined(__ppc64__)||defined(__ppc64)||defined(__PPC64__)||defined(__PPC64)||defined(__powerpc64__)||defined(__powerpc64)||defined(__s390__)||defined(__s390)
|
||||
+#if defined(__LITTLE_ENDIAN__)
|
||||
+# define INTERNAL_BYTE_ORDER 1
|
||||
+#else
|
||||
# define INTERNAL_BYTE_ORDER 2
|
||||
+#endif
|
||||
# undef DATA_ALWAYS_ALIGNED
|
||||
# define DATA_ALWAYS_ALIGNED 1 /* unaligned access is always ok */
|
||||
#elif defined(__alpha__)||defined(__alpha)||defined(__ia64__)||defined(__ia64)
|
||||
--
|
||||
1.8.5.2
|
@ -1,4 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 11:21:56 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
- Fix PowerPC little endian build
|
||||
|
||||
- added patches:
|
||||
* aespipe-ppc64le.patch
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 1 12:13:33 UTC 2012 - bruno@ioda-net.ch
|
||||
|
||||
- Fix spec formatting and licence
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package aespipe
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products 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 @@ License: GPL-2.0
|
||||
Group: Productivity/Security
|
||||
Url: http://loop-aes.sourceforge.net/
|
||||
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
|
||||
Patch1: aespipe-ppc64le.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
||||
@ -37,6 +38,7 @@ compatible encrypted disk images.
|
||||
%prep
|
||||
%setup -q -n "aespipe-v%{version}"
|
||||
%__patch -p0 < aes-GPL.diff
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
|
Loading…
x
Reference in New Issue
Block a user