Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 934754 Details for
Bug 1138662
FTFBS on AArch64
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
patch + spec changeset
0001-Add-AArch64-support.patch (text/plain), 3.42 KB, created by
Marcin Juszkiewicz
on 2014-09-05 12:06:52 UTC
(
hide
)
Description:
patch + spec changeset
Filename:
MIME Type:
Creator:
Marcin Juszkiewicz
Created:
2014-09-05 12:06:52 UTC
Size:
3.42 KB
patch
obsolete
>From 7cab2287a1a43515ca6fb410b7fbcfd5b5c8f8ce Mon Sep 17 00:00:00 2001 >From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> >Date: Fri, 5 Sep 2014 14:02:44 +0200 >Subject: [PATCH] Add AArch64 support > >--- > djview4-aarch64.patch | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ > djview4.spec | 7 +++++- > 2 files changed, 69 insertions(+), 1 deletion(-) > create mode 100644 djview4-aarch64.patch > >diff --git a/djview4-aarch64.patch b/djview4-aarch64.patch >new file mode 100644 >index 0000000..bf9fc34 >--- /dev/null >+++ b/djview4-aarch64.patch >@@ -0,0 +1,63 @@ >+Index: djview4-4.9/nsdejavu/npsdk/prcpucfg.h >+=================================================================== >+--- djview4-4.9.orig/nsdejavu/npsdk/prcpucfg.h >++++ djview4-4.9/nsdejavu/npsdk/prcpucfg.h >+@@ -695,6 +695,57 @@ >+ #define PR_BYTES_PER_WORD_LOG2 2 >+ #define PR_BYTES_PER_DWORD_LOG2 3 >+ >++#elif defined(__aarch64__) >++ >++#ifdef __AARCH64EL__ >++#define IS_LITTLE_ENDIAN 1 >++#undef IS_BIG_ENDIAN >++#else >++#define IS_BIG_ENDIAN 1 >++#undef IS_LITTLE_ENDIAN >++#endif >++#define IS_64 >++ >++#define PR_BYTES_PER_BYTE 1 >++#define PR_BYTES_PER_SHORT 2 >++#define PR_BYTES_PER_INT 4 >++#define PR_BYTES_PER_INT64 8 >++#define PR_BYTES_PER_LONG 8 >++#define PR_BYTES_PER_FLOAT 4 >++#define PR_BYTES_PER_DOUBLE 8 >++#define PR_BYTES_PER_WORD 8 >++#define PR_BYTES_PER_DWORD 8 >++ >++#define PR_BITS_PER_BYTE 8 >++#define PR_BITS_PER_SHORT 16 >++#define PR_BITS_PER_INT 32 >++#define PR_BITS_PER_INT64 64 >++#define PR_BITS_PER_LONG 64 >++#define PR_BITS_PER_FLOAT 32 >++#define PR_BITS_PER_DOUBLE 64 >++#define PR_BITS_PER_WORD 64 >++ >++#define PR_BITS_PER_BYTE_LOG2 3 >++#define PR_BITS_PER_SHORT_LOG2 4 >++#define PR_BITS_PER_INT_LOG2 5 >++#define PR_BITS_PER_INT64_LOG2 6 >++#define PR_BITS_PER_LONG_LOG2 6 >++#define PR_BITS_PER_FLOAT_LOG2 5 >++#define PR_BITS_PER_DOUBLE_LOG2 6 >++#define PR_BITS_PER_WORD_LOG2 6 >++ >++#define PR_ALIGN_OF_SHORT 2 >++#define PR_ALIGN_OF_INT 4 >++#define PR_ALIGN_OF_LONG 8 >++#define PR_ALIGN_OF_INT64 8 >++#define PR_ALIGN_OF_FLOAT 4 >++#define PR_ALIGN_OF_DOUBLE 8 >++#define PR_ALIGN_OF_POINTER 8 >++#define PR_ALIGN_OF_WORD 8 >++ >++#define PR_BYTES_PER_WORD_LOG2 3 >++#define PR_BYTES_PER_DWORD_LOG2 3 >++ >+ #else >+ >+ #error "Unknown CPU architecture" >+ >diff --git a/djview4.spec b/djview4.spec >index c1df328..fd701bc 100644 >--- a/djview4.spec >+++ b/djview4.spec >@@ -1,12 +1,13 @@ > Summary: DjVu viewer > Name: djview4 > Version: 4.9 >-Release: 5%{?dist} >+Release: 6%{?dist} > License: GPLv2+ > Group: Applications/Publishing > URL: http://djvu.sourceforge.net/djview4.html > Source: http://downloads.sourceforge.net/project/djvu/DjView/%{version}/djview-%{version}.tar.gz > Patch1: djview-4.8-include.patch >+Patch2: djview4-aarch64.patch > BuildRequires: qt-devel >= 4.2 > BuildRequires: desktop-file-utils > BuildRequires: djvulibre-devel >= 3.5.19 >@@ -35,6 +36,7 @@ This package provides a browser plugin for the DjVu document viewer. > %prep > %setup -q > %patch1 -p1 >+%patch2 -p1 > %{__sed} -i -e '1 d' desktopfiles/djvulibre-djview4.desktop > > %build >@@ -87,6 +89,9 @@ fi > %{_mandir}/man1/nsdejavu.1* > > %changelog >+* Fri Sep 05 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 4.9-6 >+- Add AArch64 support >+ > * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9-5 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >-- >2.1.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1138662
: 934754