• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..11-Jul-201412

arches.patchH A D19-Aug-20112.9 KiB

dSYM.patchH A D30-Nov-2011430

fpm.patchH A D17-Jan-20144.1 MiB

fpm.READMEH A D30-Nov-20111.2 KiB

iconv.patchH A D26-Jul-2010371

MacOSX_build.patchH A D15-Apr-20144.9 KiB

mysql_sock.patchH A D18-Mar-20112.5 KiB

no_pear_configure.patchH A D16-Mar-2014640

pear.patchH A D11-Jul-20131.4 KiB

pearcmd.patchH A D06-Oct-2010634

phar.patchH A D10-Dec-20132.2 KiB

xdebug.patchH A D19-Aug-20111.5 KiB

fpm.README

1The fpm.patch (for <rdar://problem/10451659>) drastically changes
2configure (among other files) and therefore is fragile.  To update
3fpm.patch if PHP itself or another patch changes:
4
51.  Unpack the PHP tarball.
6	$ tar xjf php-X.Y.Z.tar.bz2
7
82.  Apply all the patches up to but not including fpm.patch in the order
9    listed in the Makefile (AEP_Patches).
10	$ cd php-X.Y.Z
11	$ for p in list-of-patches
12	> do
13	> patch -l -p1 < ../patches/$p
14	> done
15
163.  Save a copy of the source at this point, then apply fpm.patch.
17    Disable or ignore the changes fpm.patch makes to configure (but not
18    configure.in or any other files).
19
204.  Update configure by running buildconf.  You will need autoconf-2.13
21    from, say, MacPorts.
22	$ sudo port install autoconf213
23	$ env PATH=/opt/local/bin:$PATH PHP_AUTOCONF=autoconf213 PHP_AUTOHEADER=autoheader213 buildconf --force
24
255.  Regenerate fpm.patch by diffing the source tree against the copy you
26    saved at step 3.
27
28
29A future enhancement might automatically run buildconf after patching
30and before compiling in order to keep configure fresh, but that would
31require the build system to have autoconf213 or for this package to
32include autoconf213.
33