Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39261 invoked by uid 1010); 19 Apr 2006 09:34:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39246 invoked from network); 19 Apr 2006 09:34:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2006 09:34:15 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:13797] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B8/6B-19715-61406444 for ; Wed, 19 Apr 2006 05:34:15 -0400 Received: from foxbox (unknown [84.228.8.209]) by gw2.emini.dk (Postfix) with ESMTP id 6BDF1AD48E for ; Wed, 19 Apr 2006 11:34:10 +0200 (CEST) Message-ID: <09f201c6639c$c8fe39f0$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Date: Wed, 19 Apr 2006 12:34:04 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_09EF_01C663AD.8B8C5640" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: tiny patch for Tidy From: steph@zend.com ("Steph Fox") ------=_NextPart_000_09EF_01C663AD.8B8C5640 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit This allows static builds under win32 despite the fact that tidyOptGetDoc() doesn't exist in the libtidy.lib we're linking against. It needs applying to php_tidy.def everywhere libtidy v 2 is used - that is, ext/tidy in CVS HEAD and PHP_5_1, and CVS HEAD pecl/tidy. In all three cases there is the same #ifdef clause for the matching tidy_get_opt_doc() function in the header file. - Steph ------=_NextPart_000_09EF_01C663AD.8B8C5640 Content-Type: text/plain; format=flowed; name="ext_tidy.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ext_tidy.txt" Index: ext/tidy/php_tidy.def=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /repository/php-src/ext/tidy/php_tidy.def,v=0A= retrieving revision 1.2=0A= diff -u -r1.2 php_tidy.def=0A= --- ext/tidy/php_tidy.def 25 Apr 2005 20:46:16 -0000 1.2=0A= +++ ext/tidy/php_tidy.def 19 Apr 2006 10:22:45 -0000=0A= @@ -45,7 +45,9 @@=0A= tidyOptGetDefault=0A= tidyOptGetDefaultInt=0A= tidyOptGetDefaultBool=0A= +#if HAVE_TIDYOPTGETDOC=0A= tidyOptGetDoc=0A= +#endif=0A= tidyOptGetPickList=0A= tidyOptGetNextPick=0A= tidyOptGetValue=0A= ------=_NextPart_000_09EF_01C663AD.8B8C5640--