First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125451
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Skarby <cs@mmcp.no>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ebuild.patch Adds php 5 compliance patch when USE=php5 is active patch Christian Skarby 2006-03-08 02:12 0000 939 bytes Details | Diff
php5.patch PEAR-Mail_Mime/php5 reference passing patch Christian Skarby 2006-03-08 02:14 0000 2.81 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125451 depends on: Show dependency tree
Bug 125451 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-08 02:07 0000
Reference passing for objects is changed in php 5, triggering a lot of
E_STRICT errors. Please review appended patch which should make
dev-php/PEAR-Mail_Mime php5 compliant. Note that there is quite some time since
I wrote ebuilds regularily, so there might be an better approach than adding a
local use-flag.

------- Comment #1 From Christian Skarby 2006-03-08 02:12:21 0000 -------
Created an attachment (id=81673) [edit]
Adds php 5 compliance patch when USE=php5 is active

------- Comment #2 From Christian Skarby 2006-03-08 02:14:06 0000 -------
Created an attachment (id=81674) [edit]
PEAR-Mail_Mime/php5 reference passing

------- Comment #3 From Jakub Moc (RETIRED) 2006-03-08 02:45:30 0000 -------
We definitely won't be adding php4/php5 use flags. ;)

------- Comment #4 From Luca Longinotti 2006-03-08 03:58:10 0000 -------
If this patch fixes the pass-by-reference errors in PHP5 I don't see why we
wouldn't want to apply this also on PHP4 since there are probably the same
errors there, so I don't really see a need for an USE flag. ;)
I'll see to add the patch to our PEAR-Mail packages during the day and
hopefully upstream will fix this too in the next releases as it looks like a
relatively easy fix that shouldn't break anything.
Best regards, CHTEKK.

------- Comment #5 From Luca Longinotti 2006-03-09 12:48:06 0000 -------
The patch was added to dev-php/PEAR-Mail_Mime-1.3.1-r2, which is currently
marked unstable. Please emerge --sync in a few hours and test the new release,
the patch applies fine.
Best regards, CHTEKK.

------- Comment #6 From Jakub Moc (RETIRED) 2007-08-16 10:30:47 0000 -------
Still unfixed in 1.5.2 (!), please report this upstream, not really keen on
porting this patch over and over again.

http://pear.php.net/bugs/search.php?cmd=display&package_name[0]=Mail_Mime

First Last Prev Next    No search results available      Search page      Enter new bug