[csw-devel] SF.net SVN: gar:[3484] csw/mgar/pkg/php5_recode/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed Feb 25 18:37:42 CET 2009


Revision: 3484
          http://gar.svn.sourceforge.net/gar/?rev=3484&view=rev
Author:   valholla
Date:     2009-02-25 17:37:41 +0000 (Wed, 25 Feb 2009)

Log Message:
-----------
working recipe

Modified Paths:
--------------
    csw/mgar/pkg/php5_recode/trunk/Makefile
    csw/mgar/pkg/php5_recode/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/php5_recode/trunk/files/recode.diff

Modified: csw/mgar/pkg/php5_recode/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5_recode/trunk/Makefile	2009-02-25 17:33:39 UTC (rev 3483)
+++ csw/mgar/pkg/php5_recode/trunk/Makefile	2009-02-25 17:37:41 UTC (rev 3484)
@@ -18,7 +18,6 @@
 STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
 STRIP_DIRS += $(PHP5ROOT)/bin
 
-
 PACKAGES = CSWphp5$(PHP5EXT_NAME)
 
 MASTER_SITES = http://www.php.net/releases/
@@ -29,17 +28,18 @@
 
 CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
 SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
-REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
+REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5 CSWrecode
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
 CONFIGURE_ARGS += --with-recode=$(prefix)
 
-post-extract-modulated:
+PATCHFILES = recode.diff
+
+post-patch-modulated:
 	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
 	$(DONADA)
 
-
 TEST_SCRIPTS = manual
 
 test-manual:

Modified: csw/mgar/pkg/php5_recode/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5_recode/trunk/checksums	2009-02-25 17:33:39 UTC (rev 3483)
+++ csw/mgar/pkg/php5_recode/trunk/checksums	2009-02-25 17:37:41 UTC (rev 3484)
@@ -1 +1,2 @@
 7380ffecebd95c6edb317ef861229ebd  download/php-5.2.6.tar.bz2
+001f4ec594fd8dcac26373ea1cbc0ab0  download/recode.diff

Added: csw/mgar/pkg/php5_recode/trunk/files/recode.diff
===================================================================
--- csw/mgar/pkg/php5_recode/trunk/files/recode.diff	                        (rev 0)
+++ csw/mgar/pkg/php5_recode/trunk/files/recode.diff	2009-02-25 17:37:41 UTC (rev 3484)
@@ -0,0 +1,21 @@
+--- ./recode.c.orig	2009-02-25 11:18:18.179302185 -0600
++++ ./recode.c	2009-02-25 11:20:18.906816126 -0600
+@@ -221,7 +221,7 @@
+ /* }}} */
+ 
+ #endif
+-
++int error;
+ /*
+  * Local variables:
+  * tab-width: 4
+--- ./config.m4.orig	2009-02-25 11:24:11.727519777 -0600
++++ ./config.m4	2009-02-25 11:24:44.598312108 -0600
+@@ -41,6 +41,7 @@
+     LIBS="$LIBS -lrecode"
+     AC_TRY_LINK(
+     [
++int error;
+ char *program_name;
+     ],[
+ recode_format_table();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list