parent
408d52b04e
commit
30ea4b666c
32
tigervnc-ppc64le.patch
Normal file
32
tigervnc-ppc64le.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From cf3b41ab32a894c19de50a2759a38c90cc2c8351 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
|
||||||
|
Date: Wed, 19 Mar 2014 13:51:18 -0500
|
||||||
|
Subject: [PATCH] Add support for ppc64le architecture.
|
||||||
|
|
||||||
|
---
|
||||||
|
unix/xserver/include/servermd.h | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/unix/xserver/include/servermd.h b/unix/xserver/include/servermd.h
|
||||||
|
index 11f6c10..17951da 100644
|
||||||
|
--- a/unix/xserver/include/servermd.h
|
||||||
|
+++ b/unix/xserver/include/servermd.h
|
||||||
|
@@ -114,9 +114,15 @@ SOFTWARE.
|
||||||
|
|
||||||
|
#if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__)
|
||||||
|
|
||||||
|
+#if defined(__BIG_ENDIAN__)
|
||||||
|
#define IMAGE_BYTE_ORDER MSBFirst
|
||||||
|
#define BITMAP_BIT_ORDER MSBFirst
|
||||||
|
#define GLYPHPADBYTES 4
|
||||||
|
+#else
|
||||||
|
+#define IMAGE_BYTE_ORDER LSBFirst
|
||||||
|
+#define BITMAP_BIT_ORDER LSBFirst
|
||||||
|
+#define GLYPHPADBYTES 4
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#endif /* PowerPC */
|
||||||
|
|
||||||
|
--
|
||||||
|
1.9.0
|
||||||
|
|
@ -53,6 +53,7 @@ Patch11: tigervnc-format-security.patch
|
|||||||
Patch12: tigervnc-zrle-crash.patch
|
Patch12: tigervnc-zrle-crash.patch
|
||||||
Patch13: tigervnc-cursor.patch
|
Patch13: tigervnc-cursor.patch
|
||||||
Patch14: tigervnc-xstartup.patch
|
Patch14: tigervnc-xstartup.patch
|
||||||
|
Patch15: tigervnc-ppc64le.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Network Computing (VNC) is a remote display system which
|
Virtual Network Computing (VNC) is a remote display system which
|
||||||
@ -189,6 +190,9 @@ popd
|
|||||||
# Clearer xstartup file (bug #923655).
|
# Clearer xstartup file (bug #923655).
|
||||||
%patch14 -p1 -b .xstartup
|
%patch14 -p1 -b .xstartup
|
||||||
|
|
||||||
|
# Add ppc64le support (bug #1078495).
|
||||||
|
%patch15 -p1 -b .ppc64le
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch sparcv9 sparc64 s390 s390x
|
%ifarch sparcv9 sparc64 s390 s390x
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
@ -363,6 +367,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 27 2014 Tim Waugh <twaugh@redhat.com> 1.3.1-1
|
* Thu Mar 27 2014 Tim Waugh <twaugh@redhat.com> 1.3.1-1
|
||||||
- 1.3.1 (bug #1078806).
|
- 1.3.1 (bug #1078806).
|
||||||
|
- Add ppc64le support (bug #1078495).
|
||||||
|
|
||||||
* Wed Mar 19 2014 Tim Waugh <twaugh@redhat.com> 1.3.0-15
|
* Wed Mar 19 2014 Tim Waugh <twaugh@redhat.com> 1.3.0-15
|
||||||
- Disable dri3 to enable building (bug #1063392).
|
- Disable dri3 to enable building (bug #1063392).
|
||||||
|
Loading…
Reference in New Issue
Block a user