root/trunk/fink/main/finkinfo/macathena-moira.patch

Revision 188, 1.7 kB (checked in by broder, 15 years ago)

Update Moira to the latest version, and add a new patch to correct for
build-system issues.

  • moira-20091016/clients/mrtest/mrtest.c

    old new  
    9797        } 
    9898    } 
    9999 
     100#if defined(__APPLE__) && defined(__MACH__) 
     101  add_error_table(&et_sms_error_table); 
     102  add_error_table(&et_krb_error_table); 
     103#else 
    100104  initialize_sms_error_table(); 
    101105  initialize_krb_error_table(); 
     106#endif 
    102107 
    103108#ifdef HAVE_READLINE 
    104109  /* we don't want filename completion */ 
  • moira-20091016/configure.in

    old new  
    464464if test "$zephyr" != no; then 
    465465  KLIBS="-lzephyr $KLIBS" 
    466466fi 
    467 LIBS="-lmoira $KLIBS" 
    468 AC_SUBST(KLIBS) 
    469  
    470467MR_LIBDEP='$(BUILDTOP)/lib/libmoira.la' 
    471468AC_SUBST(MR_LIBDEP) 
    472469 
     470LIBS="$MR_LIBDEP $KLIBS" 
     471AC_SUBST(KLIBS) 
     472 
    473473AC_OUTPUT(Makefile lib/Makefile include/Makefile clients/Makefile \ 
    474474          clients/lib/Makefile clients/addusr/Makefile \ 
    475475          clients/blanche/Makefile clients/chfn/Makefile \ 
  • moira-20091016/lib/mr_init.c

    old new  
    2020  if (mr_inited) 
    2121    return; 
    2222 
     23#if defined(__APPLE__) && defined(__MACH__) 
     24  add_error_table(&et_sms_error_table); 
     25  add_error_table(&et_krb_error_table); 
     26  add_error_table(&et_ureg_error_table); 
     27#else 
    2328  initialize_sms_error_table(); 
    2429  initialize_krb_error_table(); 
    2530  initialize_ureg_error_table(); 
     31#endif 
     32 
    2633  mr_inited = 1; 
    2734} 
Note: See TracBrowser for help on using the browser.