bugGnash - The GNU Flash player - Bugs: bug #38116, Configure auto detect freetype...

 
 

bug #38116: Configure auto detect freetype fails

Submitter:  Julian Hall <jules>
Submitted:  Fri 18 Jan 2013 04:28:26 PM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  0.8.10 Status:  In Progress
Privacy:  Public Assigned to:  rsavoye
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Jan 2013 05:17:23 PM UTC, comment #1: 

  Can you try this simple patch ? It works for me.

diff --git a/macros/freetype.m4 b/macros/freetype.m4
index 510951a..3f3967a 100644
--- a/macros/freetype.m4
+++ b/macros/freetype.m4
@@ -52,7 +52,7 @@ AC_DEFUN([GNASH_PATH_FREETYPE2],
     done
 
     if test x"${ac_cv_path_freetype_incl}" = x ; then
-      AC_CHECK_HEADERS(freetype2/freetype/freetype.h)
+      AC_CHECK_HEADERS(freetype2/freetype/config/ftheader.h)
     fi
 
     AC_MSG_CHECKING([for libfreetype header])

Rob Savoye <rsavoye>
Group administrator
Fri 18 Jan 2013 04:28:26 PM UTC, original submission:  

If configure is not given an explicit path to freetype and none is available from pkg-config (e.g. because we are cross-compiling), it attempts to auto detect the presence of freetype by compiling a program that contains the line:

#include <freetype2/freetype/freetype.h>

Unfortunately, this test always fails, as this header file expands to a #error line if it is included before <ft2build.h>.

Julian Hall <jules>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rsavoye (Updated the item)
  • -email is unavailable- added by jules (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-19 rsavoye StatusNone In Progress
        Assigned toNone rsavoye

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code