This topic contains 0 replies, has 0 voices, and was last updated by  Panther30 11 years, 10 months ago.

  • Author
  • #4441

    Crispy Critter

    This is for, and it adds the –unicode=no option to the configure script, and puts in the libpango-1.0, libpangox-1.0, and libalut checks as well, so that it isn’t necessary to manually modify the configure script, nor manually modify src/scorched/Makefile.

    It does not fix the problem with va_copy, so it’s still necessary to use CFLAGS=-DHAVE_VA_COPY when invoking the configure script. I’m not proficient enough with autoconf to figure out how to detect a macro.

    The last line of the patch is blank.

    --- 2006-05-23 14:25:17.000000000 -0500
    +++ 2006-05-23 17:14:35.000000000 -0500
    @@ -227,6 +227,9 @@

    +# Crispy Critter: Force wx-config to NOT use unicode
    dnl Checks for static linking for wx windows
    @@ -275,6 +278,12 @@

    +# Crispy Critter (needed for compiling on FC5)
    +# pangox must be checked first
    +AC_CHECK_LIB(alut, alutInit)
    # Checl for extra functions
    AC_CHECK_FUNCS(vsnprintf snprintf)



    Even with the patch (well even the patch gave me a couple errors at line 3 and stoipped but anyways.) I still get this error:

    then mv -f ".deps/GLWPlanView.Tpo" ".deps/GLWPlanView.Po"; else rm -f ".deps/GLWPlanView.Tpo"; exit 1; fi
    ../landscape/LandscapePoints.h:44: error: extra qualification ‘LandscapePoints::’ on member ‘findPoint’
    ../landscape/MovementMap.h:68: error: extra qualification ‘MovementMap::’ on member ‘POINT_TO_UINT’
    make[2]: *** [GLWPlanView.o] Error 1
    make[2]: Leaving directory `/home/server1/scorched/src/scorched'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/server1/scorched/src'
    make: *** [all-recursive] Error 1
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.