Menu

A few small fixes

2000-10-13
2000-10-14
  • Brian J. Johnson

    Here are a few small fixes for things which perhaps don't qualify as bugs (hence I'm posting them here instead of opening a bug report), but are useful nonetheless:
    - make extfs send ".bin" (MacBinary) files to Stuffit (makes file transfer a bit more convenient, since BinHex conversion is not required)
    - replace periods with underscores in the OS_xxx define (otherwise the mips-sgi-irix6.5 config adds "-DOS_irix6.5" to the compiler command lines, which makes cpp complain about the period)
    - tweak the Irix defines and libraries to compile more cleanly

    Hope they are useful.

    BTW, I also have an Irix audio driver which kind of works....  I'll see if I can submit that next week.

    ===================================================================
    RCS file: /cvs/BasiliskII/src/Unix/configure.in,v
    retrieving revision 1.27
    diff -u -r1.27 configure.in
    --- configure.in        2000/10/11 17:55:06     1.27
    +++ configure.in        2000/10/13 20:52:32
    @@ -39,7 +39,7 @@
       netbsd*)     OS_TYPE=netbsd;;
       freebsd*)    OS_TYPE=freebsd;;
       solaris*)    OS_TYPE=solaris;;
    -  *)           OS_TYPE=`echo $target_os | sed -e 's/-/_/'`;;
    +  *)           OS_TYPE=`echo $target_os | sed -e 's/-/_/' | sed -e 's/\./_/'`;;
    esac
    DEFINES="$DEFINES -DOS_$OS_TYPE"

    @@ -259,9 +259,11 @@
       DEFINES="$DEFINES -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS"
       ;;
    irix*)
       EXTRASYSSRCS=Irix/unaligned.c
    -  DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200"
    -  LIBS="$LIBS -lm"
    +  dnl IRIX headers work fine, but somehow don't define or use "STDC_HEADERS"
    +  DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200 -DSTDC_HEADERS"
       ;;
    esac
    ===================================================================
    RCS file: /cvs/BasiliskII/src/Unix/extfs_unix.cpp,v
    retrieving revision 1.14
    diff -u -r1.14 extfs_unix.cpp
    --- extfs_unix.cpp      2000/07/22 16:07:20     1.14
    +++ extfs_unix.cpp      2000/10/13 20:52:32
    @@ -161,6 +161,7 @@
            {".Z", FOURCC('Z','I','V','M'), FOURCC('L','Z','I','V')},
            {".gz", FOURCC('G','z','i','p'), FOURCC('G','z','i','p')},
            {".hqx", FOURCC('T','E','X','T'), FOURCC('S','I','T','x')},
    +       {".bin", FOURCC('T','E','X','T'), FOURCC('S','I','T','x')},
            {".pdf", FOURCC('P','D','F',' '), FOURCC('C','A','R','O')},
            {".ps", FOURCC('T','E','X','T'), FOURCC('t','t','x','t')},
            {".sit", FOURCC('S','I','T','!'), FOURCC('S','I','T','x')},

     
    • Christian Bauer

      Christian Bauer - 2000-10-14

      Thanks! Your patches are committed to the CVS.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.