• Husky 1.9 snapshot 2018.12.11 for macOS

    From Alexander Kruglikov@2:5053/58 to All on Wed Dec 12 13:16:00 2018
    Good ${greeting_time}, All!

    macOS version uploaded to http://download.huskyproject.org/osx/ and hatched to AFTNMISC.

    Changelog:

    fidoconf:
    fix parsing route line; flavor is not necessary anymore before nopack

    hpt:
    fix description of the Route statement and explain it in detail

    * Originally in FIDOSOFT.HUSKY
    * Crossposted in RU.HUSKY

    With best regards, Alexander.

    --- "GoldED+/LNX 1.1.5-b20180707" ---
    * Origin: 24 hours in a day, 24 beers in a case, Hmmm... (2:5053/58)
  • From andrew clarke@3:633/267 to Alexander Kruglikov on Sat Dec 22 00:54:52 2018
    12 Dec 18 13:16, you wrote to all:

    macOS version uploaded to http://download.huskyproject.org/osx/ and hatched to AFTNMISC.

    Changelog:

    fidoconf:
    fix parsing route line; flavor is not necessary anymore before nopack

    hpt:
    fix description of the Route statement and explain it in detail

    * Originally in FIDOSOFT.HUSKY
    * Crossposted in RU.HUSKY

    Hello!

    I noticed Msged isn't included in the macOS zipfile, so tried to build it myself.

    There is a name conflict with the undelete() function supplied with macOS and Msged's function with the same name.

    This patch fixes it.

    -+- editmail.h.orig 2018-12-11 13:08:18.000000000 +1100
    +++ editmail.h 2018-12-22 00:50:58.000000000 +1100
    @@ -42,7 +42,7 @@
    static void nada(void);
    static void emacskill(void);
    static void killeol(void);
    -static void undelete(void);
    +static void myundelete(void);
    static void bytecount(void);
    static void do_help(void);
    static void doscmd(void);

    -+- wrap.c.orig 2018-12-11 13:08:18.000000000 +1100
    +++ wrap.c 2018-12-22 00:51:14.000000000 +1100
    @@ -1675,7 +1675,7 @@
    * deleted and inserts it before the current line.
    */

    -static void undelete(void)
    +static void myundelete(void)
    {
    LINE *nl;

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  • From andrew clarke@3:633/267 to Alexander Kruglikov on Sat Dec 22 00:58:00 2018
    22 Dec 18 00:54, I wrote to you:

    I noticed Msged isn't included in the macOS zipfile, so tried to build
    it myself.

    There is also no huskymak.cfg for macOS included in the Husky archive, so I had
    to write one.

    It would be good if one was already included.

    Is this the same as yours?

    (I chose to install to $HOME/opt/husky/ so I could build and install safely as non-root.)

    === Cut ===
    -+- huskybse/huskymak.cfg 2018-12-11 13:08:00.000000000 +1100
    +++ huskymak.cfg 2018-12-22 00:49:21.000000000 +1100
    @@ -8,7 +8,7 @@

    # Prefix for all directories
    # Set to your homedir if you have no root privilegies
    -PREFIX=/usr/local
    +PREFIX=$(HOME)/opt/husky

    # Where libraries (both .a and .so files) should be placed
    # You should take care that this directory is listed in the LD_LIBRARY_PATH
    @@ -66,10 +66,10 @@
    ##############################################################################

    # C-Compiler
    -CC=gcc
    +CC=cc

    # C++-Compiler
    -CXX=g++
    +CXX=c++

    #Msged needs access to a termcap library. Define its name here.
    #On Linux, termcap is integrated into ncurses:
    @@ -79,7 +79,7 @@
    #TERMCAP=terminfo

    # C++-Compiler
    -GPP=g++
    +GPP=c++

    # Pascal-Compiler (the compiler is optional, but the value of this
    # variable must be defined even if you don't have a Pascal compiler).
    @@ -116,7 +116,7 @@

    # update dynamic library cache
    # If your operating system does not need this, you may comment out this line. -LDCONFIG=/sbin/ldconfig
    +#LDCONFIG=/sbin/ldconfig

    # rename a file
    MV=mv
    @@ -139,7 +139,8 @@
    OSTYPE=UNIX

    # short name of operating system (used for PID lines etc.)
    -UNAME=LNX
    +#UNAME=LNX
    +UNAME=OSX
    #UNAME=BSD
    #UNAME=OS2
    #UNAME=BEOS
    @@ -170,7 +171,7 @@
    # to avoid linkage with old .so files that may be floating around
    # (see 'ifeq ( $(DYNLIBS), 0 )' conditions)
    #
    -DYNLIBS=1
    +DYNLIBS=0

    # C-compiler: specify name of executable
    EXENAMEFLAG=-o
    === Cut ===

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  • From andrew clarke@3:633/267 to Alexander Kruglikov on Sat Dec 22 02:00:32 2018
    22 Dec 18 00:54, I wrote to you:

    I noticed Msged isn't included in the macOS zipfile, so tried to build
    it myself.

    There is a name conflict with the undelete() function supplied with
    macOS and Msged's function with the same name.

    This patch fixes it.

    -+- editmail.h.orig 2018-12-11 13:08:18.000000000 +1100
    +++ editmail.h 2018-12-22 00:50:58.000000000 +1100
    @@ -42,7 +42,7 @@
    static void nada(void);

    Actually disregard this patch, as it's incomplete.

    I've submitted a proper patch on GitHub.

    https://github.com/huskyproject/msged/issues/1

    It also fixes build failure in FreeBSD.

    Thanks.

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)