Bug 110243 - First pass at getting devel/pwlib to compile on 64bit under gcc4.1
Summary: First pass at getting devel/pwlib to compile on 64bit under gcc4.1
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 22:20 UTC by Steve Ames
Modified: 2007-03-13 13:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.15 KB, patch)
2007-03-12 22:20 UTC, Steve Ames
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ames 2007-03-12 22:20:04 UTC
	Using gcc4.1, devel/pwlib won't compile on 64bit machines due to
	an error in the way pointers are attempting to be cast. The attached
	patch (which has also been submitted upstream to vendor) should fix
	this problem allowing the application to compile. I don't have a
	64bit machine to test on so this is a hypothetical belief and there
	may be additional problems. I have tested this patch on 32-bit
	machines and there are no negative results.

Fix: This patch should be applied to devel/pwlib and adds a new file
	(devel/pwlib/files/patch-src-ptlib-unix-svcproc.cxx) which changes
	a few pointer casts from 'unigned' to 'unsigned long'. These casts
	are only used for debugging output.

	Patch applies from ports/devel directory.
Comment 1 Martin Wilke freebsd_committer 2007-03-13 10:59:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer 2007-03-13 13:25:14 UTC
miwi        2007-03-13 13:25:05 UTC

  FreeBSD ports repository

  Added files:
    devel/pwlib/files    patch-src-ptlib-unix-svcproc.cxx 
  Log:
  - Fix build with amd64 and gcc4.1
  
  PR:             110243
  Submitted by:   Steve Ames <steve@energistic.com> (maintainer)
  
  Revision  Changes    Path
  1.1       +26 -0     ports/devel/pwlib/files/patch-src-ptlib-unix-svcproc.cxx (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2007-03-13 13:25:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!