[89237] trunk/dports/devel/mcpp

blair at macports.org blair at macports.org
Sat Jan 21 14:36:48 PST 2012


Revision: 89237
          http://trac.macports.org/changeset/89237
Author:   blair at macports.org
Date:     2012-01-21 14:36:48 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
mcpp: do not use capital letters when the filename has lowercase.

Modified Paths:
--------------
    trunk/dports/devel/mcpp/Portfile

Added Paths:
-----------
    trunk/dports/devel/mcpp/files/patch-src__internal.h
    trunk/dports/devel/mcpp/files/patch-src__support.c
    trunk/dports/devel/mcpp/files/patch-src__system.h

Removed Paths:
-------------
    trunk/dports/devel/mcpp/files/patch-src__internal.H
    trunk/dports/devel/mcpp/files/patch-src__support.C
    trunk/dports/devel/mcpp/files/patch-src__system.H

Modified: trunk/dports/devel/mcpp/Portfile
===================================================================
--- trunk/dports/devel/mcpp/Portfile	2012-01-21 22:35:37 UTC (rev 89236)
+++ trunk/dports/devel/mcpp/Portfile	2012-01-21 22:36:48 UTC (rev 89237)
@@ -26,9 +26,9 @@
 master_sites        sourceforge
 checksums           md5 512de48c87ab023a69250edc7a0c7b05 \
                     sha1 703356b7c2cd30d7fb6000625bf3ccc2eb977ecb
-patchfiles          patch-src__internal.H \
-                    patch-src__support.C \
-                    patch-src__system.H \
+patchfiles          patch-src__internal.h \
+                    patch-src__support.c \
+                    patch-src__system.h \
                     patch-fix-core-dumps
 configure.args-append --enable-mcpplib --mandir=${prefix}/share/man
 # +universal: Install universal binary of mcpp.

Deleted: trunk/dports/devel/mcpp/files/patch-src__internal.H
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__internal.H	2012-01-21 22:35:37 UTC (rev 89236)
+++ trunk/dports/devel/mcpp/files/patch-src__internal.H	2012-01-21 22:36:48 UTC (rev 89237)
@@ -1,10 +0,0 @@
---- src/internal.H.orig	2009-09-09 12:32:06.000000000 -0700
-+++ src/internal.H	2009-09-09 12:32:08.000000000 -0700
-@@ -556,7 +556,3 @@
- #pragma GCC visibility pop
- #endif
- #endif
--
--#if HOST_HAVE_STPCPY
--extern char *   stpcpy( char * dest, const char * src);
--#endif

Copied: trunk/dports/devel/mcpp/files/patch-src__internal.h (from rev 89236, trunk/dports/devel/mcpp/files/patch-src__internal.H)
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__internal.h	                        (rev 0)
+++ trunk/dports/devel/mcpp/files/patch-src__internal.h	2012-01-21 22:36:48 UTC (rev 89237)
@@ -0,0 +1,10 @@
+--- src/internal.H.orig	2009-09-09 12:32:06.000000000 -0700
++++ src/internal.H	2009-09-09 12:32:08.000000000 -0700
+@@ -556,7 +556,3 @@
+ #pragma GCC visibility pop
+ #endif
+ #endif
+-
+-#if HOST_HAVE_STPCPY
+-extern char *   stpcpy( char * dest, const char * src);
+-#endif

