[csw-devel] SF.net SVN: gar:[13292] csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sun Feb 13 23:07:58 CET 2011


Revision: 13292
          http://gar.svn.sourceforge.net/gar/?rev=13292&view=rev
Author:   dmichelsen
Date:     2011-02-13 22:07:58 +0000 (Sun, 13 Feb 2011)

Log Message:
-----------
cpan/CGI-SpeedyCGI: Update deprecated Perl API use

Modified Paths:
--------------
    csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/files/0001-Use-Newx-instead-of-deprecated-New.patch

Modified: csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/Makefile	2011-02-13 22:00:03 UTC (rev 13291)
+++ csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/Makefile	2011-02-13 22:07:58 UTC (rev 13292)
@@ -9,6 +9,8 @@
   much more quickly.
 endef
 
+PATCHFILES = 0001-Use-Newx-instead-of-deprecated-New.patch
+
 PACKAGES = CSWpmspeedycgi
 CATALOGNAME = pm_speedycgi
 

Added: csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/files/0001-Use-Newx-instead-of-deprecated-New.patch
===================================================================
--- csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/files/0001-Use-Newx-instead-of-deprecated-New.patch	                        (rev 0)
+++ csw/mgar/pkg/cpan/CGI-SpeedyCGI/trunk/files/0001-Use-Newx-instead-of-deprecated-New.patch	2011-02-13 22:07:58 UTC (rev 13292)
@@ -0,0 +1,25 @@
+From ff3820573d05c622a7b3b31864ba4ae6e90ca0d2 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Sun, 13 Feb 2011 23:00:54 +0100
+Subject: [PATCH] Use Newx() instead of deprecated New()
+
+---
+ src/speedy_backend_main.h |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/speedy_backend_main.h b/src/speedy_backend_main.h
+index f139f29..6b9af44 100644
+--- a/src/speedy_backend_main.h
++++ b/src/speedy_backend_main.h
+@@ -38,7 +38,7 @@ void * efence_realloc (void *ptr, size_t size);
+ 
+ #else
+ 
+-#define speedy_new(s,n,t)	New(123,s,n,t)
++#define speedy_new(s,n,t)	Newx(s,n,t)
+ #define speedy_renew		Renew
+ #define speedy_free		Safefree
+ 
+-- 
+1.7.3.2
+


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