Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1078464 - add ppc64le support
Summary: add ppc64le support
Alias: None
Product: Fedora
Classification: Fedora
Component: graphviz
Version: rawhide
Hardware: ppc64le
OS: Linux
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
Reported: 2014-03-19 18:03 UTC by Menanteau Guy
Modified: 2014-03-19 21:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-03-19 21:19:54 UTC

Attachments (Terms of Use)
graphviz-2.34.0-ppc64le-support.patch (deleted)
2014-03-19 18:03 UTC, Menanteau Guy
no flags Details | Diff

Description Menanteau Guy 2014-03-19 18:03:52 UTC
Created attachment 876531 [details]

add ppc64le support

Version-Release number of selected component (if applicable):

Please consider following patch:

--- graphviz.spec.ori
+++ graphviz.spec
@@ -1,5 +1,5 @@
 # Necessary conditionals
-%ifarch ppc64 s390 s390x sparc64 %{arm} alpha aarch64
+%ifarch ppc64 ppc64le s390 s390x sparc64 %{arm} alpha aarch64
 %global SHARP  0
 %global SHARP  1
@@ -67,6 +67,8 @@ Patch3:                       graphviz-2.34.0-lefty-getaddri
 Patch4:                        graphviz-2.34.0-CVE-2014-0978-CVE-2014-1235.patch
 # Fix chknum overflow (CVE-2014-1236)
 Patch5:                        graphviz-2.34.0-CVE-2014-1236.patch
+# ppc64le support
+Patch6:                        graphviz-2.34.0-ppc64le-support.patch
 BuildRoot:             %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:         zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2
 BuildRequires:         ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig
@@ -274,6 +276,7 @@ Various tcl packages (extensions) for th
 %patch3 -p1 -b .lefty-getaddrinfo
 %patch4 -p1 -b .CVE-2014-0978-CVE-2014-1235
 %patch5 -p1 -b .CVE-2014-1236
+%patch6 -p1 -b .ppc64le-support

 # Attempt to fix rpmlint warnings about executable sources
 find -type f -regex '.*\.\(c\|h\)$' -exec chmod a-x {} ';'

Comment 1 Jaroslav Škarvada 2014-03-19 21:05:02 UTC
Thanks for the patch. The only modification I am using is the %power64 macro instead of the enumeration of arches.

Note You need to log in before you can comment on or make changes to this bug.