[100761] trunk/dports/graphics/pstoedit

ryandesign at macports.org ryandesign at macports.org
Sun Dec 23 00:40:13 PST 2012


Revision: 100761
          https://trac.macports.org/changeset/100761
Author:   ryandesign at macports.org
Date:     2012-12-23 00:40:13 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
pstoedit: update to 3.61; rewrite master_sites to avoid redirects

Modified Paths:
--------------
    trunk/dports/graphics/pstoedit/Portfile

Added Paths:
-----------
    trunk/dports/graphics/pstoedit/files/patch-src-cppcomp.h.diff

Removed Paths:
-------------
    trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff
    trunk/dports/graphics/pstoedit/files/patch-src__cppcomp.h

Modified: trunk/dports/graphics/pstoedit/Portfile
===================================================================
--- trunk/dports/graphics/pstoedit/Portfile	2012-12-23 08:04:21 UTC (rev 100760)
+++ trunk/dports/graphics/pstoedit/Portfile	2012-12-23 08:40:13 UTC (rev 100761)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                pstoedit
-version             3.50
-revision            1
+version             3.61
 categories          graphics
 license             GPL-2+
 maintainers         nomaintainer
@@ -16,11 +15,11 @@
 
 platforms           darwin
 
-homepage            http://www.pstoedit.net
-master_sites        sourceforge
+homepage            http://www.pstoedit.net/
+master_sites        sourceforge:project/pstoedit/pstoedit/${version}
 
-checksums           sha1    5685bef29fa00aae7cc314d3a1dd21612a98eb2b \
-                    rmd160  ba9be28424ced48464d93dd8bca60107d181a1c3
+checksums           rmd160  d520bc8f0f5200f19b29f732324e6d0b4676af98 \
+                    sha256  e9935f5510fc5a3227bd31a74e88911f02a4c8516f3e0fe9fbc0dc780f2460db
 
 depends_build       port:pkgconfig
 
@@ -30,11 +29,8 @@
                     port:zlib
 depends_run         port:ghostscript
 
-patchfiles          patch-src__cppcomp.h \
-                    patch-configure.ac.diff
+patchfiles          patch-src-cppcomp.h.diff
 
-use_autoreconf      yes
-
 configure.args      --without-emf --without-swf
 
 configure.cppflags-append   "-Wno-long-long"

Deleted: trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff	2012-12-23 08:04:21 UTC (rev 100760)
+++ trunk/dports/graphics/pstoedit/files/patch-configure.ac.diff	2012-12-23 08:40:13 UTC (rev 100761)
@@ -1,20 +0,0 @@
---- configure.ac.orig	2011-02-22 16:18:07.000000000 +0900
-+++ configure.ac	2011-02-22 14:28:25.000000000 +0900
-@@ -407,14 +407,14 @@
- #   need to disable long long warning here because of ImageMagick using it
-     SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long "
-   fi
--  CXXFLAGS="-g" 
-+  CXXFLAGS="$CXXFLAGS -g" 
- elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
-   AC_MSG_RESULT([AIX xlC])
--  CXXFLAGS="-D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude"  
-+  CXXFLAGS="$CXXFLAGS -D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude"  
- elif test `echo "$CXX" | egrep -c 'cxx$'` -eq 1; then
-   AC_MSG_RESULT([OSF/1 cxx])
-   SPECIAL_CXXFLAGS=-w
--  CXXFLAGS=-define_templates
-+  CXXFLAGS="$CXXFLAGS -define_templates"
- elif test `echo "$CXX" | egrep -c 'CC$'` -eq 1; then
-   if test "$host_os" = irix5.3; then
-     AC_MSG_RESULT([Irix 5.3])

Copied: trunk/dports/graphics/pstoedit/files/patch-src-cppcomp.h.diff (from rev 100748, trunk/dports/graphics/pstoedit/files/patch-src__cppcomp.h)
===================================================================
--- trunk/dports/graphics/pstoedit/files/patch-src-cppcomp.h.diff	                        (rev 0)
+++ trunk/dports/graphics/pstoedit/files/patch-src-cppcomp.h.diff	2012-12-23 08:40:13 UTC (rev 100761)
@@ -0,0 +1,11 @@
+--- src/cppcomp.h.orig	2012-08-28 08:52:32.000000000 -0500
++++ src/cppcomp.h	2012-12-23 02:30:55.000000000 -0600
+@@ -263,7 +263,7 @@
+ static inline void strncpy_s(char * de, size_t de_size, const char *  so, size_t count)   {
+ 	const size_t sourcelen = strlen(so);
+ 	size_t tobecopied = sourcelen < count ? sourcelen : count;
+-	if ( tobecopied < de_size ) {
++	if ( tobecopied <= de_size ) {
+ 		while (so && *so && (tobecopied > 0) ) {
+ 			*de = *so; ++de; ++so; --tobecopied;
+ 		} // does not copy final 0

Deleted: trunk/dports/graphics/pstoedit/files/patch-src__cppcomp.h
===================================================================
--- trunk/dports/graphics/pstoedit/files/patch-src__cppcomp.h	2012-12-23 08:04:21 UTC (rev 100760)
+++ trunk/dports/graphics/pstoedit/files/patch-src__cppcomp.h	2012-12-23 08:40:13 UTC (rev 100761)
@@ -1,11 +0,0 @@
---- src/cppcomp.h.orig	2009-06-21 10:10:39.000000000 -0500
-+++ src/cppcomp.h	2011-02-17 17:11:47.000000000 -0600
-@@ -244,7 +244,7 @@
- static inline void strncpy_s(char * de, size_t de_size, const char *  so, size_t count)   {
- 	const size_t sourcelen = strlen(so);
- 	size_t tobecopied = sourcelen < count ? sourcelen : count;
--	if ( tobecopied < de_size ) {
-+	if ( tobecopied <= de_size ) {
- 		while (so && *so && (tobecopied > 0) ) {
- 			*de = *so; ++de; ++so; --tobecopied;
- 		} // does not copy final 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/f5f48f1c/attachment.html>


More information about the macports-changes mailing list