Ticket #37322: port-weechat.diff

File port-weechat.diff, 2.6 KB (added by anddam (Andrea D'Amore), 12 years ago)
  • Portfile

     
    44PortSystem 1.0
    55
    66name        weechat
    7 version     0.3.8
    8 revision    1
     7version     0.3.9
    98categories  irc
    109maintainers otherware.org:nefar openmaintainer
    1110license     GPL-3
     
    2524platforms   darwin
    2625master_sites    ${homepage}files/src
    2726
    28 checksums           rmd160  48f7c0dd500551763fe19eaa7eef9a5990f870a9 \
    29                     sha256  3cb8c88d5471e01fd74d41a2bc0845e2b2b893dd1ea887a672c2cf0a7a1a06a5
     27checksums           rmd160  eb159b3ff8b074aaeb6002a2247b2d909cbf1937 \
     28                    sha256  9e121aba26b6bb5cef94db22d7d77b2d8f189c910bf07ffc542a08baab79deb0
    3029
    3130depends_build   port:pkgconfig
    3231depends_lib port:gettext port:libiconv port:ncurses port:libgcrypt
    3332
     33patchfiles       \
     34    patch-src_plugins_Makefile.diff \
     35    patch-src_plugins_script_script_repo.diff
     36
    3437configure.args  --without-debug --disable-gnutls --disable-lua \
    3538        --disable-perl --disable-python --disable-ruby --disable-aspell --disable-guile
    3639
  • 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 @@
     4 # install plugin header
     5 
     6 install-data-hook:
     7-       $(INSTALL) -d $(includedir)/$(PACKAGE)
     8-       $(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)
     11 
     12 # uninstall plugin header
     13 
  • 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);