Menu

#153 Patch for djgpp/dos cross compile builds on linux

v3.1
closed-fixed
None
bugfix
2017-08-07
2017-04-17
No

Hi,

The attached patch contains fixes are needed (for me) to be able to cross compile for djgpp/dos on (Arch) Linux...

1 Attachments

Discussion

  • Marco van den Heuvel

    Thanks for the patch, however, I was already fixing the dos port locally before you submitted the patch.

    I've committed my fixes in rev 33204, please check you cross-compile and see if any additional fixes are needed.

     
  • Uffe Jakobsen

    Uffe Jakobsen - 2017-04-18

    Hi,

    Thanks for your reply.

    This typo seems to be the only real change needed

    diff --git src/arch/msdos/uisampler.c src/arch/msdos/uisampler.c
    index abb6cf564..0166798dc 100644
    --- src/arch/msdos/uisampler.c
    +++ src/arch/msdos/uisampler.c
    @@ -27,7 +27,7 @@
    #include "vice.h"

    #include <stdio.h>
    -#include <string.H>
    +#include <string.h>

    #include "lib.h"
    #include "mouse.h"

     
  • Uffe Jakobsen

    Uffe Jakobsen - 2017-04-18

    Hmm

    For now it seems that this change is also needed to prevent an undefined ... error

    As you propably can guess I'm building without network
    I would have That should have been taken care of at another level...
    I'll have to look at this later

    diff --git src/arch/msdos/archdep.c src/arch/msdos/archdep.c
    index f35c05604..de5bf7cfc 100644
    --- src/arch/msdos/archdep.c
    +++ src/arch/msdos/archdep.c
    @@ -412,7 +412,9 @@ int archdep_rename(const char oldpath, const char newpath)

    void archdep_shutdown(void)
    {
    +#ifdef HAVE_NETWORK
    archdep_network_shutdown();
    +#endif
    }

     
  • Marco van den Heuvel

    • status: open --> closed-fixed
    • assigned_to: Marco van den Heuvel
    • Category: --> bugfix
     
  • Marco van den Heuvel

    Typo fixed and guard added in trunk, thanks for catching those.

     

Log in to post a comment.