Bug 91728 - [PATCH] libxine ioctl errors on amd64
Summary: [PATCH] libxine ioctl errors on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-12 23:40 UTC by Dan Ponte
Modified: 2006-02-05 17:24 UTC (History)
1 user (show)

See Also:


Attachments
xinepatch.diff (4.01 KB, patch)
2006-01-12 23:40 UTC, Dan Ponte
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Ponte 2006-01-12 23:40:03 UTC
	When using xine/libxine and trying to change the volume, one will receive errors such as the following in their dmesg:
WARNING pid 56010 (xine): ioctl sign-extension ioctl ffffffffc0044d04
	This is because libxine uses int for the request argument to ioctl(2). This is not a problem on i386, since sizeof(int) == sizeof(long). However, on amd64, where long is larger than int, it is a problem.

Fix: Apply the following patch:
How-To-Repeat: 	Use xine and try to change the volume with its interface.
Comment 1 Andrey Slusar freebsd_committer freebsd_triage 2006-01-13 16:32:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer
Comment 2 MANTANI Nobutaka freebsd_committer freebsd_triage 2006-02-05 17:24:23 UTC
State Changed
From-To: open->closed

Committed, thanks!