forked from minhngoc25a/freetype2
Fix PIC linking.
* include/internal/ftrfork.h (CONST_FT_RFORK_RULE_ARRAY_BEGIN): Fix generated function name. * src/base/basepic.c (FT_Init_Table_raccess_guess_table): Rename to ... (FT_Init_Table_ft_raccess_guess_table): ... this so that the function name correctly corresponds to what the macro framework expects. * src/psnames/rules.mk (PSNAMES_DRV_SRC_S): Use correct file name so that PIC functions are compiled also.
This commit is contained in:
parent
c4e968edcb
commit
bd41386280
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2013-12-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix PIC linking.
|
||||
|
||||
* include/internal/ftrfork.h (CONST_FT_RFORK_RULE_ARRAY_BEGIN): Fix
|
||||
generated function name.
|
||||
|
||||
* src/base/basepic.c (FT_Init_Table_raccess_guess_table): Rename
|
||||
to ...
|
||||
(FT_Init_Table_ft_raccess_guess_table): ... this so that the
|
||||
function name correctly corresponds to what the macro framework
|
||||
expects.
|
||||
|
||||
* src/psnames/rules.mk (PSNAMES_DRV_SRC_S): Use correct file name so
|
||||
that PIC functions are compiled also.
|
||||
|
||||
2013-12-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[base] Add missing dependencies to Makefile.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Embedded resource forks accessor (specification). */
|
||||
/* */
|
||||
/* Copyright 2004, 2006, 2007, 2012 by */
|
||||
/* Copyright 2004, 2006, 2007, 2012, 2013 by */
|
||||
/* Masatake YAMATO and Redhat K.K. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -94,7 +94,7 @@ FT_BEGIN_HEADER
|
|||
/* this array is a function in PIC mode, so no ; is needed in END */
|
||||
#define CONST_FT_RFORK_RULE_ARRAY_BEGIN( name, type ) \
|
||||
void \
|
||||
FT_Init_ ## name( type* storage ) \
|
||||
FT_Init_Table_ ## name( type* storage ) \
|
||||
{ \
|
||||
type* local = storage; \
|
||||
\
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* The FreeType position independent code services for base. */
|
||||
/* */
|
||||
/* Copyright 2009, 2012 by */
|
||||
/* Copyright 2009, 2012, 2013 by */
|
||||
/* Oran Agra and Mickey Gabel. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -35,7 +35,7 @@
|
|||
/* forward declaration of PIC init function from ftrfork.c */
|
||||
/* (not modularized) */
|
||||
void
|
||||
FT_Init_Table_raccess_guess_table( ft_raccess_guess_rec* record );
|
||||
FT_Init_Table_ft_raccess_guess_table( ft_raccess_guess_rec* record );
|
||||
#endif
|
||||
|
||||
/* forward declaration of PIC init functions from ftinit.c */
|
||||
|
@ -92,7 +92,7 @@
|
|||
FT_Init_Class_ft_bitmap_glyph_class(
|
||||
&container->ft_bitmap_glyph_class );
|
||||
#ifdef FT_CONFIG_OPTION_MAC_FONTS
|
||||
FT_Init_Table_raccess_guess_table(
|
||||
FT_Init_Table_ft_raccess_guess_table(
|
||||
(ft_raccess_guess_rec*)&container->ft_raccess_guess_table );
|
||||
#endif
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2000, 2001, 2003, 2011 by
|
||||
# Copyright 1996-2001, 2003, 2011, 2013 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -46,7 +46,7 @@ PSNAMES_DRV_OBJ_S := $(OBJ_DIR)/psnames.$O
|
|||
|
||||
# PSNames driver source file for single build
|
||||
#
|
||||
PSNAMES_DRV_SRC_S := $(PSNAMES_DIR)/psmodule.c
|
||||
PSNAMES_DRV_SRC_S := $(PSNAMES_DIR)/psnames.c
|
||||
|
||||
|
||||
# PSNames driver - single object
|
||||
|
|
Loading…
Reference in New Issue