[86469] trunk/dports/games/cannonsmash

ryandesign at macports.org ryandesign at macports.org
Wed Oct 26 04:56:10 PDT 2011


Revision: 86469
          http://trac.macports.org/changeset/86469
Author:   ryandesign at macports.org
Date:     2011-10-26 04:56:10 -0700 (Wed, 26 Oct 2011)
Log Message:
-----------
cannonsmash: rename patchfiles

Modified Paths:
--------------
    trunk/dports/games/cannonsmash/Portfile

Added Paths:
-----------
    trunk/dports/games/cannonsmash/files/patch-configure.diff
    trunk/dports/games/cannonsmash/files/patch-loadparts.cpp.diff
    trunk/dports/games/cannonsmash/files/patch-matrix.diff

Removed Paths:
-------------
    trunk/dports/games/cannonsmash/files/patch-configure
    trunk/dports/games/cannonsmash/files/patch-loadparts.cpp
    trunk/dports/games/cannonsmash/files/patch-matrix

Modified: trunk/dports/games/cannonsmash/Portfile
===================================================================
--- trunk/dports/games/cannonsmash/Portfile	2011-10-26 11:52:14 UTC (rev 86468)
+++ trunk/dports/games/cannonsmash/Portfile	2011-10-26 11:56:10 UTC (rev 86469)
@@ -22,7 +22,9 @@
 depends_lib         port:libsdl_mixer port:libsdl_image \
                     port:gtk2 port:mesa port:xorg-libXmu
 
-patchfiles          patch-loadparts.cpp patch-matrix patch-configure
+patchfiles          patch-configure.diff \
+                    patch-loadparts.cpp.diff \
+                    patch-matrix.diff
 
 use_autoreconf yes
 autoreconf.args -fvi

Deleted: trunk/dports/games/cannonsmash/files/patch-configure
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-configure	2011-10-26 11:52:14 UTC (rev 86468)
+++ trunk/dports/games/cannonsmash/files/patch-configure	2011-10-26 11:56:10 UTC (rev 86469)
@@ -1,11 +0,0 @@
---- configure.orig	2003-08-15 23:54:31.000000000 -0600
-+++ configure	2006-01-30 20:52:52.000000000 -0700
-@@ -5516,7 +5516,7 @@
- 
- 
- CFLAGS="-I $x_includes"
--LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir"
-+LDFLAGS="$LDFLAGS -L$x_libraries -L$libdir"
- CXXFLAGS="$CFLAGS -Wall"
- 
- 

Copied: trunk/dports/games/cannonsmash/files/patch-configure.diff (from rev 86468, trunk/dports/games/cannonsmash/files/patch-configure)
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/games/cannonsmash/files/patch-configure.diff	2011-10-26 11:56:10 UTC (rev 86469)
@@ -0,0 +1,11 @@
+--- configure.orig	2003-08-15 23:54:31.000000000 -0600
++++ configure	2006-01-30 20:52:52.000000000 -0700
+@@ -5516,7 +5516,7 @@
+ 
+ 
+ CFLAGS="-I $x_includes"
+-LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir"
++LDFLAGS="$LDFLAGS -L$x_libraries -L$libdir"
+ CXXFLAGS="$CFLAGS -Wall"
+ 
+ 

Deleted: trunk/dports/games/cannonsmash/files/patch-loadparts.cpp
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-loadparts.cpp	2011-10-26 11:52:14 UTC (rev 86468)
+++ trunk/dports/games/cannonsmash/files/patch-loadparts.cpp	2011-10-26 11:56:10 UTC (rev 86469)
@@ -1,11 +0,0 @@
---- loadparts.cpp.orig	Wed Nov 19 09:49:31 2003
-+++ loadparts.cpp	Fri Mar 19 18:17:45 2004
-@@ -245,7 +245,7 @@
- 
- 	while ('\\' == line[l-1]) {
-             // concat next line(s)
--	    int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1);
-+	    int bufsize = clamp((long unsigned int)0, sizeof(line)-l, sizeof(line)-1);
- 	    fgets(&line[l-2], bufsize, fp);
- 	    if (feof((FILE*)fp)) break;
- 	    l = strlen(line);

Copied: trunk/dports/games/cannonsmash/files/patch-loadparts.cpp.diff (from rev 86390, trunk/dports/games/cannonsmash/files/patch-loadparts.cpp)
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-loadparts.cpp.diff	                        (rev 0)
+++ trunk/dports/games/cannonsmash/files/patch-loadparts.cpp.diff	2011-10-26 11:56:10 UTC (rev 86469)
@@ -0,0 +1,11 @@
+--- loadparts.cpp.orig	Wed Nov 19 09:49:31 2003
++++ loadparts.cpp	Fri Mar 19 18:17:45 2004
+@@ -245,7 +245,7 @@
+ 
+ 	while ('\\' == line[l-1]) {
+             // concat next line(s)
+-	    int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1);
++	    int bufsize = clamp((long unsigned int)0, sizeof(line)-l, sizeof(line)-1);
+ 	    fgets(&line[l-2], bufsize, fp);
+ 	    if (feof((FILE*)fp)) break;
+ 	    l = strlen(line);

Deleted: trunk/dports/games/cannonsmash/files/patch-matrix
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-matrix	2011-10-26 11:52:14 UTC (rev 86468)
+++ trunk/dports/games/cannonsmash/files/patch-matrix	2011-10-26 11:56:10 UTC (rev 86469)
@@ -1,11 +0,0 @@
---- matrix.orig	2002-03-06 09:46:01.000000000 -0700
-+++ matrix	2006-01-30 20:06:34.000000000 -0700
-@@ -42,7 +42,7 @@
- 
- /* __BEGIN__BEGIN__ */
- //__NAMESPACE_BEGIN(ese);
--#if (!defined __GNUG__) || (__GNUC__ == 3)
-+#if (!defined __GNUG__) || (__GNUC__ == 3) || (__GNUC__ == 4)
- template<typename T>
- void swap(T& a, T& b)
- {

Copied: trunk/dports/games/cannonsmash/files/patch-matrix.diff (from rev 86390, trunk/dports/games/cannonsmash/files/patch-matrix)
===================================================================
--- trunk/dports/games/cannonsmash/files/patch-matrix.diff	                        (rev 0)
+++ trunk/dports/games/cannonsmash/files/patch-matrix.diff	2011-10-26 11:56:10 UTC (rev 86469)
@@ -0,0 +1,11 @@
+--- matrix.orig	2002-03-06 09:46:01.000000000 -0700
++++ matrix	2006-01-30 20:06:34.000000000 -0700
+@@ -42,7 +42,7 @@
+ 
+ /* __BEGIN__BEGIN__ */
+ //__NAMESPACE_BEGIN(ese);
+-#if (!defined __GNUG__) || (__GNUC__ == 3)
++#if (!defined __GNUG__) || (__GNUC__ == 3) || (__GNUC__ == 4)
+ template<typename T>
+ void swap(T& a, T& b)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111026/e8a578df/attachment-0001.html>


More information about the macports-changes mailing list