User Activity

  • Posted a comment on ticket #1932 on FlightGear - Flight Simulator

    Why we can't use fgetpos is beyond me. Where there's isn't a macro for musl you'll find the answer here: https://wiki.musl-libc.org/faq.html

  • Posted a comment on ticket #1932 on FlightGear - Flight Simulator

    Ok, good to know

  • Posted a comment on ticket #1932 on FlightGear - Flight Simulator

    When I say "official support from upstream" i mean that the source should compile without the need of patching. So if these patches could be considered to be merged or some other more correct/elegant solution be found so that it compiles out-of-the-box also with musl libc. Thanks!

  • Posted a comment on ticket #1932 on FlightGear - Flight Simulator

    VoidLinux and AlpineLinux (both using musl libc) have packages for it. I think it would be nice have official support from upstream. Thanks for considering it!

  • Posted a comment on ticket #1933 on FlightGear - Flight Simulator

    Yes, it was ported. I'm currently using this patch from VoidLinux iirc: --- a/simgear/misc/strutils.cxx +++ b/simgear/misc/strutils.cxx @@ -43,6 +43,11 @@ #include <windows.h> #endif +#ifdef _GNU_SOURCE +#undef _GNU_SOURCE +#define _POSIX_C_SOURCE 200112L +#endif + using std::string; using std::vector; using std::stringstream; --- a/simgear/package/md5.h +++ b/simgear/package/md5.h @@ -20,9 +20,9 @@ #endif #if defined(_MSC_VER) -typedef unsigned char u_int8_t; -typedef unsigned int u_int32_t; -typedef...

  • Posted a comment on ticket #1932 on FlightGear - Flight Simulator

    It's ported. I've used this patch: --- a/3rdparty/hts_engine_API/lib/HTS_misc.c 2015-02-18 21:10:05.000000000 +0100 +++ b/3rdparty/hts_engine_API/lib/HTS_misc.c 2015-10-31 17:33:53.946349145 +0100 @@ -247,8 +247,10 @@ fgetpos((FILE *) fp->pointer, &pos); #if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__) return (size_t) pos; -#else +#elif defined(__GLIBC__) return (size_t) pos.__pos; +#else + return (size_t) ftell(fp->pointer); #endif...

  • Created ticket #53 on PLIB

    Fix missing includes in non-GNU/GLIBC systems

  • Created ticket #1933 on FlightGear - Flight Simulator

    Packaging simgear for Alpine Linux (busybox/musl)

View All

Personal Data

Username:
doaren
Joined:
2017-01-04 15:35:01

Projects

  • No projects to display.

Personal Tools