Bug 158423 - [PATCH] lang/php52: fix segmentation faults by adding threads support
Summary: [PATCH] lang/php52: fix segmentation faults by adding threads support
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: Julien Laffaye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 11:00 UTC by Frank Wall
Modified: 2011-06-29 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.06 KB, patch)
2011-06-29 11:00 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2011-06-29 11:00:18 UTC
As per discussion on ports@FreeBSD.org, @ale recommends to enable threads support for lang/php52. This should fix segmentation faults with various PHP extensions. It has proven to work with lang/php5.

Fix: apply the patch (untested)

Patch attached with submission follows:
How-To-Repeat: See thread "php5-5.3.6_1 with Segmentation fault (amd64)" on ports@FreeBSD.org. This also applies to PHP 5.2.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-29 11:00:36 UTC
Maintainer of lang/php52,

Please note that PR ports/158423 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158423

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-29 11:00:39 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 admin 2011-06-29 11:08:18 UTC
please, commit this
Comment 4 Julien Laffaye freebsd_committer freebsd_triage 2011-06-29 14:56:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jlaffaye

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-06-29 20:51:30 UTC
jlaffaye    2011-06-29 19:51:17 UTC

  FreeBSD ports repository

  Modified files:
    lang/php52           Makefile 
  Log:
  Add an option to link against libthr
  
  PR:             ports/158423
  Submitted by:   Frank Wall <fw@moov.de>
  Approved by:    Alex Keda <admin@lissyara.su> (maintainer), bapt (mentor, implicit)
  
  Revision  Changes    Path
  1.18      +7 -1      ports/lang/php52/Makefile
_______________________________________________
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 6 Julien Laffaye freebsd_committer freebsd_triage 2011-06-29 20:55:49 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!