Bug 127533

Summary: print/pecl-ps - Updated port to include patch to fix 64bit segfault
Product: Ports & Packages Reporter: Alan Garfield <alan>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me CC: alan
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pecl-ps-1.3.4.shar none

Description Alan Garfield 2008-09-22 06:20:00 UTC
	pecl-ps crashes under 64bit freebsd, included is a patch to fix the culprit from an int to a long.

	I've submitted this patch to the original author of the library who seems to think this is a FreeBSD specific problem and therefore ignored my patch. Without the resources/time to fully examine this, I've submitted the patch to here so that portmanager and the like won't cause my system to start crashing again whenever they re-compile pecl-ps. :)

	The patch simply changes the type of 'imageid' from an incorrectly specified int to a long, so it shouldn't pose any problem to any system anyway.

How-To-Repeat: 	Compile pecl-ps on a 64 bit system and attempt to use an image based function (eg. ps_open_image_file)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-22 06:24:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-09-26 10:40:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-09-26 10:43:14 UTC
miwi        2008-09-26 09:41:27 UTC

  FreeBSD ports repository

  Modified files:
    print/pecl-ps        Makefile 
  Added files:
    print/pecl-ps/files  patch-ps.c 
  Log:
  - Fix segfault on amd64
  - Bump PORTREVISION
  
  PR:             127533
  Submitted by:   Alan Garfield <alan@fromorbit.com> (maintainer)
  
  Revision  Changes    Path
  1.5       +1 -1      ports/print/pecl-ps/Makefile
  1.1       +66 -0     ports/print/pecl-ps/files/patch-ps.c (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"