View | Details | Raw Unified
Collapse All | Expand All

(-) libgdiplus-1.9.ebuild (+6 lines)
 Lines 33-42    Link Here 
	unpack ${A}
	unpack ${A}
	cd "${S}"
	cd "${S}"
	epatch "${FILESDIR}/${PN}-1.2.5-imglibs.patch"
	epatch "${FILESDIR}/${PN}-1.2.5-imglibs.patch"
	sed -i \
		-e 's/FONTCONFIG-CONFIG/FONTCONFIG_CONFIG/' \
		-e 's/FREETYPE-CONFIG/FREETYPE_CONFIG/' \
		configure.in || die 'configure.in not found'
	eautoreconf
	eautoreconf
}
}
src_compile() {
src_compile() {
	if [[ "$(gcc-major-version)" -gt "3" ]] || \
	if [[ "$(gcc-major-version)" -gt "3" ]] || \
 Lines 45-54    Link Here 
		append-flags -fno-inline-functions
		append-flags -fno-inline-functions
	fi
	fi
	# Disable glitz support as libgdiplus does not use it, and it causes errors
	# Disable glitz support as libgdiplus does not use it, and it causes errors
	econf --disable-glitz          \
	econf --disable-glitz          \
		--disable-dependency-tracking \
		--with-cairo=system \
		  $(use_with exif libexif) \
		  $(use_with exif libexif) \
		  $(use_with gif libgif)   \
		  $(use_with gif libgif)   \
		  $(use_with jpeg libjpeg) \
		  $(use_with jpeg libjpeg) \
		  $(use_with tiff libtiff) || die "configure failed"
		  $(use_with tiff libtiff) || die "configure failed"