diff options
| author | David Christenson | 2014-06-05 20:22:41 -0600 |
|---|---|---|
| committer | Misty De Meo | 2014-06-05 19:50:35 -0700 |
| commit | 7a714051ea743a208e12a27dd55e27f7a99b86aa (patch) | |
| tree | 02fde36e21691c5d87546280870981fdd8c30f43 /Library/Formula | |
| parent | 0b6eef56f5901fb3381d4c876506b72cd13cfb87 (diff) | |
| download | homebrew-7a714051ea743a208e12a27dd55e27f7a99b86aa.tar.bz2 | |
gnu-typist 2.9.4
Update to latest stable release, update patch, change single quotes to
double, use HTTPS on homepage and mirror.
Closes #29922.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-typist.rb | 80 |
1 files changed, 44 insertions, 36 deletions
diff --git a/Library/Formula/gnu-typist.rb b/Library/Formula/gnu-typist.rb index 53ece8cf6..50cd30dc1 100644 --- a/Library/Formula/gnu-typist.rb +++ b/Library/Formula/gnu-typist.rb @@ -1,12 +1,12 @@ -require 'formula' +require "formula" class GnuTypist < Formula - homepage 'http://www.gnu.org/software/gtypist/' - url 'http://ftpmirror.gnu.org/gtypist/gtypist-2.9.2.tar.gz' - mirror 'http://ftp.gnu.org/gnu/gtypist/gtypist-2.9.2.tar.gz' - sha256 'f5e33744d78b3d6f6e793d0bac6d344a828949ef6dbc1fc4846891af6abd96d3' + homepage "https://www.gnu.org/software/gtypist/" + url "http://ftpmirror.gnu.org/gtypist/gtypist-2.9.4.tar.xz" + mirror "https://ftp.gnu.org/gnu/gtypist/gtypist-2.9.4.tar.xz" + sha256 "18e71d0663af58bee156a749115fb6ead5791068a9f531f9db0ec2782025c5a1" - depends_on 'gettext' + depends_on "gettext" # Use Apple's ncurses instead of ncursesw. # TODO: use an IFDEF for apple and submit upstream @@ -14,7 +14,7 @@ class GnuTypist < Formula def install # libiconv is not linked properly without this - ENV.append 'LDFLAGS', '-liconv' + ENV.append "LDFLAGS", "-liconv" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" @@ -25,10 +25,22 @@ end __END__ diff --git a/configure b/configure -index b236c98..909733b 100755 +index 2207b09..915a664 100755 --- a/configure +++ b/configure -@@ -4017,7 +4017,7 @@ if ${ac_cv_lib_ncursesw_add_wch+:} false; then : +@@ -6301,9 +6301,9 @@ fi + done + + +-# check for libncursesw ++# check for libncurses + +-ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" ++ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" + if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then : + HAVE_NCURSESW_H=1 + fi +@@ -6315,7 +6315,7 @@ if ${ac_cv_lib_ncursesw_add_wch+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -37,24 +49,20 @@ index b236c98..909733b 100755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -4464,7 +4464,7 @@ fi - done - - --ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" -+ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" - if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then : - HAVE_NCURSESW_H=1 +@@ -6350,7 +6350,7 @@ if test "x$ac_cv_lib_ncursesw_add_wch" = xyes; then : fi -@@ -4473,7 +4473,7 @@ fi - # sanity check for libncursesw: if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then - LIBS="-lncursesw $LIBS" + LIBS="-lncurses $LIBS" else echo -e "Error: both library and header files for the ncursesw library\n"\ - "are required to build this package. See INSTALL file for"\ + "are required to build this package. See INSTALL file for"\ +@@ -10553,4 +10553,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi +- diff --git a/src/cursmenu.c b/src/cursmenu.c index 1c3990e..f0fc21a 100644 --- a/src/cursmenu.c @@ -68,8 +76,21 @@ index 1c3990e..f0fc21a 100644 #endif #include "error.h" +diff --git a/src/error.c b/src/error.c +index 2022f2b..4ab6741 100644 +--- a/src/error.c ++++ b/src/error.c +@@ -25,7 +25,7 @@ + #ifdef HAVE_PDCURSES + #include <curses.h> + #else +-#include <ncursesw/ncurses.h> ++#include <ncurses.h> + #endif + + #include <stdlib.h> diff --git a/src/gtypist.c b/src/gtypist.c -index 747b5b8..7420a12 100644 +index bd5af8d..b634325 100644 --- a/src/gtypist.c +++ b/src/gtypist.c @@ -31,7 +31,7 @@ @@ -82,7 +103,7 @@ index 747b5b8..7420a12 100644 #include <time.h> diff --git a/src/script.c b/src/script.c -index 34a52b0..06d5686 100644 +index ce04d68..f4032e2 100644 --- a/src/script.c +++ b/src/script.c @@ -24,7 +24,7 @@ @@ -94,21 +115,8 @@ index 34a52b0..06d5686 100644 #endif #include "error.h" -diff --git a/src/error.c b/src/error.c -index 2022f2b..4ab6741 100644 ---- a/src/error.c -+++ b/src/error.c -@@ -25,7 +25,7 @@ - #ifdef HAVE_PDCURSES - #include <curses.h> - #else --#include <ncursesw/ncurses.h> -+#include <ncurses.h> - #endif - - #include <stdlib.h> diff --git a/src/utf8.c b/src/utf8.c -index 22476ba..0a44106 100644 +index 8eab3d3..e3194df 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -23,7 +23,7 @@ |
