Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1078464 - add ppc64le support
Summary: add ppc64le support
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: graphviz
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
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:
Environment:
Last Closed: 2014-03-19 21:19:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
graphviz-2.34.0-ppc64le-support.patch (2.86 KB, patch)
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]
graphviz-2.34.0-ppc64le-support.patch

add ppc64le support

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

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
 %else
 %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.