Ticket #37735: weechat-0.4.0.diff

File weechat-0.4.0.diff, 5.3 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

an updated version of the patch using weechat 0.4.0 which fails with the same libiconv error

  • files/patch-src_plugins_Makefile.diff

     
    1 --- src/plugins/Makefile.in.orig        2012-12-16 00:47:36.000000000 +0100
    2 +++ src/plugins/Makefile.in     2012-12-16 00:48:49.000000000 +0100
    3 @@ -831,8 +831,8 @@
     1--- src/plugins/Makefile.am.orig        2013-01-20 02:21:06.000000000 -0600
     2+++ src/plugins/Makefile.am     2013-01-21 23:40:25.000000000 -0600
     3@@ -117,8 +117,8 @@
    44 # install plugin header
    55 
    66 install-data-hook:
    77-       $(INSTALL) -d $(includedir)/$(PACKAGE)
    88-       $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE)
    9 +       $(INSTALL) -d $(DESTDIR)/$(includedir)/$(PACKAGE)
    10 +       $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR)/$(includedir)/$(PACKAGE)
     9+       $(INSTALL) -d $(DESTDIR)$(includedir)/$(PACKAGE)
     10+       $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR)$(includedir)/$(PACKAGE)
    1111 
    1212 # uninstall plugin header
    1313 
  • files/patch-src_plugins_script_script_repo.diff

     
    1 --- src/plugins/script/script-repo.h.orig       2012-12-16 00:15:16.000000000 +0100
    2 +++ src/plugins/script/script-repo.h    2012-12-16 00:15:36.000000000 +0100
    3 @@ -57,7 +57,7 @@
    4  extern struct t_script_repo *scripts_repo;
    5  extern struct t_script_repo *last_script_repo;
    6  extern int script_repo_count, script_repo_count_displayed;
    7 -struct t_hashtable *script_repo_max_length_field;
    8 +extern struct t_hashtable *script_repo_max_length_field;
    9  extern char *script_repo_filter;
    10  
    11  extern int script_repo_script_valid (struct t_script_repo *script);
  • Portfile

     
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    22# $Id$
    33
    4 PortSystem 1.0
     4PortSystem  1.0
     5PortGroup   cmake 1.0
    56
    67name        weechat
    7 version     0.3.9
     8version     0.4.0
    89categories  irc
    910maintainers otherware.org:nefar openmaintainer
    1011license     GPL-3
     
    2425platforms   darwin
    2526master_sites    ${homepage}files/src
    2627
    27 checksums           rmd160  eb159b3ff8b074aaeb6002a2247b2d909cbf1937 \
    28                     sha256  9e121aba26b6bb5cef94db22d7d77b2d8f189c910bf07ffc542a08baab79deb0
     28checksums           rmd160  70a3b67762227c8408b8ca880ea1af15fcc7fe81 \
     29                    sha256  1df12201d8b0ac25f62ddbfb675e8f3d978e52bc5b644d55ccf4c755956fa60d
    2930
    30 depends_build   port:pkgconfig
    31 depends_lib port:gettext port:libiconv port:ncurses port:libgcrypt
     31depends_lib-append  port:gettext port:libiconv port:ncurses port:libgcrypt
    3232
    33 patchfiles       \
    34     patch-src_plugins_Makefile.diff \
    35     patch-src_plugins_script_script_repo.diff
     33patchfiles          patch-src_plugins_Makefile.diff
    3634
    37 configure.args  --without-debug --disable-gnutls --disable-lua \
    38         --disable-perl --disable-python --disable-ruby --disable-aspell --disable-guile
     35configure.args  -DENABLE_GNUTLS=OFF -DENABLE_LUA=OFF -DENABLE_GUILE=OFF \
     36        -DENABLE_PERL=OFF -DENABLE_PYTHON=OFF -DENABLE_RUBY=OFF -DENABLE_ASPELL=OFF
    3937
    4038use_bzip2   yes
    4139
    4240variant aspell description {Support for aspell} {
    43     configure.args-delete   --disable-aspell
    44     configure.args-append   --enable-aspell
     41    configure.args-delete   -DENABLE_ASPELL=OFF
     42    configure.args-append   -DENABLE_ASPELL=ON
    4543    depends_lib-append      port:aspell
    4644}
    4745
    4846variant lua description {Bindings for lua plugins} {
    49     configure.args-delete --disable-lua
    50     configure.args-append --enable-lua
     47    configure.args-delete -DENABLE_LUA=OFF
     48    configure.args-append -DENABLE_LUA=ON
    5149    depends_lib-append    port:lua
    5250}
    5351
    5452variant scheme description {Bindings for Scheme (guile) plugins} {
    55     configure.args-delete --disable-guile
    56     configure.args-append --enable-guile
     53    configure.args-delete -DENABLE_GUILE=OFF
     54    configure.args-append -DENABLE_GUILE=ON
    5755    depends_lib-append    port:guile
    5856}
    5957
    6058variant perl description {Bindings for perl plugins} {
    61     configure.args-delete --disable-perl
    62     configure.args-append --enable-perl
     59    configure.args-delete -DENABLE_PERL=OFF
     60    configure.args-append -DENABLE_PERL=ON
    6361    depends_lib-append    path:bin/perl:perl5
    6462}
    6563
    6664variant python description {Bindings for python plugins} {
    67     configure.args-delete   --disable-python
    68     configure.args-append   --enable-python
     65    configure.args-delete   -DENABLE_PYTHON=OFF
     66    configure.args-append   -DENABLE_PYTHON=ON
    6967    depends_lib-append      path:bin/python:python26
    7068}
    7169
    7270variant ruby description {Bindings for ruby plugins} {
    73     configure.args-delete --disable-ruby
    74     configure.args-append --enable-ruby
     71    configure.args-delete -DENABLE_RUBY=OFF
     72    configure.args-append -DENABLE_RUBY=ON
    7573    depends_lib-append    port:ruby
    7674}
    7775
    7876variant tls description {Support for secure connecting} {
    79     configure.args-delete --disable-gnutls
    80     configure.args-append --enable-gnutls
     77    configure.args-delete -DENABLE_GNUTLS=OFF
     78    configure.args-append -DENABLE_GNUTLS=ON
    8179    depends_lib-append    port:gnutls
    8280}
    8381