SOURCES: swig-format.patch, swig-php-vdecl.patch - updated

arekm arekm at pld-linux.org
Sun Nov 18 13:38:30 CET 2007


Author: arekm                        Date: Sun Nov 18 12:38:30 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   swig-format.patch (1.2 -> 1.3) , swig-php-vdecl.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/swig-format.patch
diff -u SOURCES/swig-format.patch:1.2 SOURCES/swig-format.patch:1.3
--- SOURCES/swig-format.patch:1.2	Sat Nov 18 21:15:37 2006
+++ SOURCES/swig-format.patch	Sun Nov 18 13:38:25 2007
@@ -3,14 +3,14 @@
 @@ -136,11 +136,11 @@
        if (argv[i]) {
  	if (strcmp(argv[i], "-package") == 0) {
- 	  Printf(stderr,
--		 "*** -package is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
-+		 "*** -package is no longer supported\n*** use the directive '%%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
+ 	  Printv(stderr,
+-		 "*** -package is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
++		 "*** -package is no longer supported\n*** use the directive '%%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
  	  SWIG_exit(EXIT_FAILURE);
  	} else if (strcmp(argv[i], "-interface") == 0) {
- 	  Printf(stderr,
--		 "*** -interface is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
-+		 "*** -interface is no longer supported\n*** use the directive '%%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
+ 	  Printv(stderr,
+-		 "*** -interface is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
++		 "*** -interface is no longer supported\n*** use the directive '%%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
  	  SWIG_exit(EXIT_FAILURE);
  	} else if (strcmp(argv[i], "-exportall") == 0) {
  	  export_all = 1;

================================================================
Index: SOURCES/swig-php-vdecl.patch
diff -u SOURCES/swig-php-vdecl.patch:1.4 SOURCES/swig-php-vdecl.patch:1.5
--- SOURCES/swig-php-vdecl.patch:1.4	Sat Nov 18 21:15:37 2006
+++ SOURCES/swig-php-vdecl.patch	Sun Nov 18 13:38:25 2007
@@ -12,17 +12,4 @@
        }
      } else {
        // regular header
-@@ -2262,11 +2262,11 @@
- 
-       if (base.item) {
- 	Printf(s_oinit,
--	       "if (! (ptr_ce_swig_%s=zend_register_internal_class_ex(&ce_swig_%s,&ce_swig_%s,NULL))) zend_error(E_ERROR,\"Error registering wrapper for class %s\");\n",
-+	       "if (! (ptr_ce_swig_%s=zend_register_internal_class_ex(&ce_swig_%s,&ce_swig_%s,NULL TSRMLS_CC))) zend_error(E_ERROR,\"Error registering wrapper for class %s\");\n",
- 	       shadow_classname, shadow_classname, GetChar(base.item, "sym:name"), shadow_classname);
-       } else {
- 	Printf(s_oinit,
--	       "if (! (ptr_ce_swig_%s=zend_register_internal_class_ex(&ce_swig_%s,NULL,NULL))) zend_error(E_ERROR,\"Error registering wrapper for class %s\");\n",
-+	       "if (! (ptr_ce_swig_%s=zend_register_internal_class_ex(&ce_swig_%s,NULL,NULL TSRMLS_CC))) zend_error(E_ERROR,\"Error registering wrapper for class %s\");\n",
- 	       shadow_classname, shadow_classname, shadow_classname);
-       }
-       Printf(s_oinit, "\n");
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/swig-format.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/swig-php-vdecl.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list