Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415745 - dev-php/pecl-apc-3.1.10-r1 fix version string
Summary: dev-php/pecl-apc-3.1.10-r1 fix version string
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 13:09 UTC by Qing Lei
Modified: 2012-05-29 18:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pecl-apc-3.1.10-r1.ebuild (file_415745.txt,1.65 KB, text/plain)
2012-05-13 13:09 UTC, Qing Lei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Qing Lei 2012-05-13 13:09:22 UTC
Created attachment 311623 [details]
pecl-apc-3.1.10-r1.ebuild

php_apc.h PHP_APC_VERSION is *3.1.9* in APC-3.1.10.tgz.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-15 14:36:08 UTC
Comment on attachment 311623 [details]
pecl-apc-3.1.10-r1.ebuild

--- pecl-apc-3.1.10.ebuild      2012-04-11 20:12:08.000000000 +0200
+++ pecl-apc-3.1.10-r1.ebuild   2012-05-15 16:35:09.000000000 +0200
@@ -37,6 +37,12 @@
 
 REQUIRED_USE="^^ ( $LUSE )"
 
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed -i -e 's/3.1.9/3.1.10/' php_apc.h || die "Sed failed!"
+}
+
 src_configure() {
        my_conf="--enable-apc"
        enable_extension_enable "apc-mmap" "mmap" 0


Somehow the attached file acquired CRLFs. Please attach a unified diff patch next time.
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2012-05-29 18:34:48 UTC
Um ... We'll call this an upstream issue. It is a masked beta version after all.