pkgsrc/graphics/librsvg/patches/patch-aa
adam 9776846380 Changes 1.0.3:
* Fix bug where empty gradients cause segfault (Darin)
* Small build fix (Darin)

Changes 1.0.2:
* Fix bug where scaled text would be clipped (Darin)
* Fix bug where empty .svg file cause segfault (Darin)
* Fix bug where some .svg files with certain kinds of degenerate
  gradients would cause segfault (Darin)
* Change install and packaging so that librsvg 1 and librsvg 2
  can be installed on the same system. (Ramiro)
* Fix bug where we would read past the end of a string when the
  string has multibyte sequences in it (Darin)
* Remove vestiges of unused gettext and xml-i18n-tools (Darin)
2005-01-28 14:58:09 +00:00

39 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.3 2005/01/28 14:58:09 adam Exp $
--- configure.orig 2002-01-17 18:54:07.000000000 +0000
+++ configure
@@ -5412,14 +5412,14 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
-echo $ac_n "checking for poptParseArgvString in -lpopt""... $ac_c" 1>&6
-echo "configure:5417: checking for poptParseArgvString in -lpopt" >&5
+echo $ac_n "checking for poptParseArgvString in -lgnomesupport""... $ac_c" 1>&6
+echo "configure:5417: checking for poptParseArgvString in -lgnomesupport" >&5
ac_lib_var=`echo popt'_'poptParseArgvString | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpopt $LIBS"
+LIBS="-lgnomesupport $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5425 "configure"
#include "confdefs.h"
@@ -5447,7 +5447,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- POPT_LIBS="-lpopt"
+ POPT_LIBS="-lgnomesupport"
else
echo "$ac_t""no" 1>&6
fi
@@ -6020,6 +6020,7 @@ else
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <ft2build.h>
#include <freetype/freetype.h>
char*