Ticket #41660: patch-port_geda-gaf.diff

File patch-port_geda-gaf.diff, 2.1 KB (added by anddam (Andrea D'Amore), 9 years ago)
  • Portfile

     
    55
    66name                geda-gaf
    77epoch               1
    8 version             1.6.2
    9 revision            3
     8version             1.8.2
    109set branch          [join [lrange [split ${version} .] 0 1] .]
    1110platforms           darwin
    1211categories          science electronics
     
    2524master_sites        http://ftp.geda-project.org/geda-gaf/stable/v${branch}/${version} \
    2625                    http://geda.seul.org/release/v${branch}/${version}
    2726
    28 checksums           rmd160  4e32ba11188b9a2849036299b972c35481cb975e \
    29                     sha256  507ee440ad976a534beab205231840468004366d471c17a211ffbdcbc24a6d2b
     27checksums           rmd160  20100684c2987e563886d15bb608b7f464e30a69 \
     28                    sha256  bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721
    3029
    3130depends_build       port:pkgconfig
    3231depends_lib         port:gtk2 \
    33                     port:guile18 \
     32                    port:guile \
    3433                    port:libffi
    3534
    36 patchfiles          patch-glib-2.32.diff
    37 
    38 post-patch {
    39     # Use guile18 header files.
    40     # (autoconf scripts will prefer guile18 even if guile20 is installed)
    41     reinplace s|libguile\.h|libguile18.h|g \
    42         ${worksrcpath}/gschem/include/gschem.h \
    43         ${worksrcpath}/libgeda/include/libgeda/libgeda.h \
    44         ${worksrcpath}/libgeda/include/libgeda_priv.h
    45 }
    46 
    4735configure.args-append   --disable-update-xdg-database
    4836
    4937destroot.destdir    DESTDIR=${destroot}/
  • files/patch-glib-2.32.diff

     
    1 --- libgeda/src/s_path.c.orig   2011-01-13 23:02:35.000000000 -0600
    2 +++ libgeda/src/s_path.c        2012-05-04 01:04:04.000000000 -0500
    3 @@ -37,9 +37,7 @@
    4  #include <stdlib.h>
    5  #include <string.h>
    6  
    7 -#include <glib/gmem.h>
    8 -#include <glib/gmessages.h>
    9 -#include <glib/gtypes.h>
    10 +#include <glib.h>
    11  
    12  #include "libgeda_priv.h"
    13