Bug 102919 - PATCH: net/samba3 and derivatives use wrong gssapi.h header
Summary: PATCH: net/samba3 and derivatives use wrong gssapi.h header
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: Coleman Kane
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 21:10 UTC by Coleman Kane
Modified: 2006-10-07 17:29 UTC (History)
0 users

See Also:


Attachments
file.diff (394 bytes, patch)
2006-09-05 21:10 UTC, Coleman Kane
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coleman Kane freebsd_committer freebsd_triage 2006-09-05 21:10:22 UTC
	I have noticed that the net/samba3, net/samba-libsmbclient and probably
	other samba3-derived ports complain about #include <gssapi.h> being 
	deprecated in favor of #include <gssapi/gssapi.h>. Since we have the
	#warning header installed, the auto-search for the "appropriate"
	gssapi.h (gssapi/gssapi.h) fails to find the correct one, because
	of the search order. The attached patch reverses part of the search
	order, so that the correct <gssapi/gssapi.h> header takes prescedence
	over the stub <gssapi.h>.

Fix: Attached patch should be put into 
/usr/ports/net/samba3/files/patch-includes.h:
How-To-Repeat: 	Build net/samba3 or net/samba-libsmbclient from ports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-09-05 21:10:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cokane

Submitter has GNATS access
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-09-05 21:10:40 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Timur I. Bakeyev 2006-09-12 01:30:02 UTC
Hi Coleman!

I've added your fixe to the PR ports/103170, so it'd be Ok for our port. I'll
try to propagate your fix to the Samba team (or you can do it yourself via
their bugzilla).

Thank you for reporting about this problem! Unfortunatelly, Samba team
doesn't have any FreeBSD 6/7 build boxes, so they can't make sure that
fresh versions of their code work ok with this branches of FreeBSD. So
reports here are essential!

With best regards,
Timur Bakeyev.
Comment 4 Shaun Amott freebsd_committer freebsd_triage 2006-10-07 17:29:09 UTC
State Changed
From-To: feedback->closed

Fix was applied as part of ports/103170.