Bug 127533 - print/pecl-ps - Updated port to include patch to fix 64bit segfault
Summary: print/pecl-ps - Updated port to include patch to fix 64bit segfault
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: 2008-09-22 06:20 UTC by Alan Garfield
Modified: 2008-09-26 10:50 UTC (History)
1 user (show)

See Also:


Attachments
pecl-ps-1.3.4.shar (3.74 KB, text/plain)
2008-09-22 06:20 UTC, Alan Garfield
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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"