Ticket #23209: glib2-2.22.4.diff

File glib2-2.22.4.diff, 2.1 KB (added by nox@…, 15 years ago)
  • dports/devel/glib2/Portfile

    diff --git a/dports/devel/glib2/Portfile b/dports/devel/glib2/Portfile
    index fdc22fd..9993b49 100644
    a b PortSystem 1.0 
    55name                    glib2
    66conflicts               glib2-devel
    77set my_name             glib
    8 version                 2.22.3
     8version                 2.22.4
    99set branch              [join [lrange [split ${version} .] 0 1] .]
    1010categories              devel
    1111maintainers             ryandesign
    master_sites \ 
    3030    ftp://ftp.gtk.org/pub/${my_name}/${branch}/
    3131
    3232checksums \
    33     md5     25b043b208883194c57219e41a230a29 \
    34     sha1    185d5b80adef96019daf7402cc6762cc4d37470d \
    35     rmd160  53e1707547612e592bd2a3b5f7dfc7be1c09ed5c
     33    md5     d91bcbe27556430ddecce65086355708 \
     34    sha1    be135a25c233a199f043161777d31ac30e42f435 \
     35    rmd160  66dc6ec0f1b1d422f50f6d55700bee8d526318cc
    3636
    3737# ${prefix}/include/glib-2.0/glib/gi18n.h requires -I${prefix}/include to find libintl.h
    3838# See http://trac.macports.org/changeset/27148
    test.target check 
    8787
    8888post-destroot {
    8989    file delete ${destroot}${prefix}/lib/charset.alias
     90
     91    set docdir ${prefix}/share/doc/${name}
     92    xinstall -d ${destroot}${docdir}
     93    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog HACKING NEWS \
     94        README ${destroot}${docdir}
    9095}
    9196
    9297livecheck.type          regex
  • dports/devel/glib2/files/config.h.ed

    diff --git a/dports/devel/glib2/files/config.h.ed b/dports/devel/glib2/files/config.h.ed
    index ba8c491..38731d4 100644
    a b  
    3737#define GLIB_SIZEOF_SYSTEM_THREAD 4
    3838#endif
    3939.
     40/ G_ATOMIC_I486 /c
     41#if !defined(__BIG_ENDIAN__) && !defined(__LP64__)
     42#define G_ATOMIC_I486
     43#else
     44/* #undef G_ATOMIC_I486 */
     45#endif
     46.
    4047/ G_ATOMIC_POWERPC /c
    4148#ifdef __BIG_ENDIAN__
    4249#define G_ATOMIC_POWERPC 1
     
    4451/* #undef G_ATOMIC_POWERPC */
    4552#endif
    4653.
     54/ G_ATOMIC_X86_64 /c
     55#if !defined(__BIG_ENDIAN__) && defined(__LP64__)
     56#define G_ATOMIC_X86_64
     57#else
     58/* #undef G_ATOMIC_X86_64 */
     59#endif
     60.
    4761/ G_VA_COPY_AS_ARRAY /c
    4862#ifdef __LP64__
    4963#define G_VA_COPY_AS_ARRAY 1