Ticket #41660: patch-port_geda-gaf.diff
File patch-port_geda-gaf.diff, 2.1 KB (added by anddam (Andrea D'Amore), 10 years ago) |
---|
-
Portfile
5 5 6 6 name geda-gaf 7 7 epoch 1 8 version 1.6.2 9 revision 3 8 version 1.8.2 10 9 set branch [join [lrange [split ${version} .] 0 1] .] 11 10 platforms darwin 12 11 categories science electronics … … 25 24 master_sites http://ftp.geda-project.org/geda-gaf/stable/v${branch}/${version} \ 26 25 http://geda.seul.org/release/v${branch}/${version} 27 26 28 checksums rmd160 4e32ba11188b9a2849036299b972c35481cb975e\29 sha256 507ee440ad976a534beab205231840468004366d471c17a211ffbdcbc24a6d2b27 checksums rmd160 20100684c2987e563886d15bb608b7f464e30a69 \ 28 sha256 bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721 30 29 31 30 depends_build port:pkgconfig 32 31 depends_lib port:gtk2 \ 33 port:guile 18\32 port:guile \ 34 33 port:libffi 35 34 36 patchfiles patch-glib-2.32.diff37 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.h45 }46 47 35 configure.args-append --disable-update-xdg-database 48 36 49 37 destroot.destdir DESTDIR=${destroot}/ -
files/patch-glib-2.32.diff
1 --- libgeda/src/s_path.c.orig 2011-01-13 23:02:35.000000000 -06002 +++ libgeda/src/s_path.c 2012-05-04 01:04:04.000000000 -05003 @@ -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