]> git.pld-linux.org Git - packages/fontforge.git/commitdiff
- updated for 20060822
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Sep 2006 13:57:51 +0000 (13:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fontforge-sonames.patch -> 1.5

fontforge-sonames.patch

index 744d40523c34515fe99dccfd81c8e07ca9441ce0..79559cf3dc28a069683e89246b15a2ad4fde7fa1 100644 (file)
  #  endif
      if ( libpng==NULL ) {
        GDrawIError("%s", dlerror());
---- fontforge-20051028/configure.in.orig       2005-10-29 05:05:40.000000000 +0200
-+++ fontforge-20051028/configure.in    2005-10-29 22:15:47.408896664 +0200
-@@ -148,12 +148,30 @@
+--- fontforge-20060822/configure.in.orig       2006-08-18 21:33:41.000000000 +0200
++++ fontforge-20060822/configure.in    2006-09-16 13:59:22.074816500 +0200
+@@ -165,13 +165,31 @@
   AC_CHECK_FILE(/usr/local/include/libxml2/libxml,[CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/libxml2/"],
    AC_DEFINE(_NO_LIBXML))])
  
 +])
 +
  dnl Some old versions of lib(un)gif don't work for us, they've got the
- dnl Function argument in the wrong place. So two checks for gif.
+ dnl Function argument in the wrong place. So check the header files.
+ dnl check for both libgif and libungif, I think they use the same args.
  
- AC_CHECK_LIB(ungif, DGifOpenFileName, [
+ AC_CHECK_LIB(gif, DGifOpenFileName, [
  echo -n checking for ExtensionBlock.Function in gif_lib.h...
 -AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ], echo " " yes , [echo " " no
 +AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ],
 +      CHECK_SONAME(ungif)], , [echo " " no
      ac_cv_lib_ungif_DGifOpenFileName=no
      AC_DEFINE(_NO_LIBUNGIF)])
- ] , AC_DEFINE(_NO_LIBUNGIF))
-@@ -163,19 +181,20 @@
+ ] , [
+@@ -187,19 +205,20 @@
  dnl zlib.h because we never use it directly, only used inside libpng)
  
  AC_CHECK_LIB(z, deflateEnd, : ,AC_DEFINE(_NO_LIBPNG), -lm) 
   ;;
  esac
  
-@@ -217,7 +236,7 @@
+@@ -247,7 +266,7 @@
  if test "$gww_hasbytecode" = "yes" ; then
   AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread", gww_hasbytecode="no")
  fi
  if test \( "$gww_hasbytecode" = "yes" \) -a \( "$FreeType2_IncRoot" != "" \); then
   gww_hasbytecode="no"
   AC_ARG_WITH(freetype-src,
-@@ -343,6 +362,7 @@
+@@ -374,6 +393,7 @@
     STATIC_LIBS="$STATIC_LIBS -luninameslist"
     AC_DEFINE(_STATIC_LIBUNINAMESLIST) ] , AC_DEFINE(_NO_LIBUNINAMESLIST))
  fi
 +AC_DEFINE_UNQUOTED([LIBUNINAMESLIST_SOEXT],[".so.0"],[libuninameslist ext])
  
- #AC_CHECK_LIB(intl, gettext, STATIC_LIBS="$STATIC_LIBS -lintl" ,HAVE_LIBINTL_H=0 )
+ dnl used to check for gettext here, but we require a version with b_t_c
+ dnl and not all libintls have that. So check for it instead.
This page took 0.055113 seconds and 4 git commands to generate.