Ticket #6353: 0002-remove-posixisms.patch

File 0002-remove-posixisms.patch, 942 bytes (added by SF/lblume, 11 years ago)

Patch to remove $() from the script

  • (a) a/configure.original vs. (b) b/configure

    a b  
    21762176                # When not cross-compiling, enable large file support, but don't
    21772177                # care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
    21782178                if test -z "$_host"; then
    2179                         CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)"
     2179                        CXXFLAGS="$CXXFLAGS `getconf LFS_CFLAGS 2>/dev/null`"
    21802180                fi
    21812181                ;;
    21822182        maemo)
     
    35633563                        ;;
    35643564                *)
    35653565                        # Unity has a lots of dependencies, update the libs and cflags var with them
    3566                         LIBUNITY_LIBS="$LIBUNITY_LIBS $(pkg-config --libs unity = 3.8.4 2>> "$TMPLOG")"
    3567                         LIBUNITY_CFLAGS="$LIBUNITY_CFLAGS $(pkg-config --cflags unity = 3.8.4 2>> "$TMPLOG")"
     3566                        LIBUNITY_LIBS="$LIBUNITY_LIBS `pkg-config --libs unity = 3.8.4 2>> "$TMPLOG"`"
     3567                        LIBUNITY_CFLAGS="$LIBUNITY_CFLAGS `pkg-config --cflags unity = 3.8.4 2>> "$TMPLOG"`"
    35683568                        _libunity=no
    35693569                        cat > $TMPC << EOF
    35703570#include <unity.h>