Bug 917400

Summary: header include/hidsdi.h lacks HidD_GetHidGuid()
Product: [Fedora] Fedora Reporter: Conrad Meyer <cse.cem+redhatbugz>
Component: mingw-headersAssignee: Erik van Pienbroek <erik-fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: erik-fedora, kalevlember, ktietz, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-libsoup-2.42.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-14 04:37:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add HidD_GetHidGuid() to include/hidsdi.h none

Description Conrad Meyer 2013-03-03 22:52:02 UTC
On F-17 and possibly newer Fedoras, mingw32-headers

Comment 1 Conrad Meyer 2013-03-03 22:56:58 UTC
Created attachment 704670 [details]
Patch to add HidD_GetHidGuid() to include/hidsdi.h

Damnit, hit enter on accident.

On F-17 and possibly newer Fedoras, mingw32-headers lacks HidD_GetHidGuid(). This API is described on MSDN, and I have a trivial patch for the header. (An application I was cross-compiling for a friend depended on this function.)

Comment 2 Conrad Meyer 2013-03-03 23:29:41 UTC
And I can confirm this API is missing from the latest rawhide snapshot, 20130216.

Comment 3 Conrad Meyer 2013-03-03 23:29:59 UTC
Should I file an upstream bug? Where is upstream?

Comment 4 Erik van Pienbroek 2013-03-03 23:43:37 UTC
Upstream mingw-w64 can be found at http://mingw-w64.sourceforge.net/
I'm sure Kai Tietz (upstream mingw-w64 developer) is also reading along so I think this bug report should be sufficient for now for him to notice.

Comment 5 Conrad Meyer 2013-03-03 23:55:38 UTC
Okay, great =).

Comment 6 Erik van Pienbroek 2013-05-09 12:09:09 UTC
I just proposed the patch upstream and it got accepted: http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=5848

An updated version of the mingw-headers package will arrive in Fedora 19 and rawhide soon

Comment 7 Fedora Update System 2013-05-09 13:32:56 UTC
mingw-libsoup-2.42.1-1.fc19, mingw-harfbuzz-0.9.16-1.fc19, mingw-glib-networking-2.36.1-1.fc19, mingw-headers-2.0.999-0.23.trunk.20130509.fc19, mingw-crt-2.0.999-0.23.trunk.20130509.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mingw-libsoup-2.42.1-1.fc19,mingw-headers-2.0.999-0.23.trunk.20130509.fc19,mingw-harfbuzz-0.9.16-1.fc19,mingw-glib-networking-2.36.1-1.fc19,mingw-crt-2.0.999-0.23.trunk.20130509.fc19

Comment 8 Conrad Meyer 2013-05-09 14:50:58 UTC
Awesome, thanks Erik.

Comment 9 Fedora Update System 2013-05-09 17:56:54 UTC
Package mingw-libsoup-2.42.1-1.fc19, mingw-harfbuzz-0.9.16-1.fc19, mingw-glib-networking-2.36.1-1.fc19, mingw-headers-2.0.999-0.23.trunk.20130509.fc19, mingw-crt-2.0.999-0.23.trunk.20130509.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-libsoup-2.42.1-1.fc19 mingw-harfbuzz-0.9.16-1.fc19 mingw-glib-networking-2.36.1-1.fc19 mingw-headers-2.0.999-0.23.trunk.20130509.fc19 mingw-crt-2.0.999-0.23.trunk.20130509.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7773/mingw-libsoup-2.42.1-1.fc19,mingw-headers-2.0.999-0.23.trunk.20130509.fc19,mingw-harfbuzz-0.9.16-1.fc19,mingw-glib-networking-2.36.1-1.fc19,mingw-crt-2.0.999-0.23.trunk.20130509.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-05-14 04:37:01 UTC
mingw-libsoup-2.42.1-1.fc19, mingw-harfbuzz-0.9.16-1.fc19, mingw-glib-networking-2.36.1-1.fc19, mingw-headers-2.0.999-0.23.trunk.20130509.fc19, mingw-crt-2.0.999-0.23.trunk.20130509.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.