Ticket #46850: configure-pixmap-fix.diff

File configure-pixmap-fix.diff, 690 bytes (added by ewen-naos-nz (Ewen McNeill), 10 years ago)

Patch to configure to comment out -DGDK_PIXBUF_DISABLE_DEPRECATED from CFLAGS

  • configure

    old new  
    3105431054if test "$have_gtk" = "yes" ; then
    3105531055        # If we have GTK then add flags for it.
    3105631056
    31057         CPPFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CPPFLAGS"
     31057        # 2015-03-04 - disabled to fix SegFault, see
     31058        # https://trac.macports.org/ticket/46850
     31059        # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195980#c45
     31060        #CPPFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CPPFLAGS"
    3105831061        CPPFLAGS="-DGDK_DISABLE_DEPRECATED $CPPFLAGS"
    3105931062        if test \( $gtk_config_major_version -eq 3 -a $gtk_config_minor_version -ge 10 \) ; then
    3106031063                ## Allow use of deprecated & disable deprecated warnings if Gtk >= 3.10;