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 1070331 - Trivial fix to enable ppc64le for glew
Summary: Trivial fix to enable ppc64le for glew
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glew
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-02-26 15:45 UTC by Menanteau Guy
Modified: 2014-05-03 11:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-03 11:57:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Menanteau Guy 2014-02-26 15:45:02 UTC
Please consider the following trivial patch to the glew package which corrects an issue on ppc64le:
config/config.guess: unable to guess system type

Version-Release number:
glew-1.10.0

How reproducible:
build with --target ppc64le

spec changes:
--- glew.spec.ori
+++ glew.spec
@@ -9,6 +9,7 @@ URL:            http://glew.sourceforge.
 Source0:        http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
 Patch0:                0001-BUILD-respect-DESTDIR-variable.patch
 Patch1:         glew-1.9.0-makefile.patch
+Patch2:         glew-1.10.0-ppc64le-support.patch
 BuildRequires:  libGLU-devel

 %description
@@ -51,6 +52,7 @@ libGLEWmx
 %setup -q
 %patch0 -p1 -b .bld
 %patch1 -p1 -b .make
+%patch2 -p1 -b .ppc64le

 sed -i -e 's/\r//g' config/config.guess


new glew-1.10.0-ppc64le-support.patch patch:
--- glew-1.10.0/config/config.guess.ori
+++ glew-1.10.0/config/config.guess
@@ -965,6 +965,9 @@ EOF
     ppc64:Linux:*:*)
        echo powerpc64-unknown-linux-gnu
        exit ;;
+    ppc64le:Linux:*:*)
+       echo powerpc64le-unknown-linux-gnu
+       exit ;;
     ppc:Linux:*:*)
        echo powerpc-unknown-linux-gnu
        exit ;;

Comment 1 Peter Robinson 2014-05-03 11:57:30 UTC
I've updated to the config.guess as shippd in redhat-rpm-config


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