Bug 91566 - [MAINTAINER-UPDATE] x11-wm/transset-df: fix build on 4.x, USE_GETOPT_LONG
Summary: [MAINTAINER-UPDATE] x11-wm/transset-df: fix build on 4.x, USE_GETOPT_LONG
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 20:20 UTC by Andreas Kohn
Modified: 2006-01-10 12:47 UTC (History)
0 users

See Also:


Attachments
transset-df-4.x.diff (1018 bytes, patch)
2006-01-09 20:20 UTC, Andreas Kohn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kohn 2006-01-09 20:20:03 UTC

Daniel <daniel@netwalk.org> reported that transset-df doesn't build
on his FreeBSD 4.x system, and the error message points to getopt().

I have no 4.x system, but I assume that adding USE_GETOPT_LONG should fix the build in this case. 
Also for 4.x, move some variable declaration up, to please gcc 2.95.

How-To-Repeat: 

Try to compile transset-df on 4.x/with gcc 2.95
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-01-10 12:47:37 UTC
State Changed
From-To: open->closed

Committed, thanks!