Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 397901

Summary: [x11 overlay] media-libs/glmark2-2011.08 - ../src/texture.cpp:81:48: ошибка: expected type-specifier before ‘voidp’
Product: Gentoo Linux Reporter: Igor Ulyanov <disinbox>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: voidp type patch
emerge --info

Description Igor Ulyanov 2012-01-06 15:03:43 UTC
media-libs/glmark2-2011.08 fails to compile with:

../src/texture.cpp:81:48: ошибка: expected type-specifier before ‘voidp’
../src/texture.cpp:81:48: ошибка: expected ‘>’ before ‘voidp’
../src/texture.cpp:81:48: ошибка: expected ‘(’ before ‘voidp’
../src/texture.cpp:81:48: ошибка: нет декларации ‘voidp’ в этой области видимости

suggest applying patch below with change voidp to void* or including some header with voidp type declaration.

Reproducible: Always
Comment 1 Igor Ulyanov 2012-01-06 15:05:05 UTC
Created attachment 298091 [details]
voidp type patch

voidp type patch changing voidp to void*
Comment 2 Igor Ulyanov 2012-01-06 15:08:09 UTC
Created attachment 298093 [details]
emerge --info
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-01-09 12:48:34 UTC
Has a bug been reported upstream for this? What is the upstream status of this patch?
Comment 4 Igor Ulyanov 2012-01-10 16:33:32 UTC
I have not reported this bug upstream because i am not sure if it is not Gentoo specific and have no idea where have this voidp came from. Latest version bump in my local overlay 2011.12 have the same issue.
Comment 5 David Heidelberg (okias) 2013-08-07 13:22:09 UTC
Well, it's because libpng >=1.4, I try patch 2012.12 version and push it :)
Comment 6 David Heidelberg (okias) 2013-08-07 15:00:39 UTC
I fixed it, so now it should work. Try lastest 2012.12_p278 from x11 overlay :)
Comment 7 David Heidelberg (okias) 2014-01-07 20:29:17 UTC
Please close this bug, fixed in actual releases.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-01-07 22:32:39 UTC
Marking as fixed per comment 7.