HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #606

Ticket #606: fontconfig-30077.patch

File fontconfig-30077.patch, 1.3 KB (added by jstressman, 3 years ago)

place in the normal patches folder

  • configure.ac

    diff -ur --exclude=.git fontconfig-30077/configure.ac fontconfig-30077-haiku/configure.ac
    old new  
    2525 
    2626AC_PREREQ(2.61) 
    2727AC_INIT(fonts.dtd) 
     28AC_CONFIG_MACRO_DIR([m4]) 
    2829 
    2930dnl ========================================================================== 
    3031dnl                               Versioning               
  • src/fcatomic.c

    diff -ur --exclude=.git fontconfig-30077/src/fcatomic.c fontconfig-30077-haiku/src/fcatomic.c
    old new  
    102102    int         ret; 
    103103    struct stat lck_stat; 
    104104 
    105 #ifdef HAVE_LINK 
     105#if defined (HAVE_LINK) && !defined (__HAIKU__) 
    106106    int         fd = -1; 
    107107    FILE        *f = 0; 
    108108    FcBool      no_link = FcFalse; 
    … …  
    157157            time_t  now = time (0); 
    158158            if ((long int) (now - lck_stat.st_mtime) > 10 * 60) 
    159159            { 
    160 #ifdef HAVE_LINK 
     160#if defined (HAVE_LINK) && !defined (__HAIKU__) 
    161161                if (no_link) 
    162162                { 
    163163                    if (rmdir ((char *) atomic->lck) == 0) 
    … …  
    212212void 
    213213FcAtomicUnlock (FcAtomic *atomic) 
    214214{ 
    215 #ifdef HAVE_LINK 
     215#if defined (HAVE_LINK) && !defined (__HAIKU__) 
    216216    if (unlink ((char *) atomic->lck) == -1) 
    217217        rmdir ((char *) atomic->lck); 
    218218#else 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/