Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397901 - [x11 overlay] media-libs/glmark2-2011.08 - ../src/texture.cpp:81:48: ошибка: expected type-specifier before ‘voidp’
Summary: [x11 overlay] media-libs/glmark2-2011.08 - ../src/texture.cpp:81:48: ошибка: ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2012-01-06 15:03 UTC by Igor Ulyanov
Modified: 2014-03-18 22:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

voidp type patch (voidp.patch,529 bytes, text/plain)
2012-01-06 15:05 UTC, Igor Ulyanov
emerge --info (einfo,4.77 KB, text/plain)
2012-01-06 15:08 UTC, Igor Ulyanov

Note You need to log in before you can comment on or make changes to this bug.
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.