Ticket #11775: dia.patch

File dia.patch, 1.8 KB (added by rick@…, 18 years ago)

dia patch

  • Portfile

    diff -ur ../dia.orig/Portfile ./Portfile
    old new  
    11# $Id: Portfile 21230 2007-01-15 11:30:06Z rhwood@macports.org $
    22PortSystem 1.0
    33name            dia
    4 version         0.94
    5 revision                1
     4version         0.96.1
     5revision                0
    66description     A diagram program.
    77long_description        Dia is designed to be much like the commercial Windows \
    88                        program Visio. It can be used to draw many different kinds \
     
    1515categories      gnome
    1616platforms       darwin
    1717homepage        http://www.gnome.org/projects/dia/
    18 master_sites    gnome:sources/dia/0.94/
     18master_sites    gnome:sources/dia/0.96/
    1919use_bzip2       yes
    20 checksums       md5 63584224912dab49fed8d2cf87ea2d85
     20checksums       md5 7b81b22baa2df55efe4845865dddc7b6
    2121depends_build   port:p5-xml-parser
    2222depends_lib     lib:libgtk.2:gtk2 lib:libxml2.2.6.5:libxml2 port:libxslt \
    2323                port:libart_lgpl port:popt
  • files/patch-shape_info.c

    Only in .: dia.patch
    diff -ur ../dia.orig/files/patch-shape_info.c ./files/patch-shape_info.c
    old new  
    1 --- objects/custom/shape_info.c.org     2005-05-09 08:22:06.000000000 +0200
    2 +++ objects/custom/shape_info.c 2005-05-09 08:22:16.000000000 +0200
    3 @@ -116,7 +116,7 @@
    4  /* routine to chomp off the start of the string */
    5  #define path_chomp(path) while (path[0]!='\0'&&strchr(" \t\n\r,", path[0])) path++
     1--- objects/custom/shape_info.c.orig    2007-01-06 23:28:09.000000000 +0100
     2+++ objects/custom/shape_info.c 2007-04-13 16:38:55.000000000 +0200
     3@@ -114,7 +114,7 @@
     4 }
     5 
    66 
    77-static void
    88+void
    9  parse_path(ShapeInfo *info, const char *path_str, DiaSvgGraphicStyle *s)
     9 parse_path(ShapeInfo *info, const char *path_str, DiaSvgStyle *s, const char* filename)
    1010 {
    11    enum {
     11   GArray *points;