Ticket #11532: gmime-2.2.4.diff

File gmime-2.2.4.diff, 2.7 KB (added by pipping@…, 17 years ago)

new patch (add checksums)

  • files/patch-tests__test-mbox.c

     
     1--- tests/test-mbox.c   2007-02-08 05:18:31.000000000 +0000
     2+++ tests/test-mbox.c   2007-03-04 12:59:52.000000000 +0000
     3@@ -18,6 +18,10 @@
     4  */
     5 
     6 
     7+#ifdef HAVE_CONFIG_H
     8+#include <config.h>
     9+#endif
     10+
     11 #include <stdio.h>
     12 #include <stdlib.h>
     13 #include <unistd.h>
  • files/patch-tests__test-mime.c

     
     1--- tests/test-mime.c   2007-02-08 05:18:31.000000000 +0000
     2+++ tests/test-mime.c   2007-03-04 12:59:40.000000000 +0000
     3@@ -18,6 +18,10 @@
     4  */
     5 
     6 
     7+#ifdef HAVE_CONFIG_H
     8+#include <config.h>
     9+#endif
     10+
     11 #include <stdio.h>
     12 #include <string.h>
     13 
  • files/patch-tests__test-parser.c

     
     1--- tests/test-parser.c 2007-02-08 05:18:31.000000000 +0000
     2+++ tests/test-parser.c 2007-03-04 13:00:00.000000000 +0000
     3@@ -18,6 +18,10 @@
     4  */
     5 
     6 
     7+#ifdef HAVE_CONFIG_H
     8+#include <config.h>
     9+#endif
     10+
     11 #include <stdio.h>
     12 #include <stdlib.h>
     13 #include <unistd.h>
  • Portfile

     
    22PortSystem 1.0
    33
    44name            gmime
    5 version         2.1.9
     5version         2.2.4
     6
     7set branch              [strsed ${version} {s/\.[0-9]*$//}]
     8
    69description     MIME mail utilities
    710long_description  The GMime suite provides a core library and set of utilities \
    811                  which may be used for the creation and parsing of messages \
     
    1316categories      mail
    1417platforms       darwin
    1518homepage        http://spruce.sourceforge.net/gmime/
    16 master_sites    http://spruce.sourceforge.net/gmime/sources/v2.1/
    17 checksums       md5 8bd24a56d5f56be9150deb9840a0812a
     19master_sites    http://spruce.sourceforge.net/gmime/sources/v${branch}/
     20checksums       md5 dd86578d15138596fae2bfe04d392f33 \
     21                sha1 1cf5de2e9e594b136c37b7627f7676be6a977704 \
     22                rmd160 c28793597d33397ff17b2b8f54b0c6a87f00604f
     23
    1824depends_lib     bin:pkg-config:pkgconfig \
    1925                lib:libiconv:libiconv \
    20                 lib:libglib.2:glib2
     26                lib:libglib-2:glib2
    2127
     28patchfiles      patch-tests__test-mime.c \
     29                patch-tests__test-mbox.c \
     30                patch-tests__test-parser.c
    2231configure.args  --prefix=${prefix}
     32
     33test.run        yes
     34test.target     check