Ticket #728: hack.diff

File hack.diff, 974 bytes (added by Kevin Atkinson <kevin.mythtv@…>, 16 years ago)

Changes I needed to make to build MythTV

  • configure

     
    16511651int main( void ) { return 0; }
    16521652EOF
    16531653
    1654     if $cc $CFLAGS $ARCHFLAGS -o $TMPE $TMPC 2> /dev/null ; then
     1654    if $cc -I/opt/mm/include $CFLAGS $ARCHFLAGS -o $TMPE $TMPC 2> /dev/null ; then
    16551655        lirc="yes"
    16561656    fi
    16571657fi
     
    16661666
    16671667if test x"$x11" = x"yes" ; then
    16681668    x11="no"
    1669     if test -f /usr/X11R6/bin/xinit ; then
     1669    if test -f /usr/bin/xinit ; then
    16701670        x11="yes"
    16711671    fi
    16721672fi
  • settings.pro

     
    5858}
    5959QMAKE_LIBDIR_X11 =
    6060
    61 EXTRA_LIBS = -lfreetype -lmp3lame
     61EXTRA_LIBS =  -L/opt/mm/lib/ -lfreetype -lmp3lame
    6262EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS
    6363EXTRA_LIBS += $$CONFIG_AUDIO_ARTS_LIBS
    6464EXTRA_LIBS += $$CONFIG_AUDIO_JACK_LIBS