Deleted: trunk/dports/devel/mcpp/files/patch-src__support.C
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__support.C	2012-01-21 22:35:37 UTC (rev 89236)
+++ trunk/dports/devel/mcpp/files/patch-src__support.C	2012-01-21 22:36:48 UTC (rev 89237)
@@ -1,31 +0,0 @@
-diff -c -r -N ../mcpp-2.7.2/src/support.c ./src/support.c
-*** ../mcpp-2.7.2/src/support.c	2008-06-10 06:02:33.000000000 -0230
---- ./src/support.c	2009-12-17 20:42:39.000000000 -0330
-***************
-*** 188,194 ****
-      size_t      length
-  )
-  {
-!     if (mem_buf_p->bytes_avail < length) {  /* Need to allocate more memory */
-          size_t size = MAX( BUF_INCR_SIZE, length);
-  
-          if (mem_buf_p->buffer == NULL) {            /* 1st append   */
---- 188,194 ----
-      size_t      length
-  )
-  {
-!     if (mem_buf_p->bytes_avail < length + 1) {  /* Need to allocate more memory */
-          size_t size = MAX( BUF_INCR_SIZE, length);
-  
-          if (mem_buf_p->buffer == NULL) {            /* 1st append   */
-***************
-*** 1722,1727 ****
---- 1722,1729 ----
-                      sp -= 2;
-                      while (*sp != '\n')     /* Until end of line    */
-                          mcpp_fputc( *sp++, OUT);
-+                     mcpp_fputc( '\n', OUT);
-+                     wrong_line = TRUE;
-                  }
-                  goto  end_line;
-              default:                        /* Not a comment        */

Copied: trunk/dports/devel/mcpp/files/patch-src__support.c (from rev 89236, trunk/dports/devel/mcpp/files/patch-src__support.C)
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__support.c	                        (rev 0)
+++ trunk/dports/devel/mcpp/files/patch-src__support.c	2012-01-21 22:36:48 UTC (rev 89237)
@@ -0,0 +1,31 @@
+diff -c -r -N ../mcpp-2.7.2/src/support.c ./src/support.c
+*** ../mcpp-2.7.2/src/support.c	2008-06-10 06:02:33.000000000 -0230
+--- ./src/support.c	2009-12-17 20:42:39.000000000 -0330
+***************
+*** 188,194 ****
+      size_t      length
+  )
+  {
+!     if (mem_buf_p->bytes_avail < length) {  /* Need to allocate more memory */
+          size_t size = MAX( BUF_INCR_SIZE, length);
+  
+          if (mem_buf_p->buffer == NULL) {            /* 1st append   */
+--- 188,194 ----
+      size_t      length
+  )
+  {
+!     if (mem_buf_p->bytes_avail < length + 1) {  /* Need to allocate more memory */
+          size_t size = MAX( BUF_INCR_SIZE, length);
+  
+          if (mem_buf_p->buffer == NULL) {            /* 1st append   */
+***************
+*** 1722,1727 ****
+--- 1722,1729 ----
+                      sp -= 2;
+                      while (*sp != '\n')     /* Until end of line    */
+                          mcpp_fputc( *sp++, OUT);
++                     mcpp_fputc( '\n', OUT);
++                     wrong_line = TRUE;
+                  }
+                  goto  end_line;
+              default:                        /* Not a comment        */

Deleted: trunk/dports/devel/mcpp/files/patch-src__system.H
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__system.H	2012-01-21 22:35:37 UTC (rev 89236)
+++ trunk/dports/devel/mcpp/files/patch-src__system.H	2012-01-21 22:36:48 UTC (rev 89237)
@@ -1,11 +0,0 @@
---- src/system.H	2008-02-27 14:26:31.000000000 +0100
-+++ src/system.H.patched	2009-09-10 17:17:35.000000000 +0200
-@@ -284,7 +284,7 @@
- #define PRESTD_RESCAN_LIMIT 0x100
- #endif
- #ifndef NBUFF
--#define NBUFF               0x10000     /* Must be NWORK <= NBUFF   */
-+#define NBUFF               0x40000     /* Must be NWORK <= NBUFF   */
- #endif
- #ifndef NWORK
- #define NWORK               NBUFF       /* 0x1000, 0x4000, 0x10000, ..  */

Copied: trunk/dports/devel/mcpp/files/patch-src__system.h (from rev 89236, trunk/dports/devel/mcpp/files/patch-src__system.H)
===================================================================
--- trunk/dports/devel/mcpp/files/patch-src__system.h	                        (rev 0)
+++ trunk/dports/devel/mcpp/files/patch-src__system.h	2012-01-21 22:36:48 UTC (rev 89237)
@@ -0,0 +1,11 @@
+--- src/system.H	2008-02-27 14:26:31.000000000 +0100
++++ src/system.H.patched	2009-09-10 17:17:35.000000000 +0200
+@@ -284,7 +284,7 @@
+ #define PRESTD_RESCAN_LIMIT 0x100
+ #endif
+ #ifndef NBUFF
+-#define NBUFF               0x10000     /* Must be NWORK <= NBUFF   */
++#define NBUFF               0x40000     /* Must be NWORK <= NBUFF   */
+ #endif
+ #ifndef NWORK
+ #define NWORK               NBUFF       /* 0x1000, 0x4000, 0x10000, ..  */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/652131b2/attachment.html>


More information about the macports-changes mailing list