Changeset 172

Show
Ignore:
Timestamp:
01/04/09 03:59:44 (15 years ago)
Author:
broder
Message:

Add a patch to Moira to fix com_err.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/fink/main/finkinfo/macathena-moira.info

    r152 r172  
    11Package: macathena-moira 
    22Version: 20080830 
    3 Revision: 1 
     3Revision: 2 
    44Source: http://macathena.mit.edu/dist/moira-%v.tar.gz 
    55Maintainer: SIPB MacAthena Project <sipb-macathena@mit.edu> 
     
    1818UpdateConfigGuess: true 
    1919PatchFile: %n.patch 
    20 PatchFile-MD5: ddba5b97628f0cad674cd20bce153bde 
    21 PatchScript: patch -p0 < %{PatchFile} 
     20PatchFile-MD5: 7e555a88ae3cbec212434b5e0311e468 
     21PatchScript: patch -p1 < %{PatchFile} 
    2222ConfigureParams: --with-krb5 --with-com_err --with-hesiod 
    2323CompileScript: << 
  • trunk/fink/main/finkinfo/macathena-moira.patch

    r152 r172  
    1 Index: Makefile.in 
    2 =================================================================== 
    3 --- Makefile.in        2007-02-14 01:59:19.000000000 -0500 
    4 +++ Makefile.in        2007-02-14 02:06:36.000000000 -0500 
     1Index: moira/Makefile.in 
     2=================================================================== 
     3--- moira.orig/Makefile.in 
     4+++ moira/Makefile.in   
    55@@ -35,11 +35,11 @@ 
    66        @for d in $(SUBDIRS); do (echo "### Making $@ in $$d"; cd $$d; $(MAKE) $@) || exit 1; done 
     
    1717  
    1818 world: depend all 
    19 Index: clients/addusr/Makefile.in 
    20 =================================================================== 
    21 --- clients/addusr/Makefile.in 2007-02-14 01:59:19.000000000 -0500 
    22 +++ clients/addusr/Makefile.in 2007-02-14 01:59:59.000000000 -0500 
     19Index: moira/clients/addusr/Makefile.in 
     20=================================================================== 
     21--- moira.orig/clients/addusr/Makefile.in 
     22+++ moira/clients/addusr/Makefile.in    
    2323@@ -40,7 +40,7 @@ 
    2424 depend: 
     
    3030 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    3131        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    32 Index: clients/blanche/Makefile.in 
    33 =================================================================== 
    34 --- clients/blanche/Makefile.in        2007-02-14 01:59:20.000000000 -0500 
    35 +++ clients/blanche/Makefile.in        2007-02-14 01:59:59.000000000 -0500 
     32Index: moira/clients/blanche/Makefile.in 
     33=================================================================== 
     34--- moira.orig/clients/blanche/Makefile.in 
     35+++ moira/clients/blanche/Makefile.in   
    3636@@ -40,7 +40,7 @@ 
    3737 depend: 
     
    4343 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    4444        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    45 Index: clients/chfn/Makefile.in 
    46 =================================================================== 
    47 --- clients/chfn/Makefile.in   2007-02-14 01:59:20.000000000 -0500 
    48 +++ clients/chfn/Makefile.in   2007-02-14 01:59:59.000000000 -0500 
     45Index: moira/clients/chfn/Makefile.in 
     46=================================================================== 
     47--- moira.orig/clients/chfn/Makefile.in 
     48+++ moira/clients/chfn/Makefile.in      
    4949@@ -40,7 +40,7 @@ 
    5050 depend: 
     
    5656 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    5757        $(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) 
    58 Index: clients/chpobox/Makefile.in 
    59 =================================================================== 
    60 --- clients/chpobox/Makefile.in        2007-02-14 01:59:20.000000000 -0500 
    61 +++ clients/chpobox/Makefile.in        2007-02-14 01:59:59.000000000 -0500 
     58Index: moira/clients/chpobox/Makefile.in 
     59=================================================================== 
     60--- moira.orig/clients/chpobox/Makefile.in 
     61+++ moira/clients/chpobox/Makefile.in   
    6262@@ -40,7 +40,7 @@ 
    6363 depend: 
     
    6969 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    7070        $(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) 
    71 Index: clients/chsh/Makefile.in 
    72 =================================================================== 
    73 --- clients/chsh/Makefile.in   2007-02-14 01:59:20.000000000 -0500 
    74 +++ clients/chsh/Makefile.in   2007-02-14 01:59:59.000000000 -0500 
     71Index: moira/clients/chsh/Makefile.in 
     72=================================================================== 
     73--- moira.orig/clients/chsh/Makefile.in 
     74+++ moira/clients/chsh/Makefile.in      
    7575@@ -40,7 +40,7 @@ 
    7676 depend: 
     
    8282 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    8383        $(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) 
    84 Index: clients/mailmaint/Makefile.in 
    85 =================================================================== 
    86 --- clients/mailmaint/Makefile.in      2007-02-14 01:59:20.000000000 -0500 
    87 +++ clients/mailmaint/Makefile.in      2007-02-14 01:59:59.000000000 -0500 
     84Index: moira/clients/mailmaint/Makefile.in 
     85=================================================================== 
     86--- moira.orig/clients/mailmaint/Makefile.in 
     87+++ moira/clients/mailmaint/Makefile.in         
    8888@@ -40,7 +40,7 @@ 
    8989 depend: 
     
    9595 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    9696        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    97 Index: clients/mitch/Makefile.in 
    98 =================================================================== 
    99 --- clients/mitch/Makefile.in  2007-02-14 01:59:20.000000000 -0500 
    100 +++ clients/mitch/Makefile.in  2007-02-14 01:59:59.000000000 -0500 
     97Index: moira/clients/mitch/Makefile.in 
     98=================================================================== 
     99--- moira.orig/clients/mitch/Makefile.in 
     100+++ moira/clients/mitch/Makefile.in     
    101101@@ -40,7 +40,7 @@ 
    102102 depend: 
     
    108108 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    109109        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    110 Index: clients/moira/Makefile.in 
    111 =================================================================== 
    112 --- clients/moira/Makefile.in  2007-02-14 01:59:20.000000000 -0500 
    113 +++ clients/moira/Makefile.in  2007-02-14 02:07:47.000000000 -0500 
     110Index: moira/clients/moira/Makefile.in 
     111=================================================================== 
     112--- moira.orig/clients/moira/Makefile.in 
     113+++ moira/clients/moira/Makefile.in     
    114114@@ -44,14 +44,14 @@ 
    115115 depend: 
     
    135135 moira: $(MOBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    136136        $(CC) -o $@ $(LDFLAGS) $(MOBJS) $(LIBS) 
    137 Index: clients/mrcheck/Makefile.in 
    138 =================================================================== 
    139 --- clients/mrcheck/Makefile.in        2007-02-14 01:59:20.000000000 -0500 
    140 +++ clients/mrcheck/Makefile.in        2007-02-14 01:59:59.000000000 -0500 
     137Index: moira/clients/mrcheck/Makefile.in 
     138=================================================================== 
     139--- moira.orig/clients/mrcheck/Makefile.in 
     140+++ moira/clients/mrcheck/Makefile.in   
    141141@@ -40,7 +40,7 @@ 
    142142 depend: 
     
    148148 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    149149        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    150 Index: clients/mrtest/Makefile.in 
    151 =================================================================== 
    152 --- clients/mrtest/Makefile.in 2007-02-14 01:59:21.000000000 -0500 
    153 +++ clients/mrtest/Makefile.in 2007-02-14 01:59:59.000000000 -0500 
     150Index: moira/clients/mrtest/Makefile.in 
     151=================================================================== 
     152--- moira.orig/clients/mrtest/Makefile.in 
     153+++ moira/clients/mrtest/Makefile.in    
    154154@@ -40,7 +40,7 @@ 
    155155 depend: 
     
    161161 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    162162        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    163 Index: clients/stanley/Makefile.in 
    164 =================================================================== 
    165 --- clients/stanley/Makefile.in        2007-02-14 01:59:21.000000000 -0500 
    166 +++ clients/stanley/Makefile.in        2007-02-14 01:59:59.000000000 -0500 
     163Index: moira/clients/stanley/Makefile.in 
     164=================================================================== 
     165--- moira.orig/clients/stanley/Makefile.in 
     166+++ moira/clients/stanley/Makefile.in   
    167167@@ -40,7 +40,7 @@ 
    168168 depend: 
     
    174174 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    175175        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    176 Index: clients/stella/Makefile.in 
    177 =================================================================== 
    178 --- clients/stella/Makefile.in 2007-02-14 01:59:21.000000000 -0500 
    179 +++ clients/stella/Makefile.in 2007-02-14 02:00:00.000000000 -0500 
     176Index: moira/clients/stella/Makefile.in 
     177=================================================================== 
     178--- moira.orig/clients/stella/Makefile.in 
     179+++ moira/clients/stella/Makefile.in    
    180180@@ -40,7 +40,7 @@ 
    181181 depend: 
     
    187187 $(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) 
    188188        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) 
    189 Index: man/Makefile.in 
    190 =================================================================== 
    191 --- man/Makefile.in    2007-02-14 01:59:21.000000000 -0500 
    192 +++ man/Makefile.in    2007-02-14 02:00:00.000000000 -0500 
     189Index: moira/man/Makefile.in 
     190=================================================================== 
     191--- moira.orig/man/Makefile.in 
     192+++ moira/man/Makefile.in       
    193193@@ -32,6 +32,7 @@ 
    194194 depend: 
     
    202202+       for m in $(MAN3); do $(INSTALL_DATA) $(srcdir)/$$m $(DESTDIR)$(mandir)/man3; done 
    203203+       for m in $(MAN8); do $(INSTALL_DATA) $(srcdir)/$$m $(DESTDIR)$(mandir)/man8; done 
    204 Index: update/Makefile.in 
    205 =================================================================== 
    206 --- update/Makefile.in 2007-02-14 01:59:21.000000000 -0500 
    207 +++ update/Makefile.in 2007-02-14 02:00:00.000000000 -0500 
     204Index: moira/update/Makefile.in 
     205=================================================================== 
     206--- moira.orig/update/Makefile.in 
     207+++ moira/update/Makefile.in    
    208208@@ -43,8 +43,8 @@ 
    209209 depend: 
     
    217217 update_test: $(COBJS) $(MR_LIBDEP) 
    218218        $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS) 
     219diff -ur moira.orig/clients/mrtest/mrtest.c moira/clients/mrtest/mrtest.c 
     220--- moira.orig/clients/mrtest/mrtest.c  2008-08-30 18:22:14.000000000 -0400 
     221+++ moira/clients/mrtest/mrtest.c       2009-01-04 03:20:08.000000000 -0500 
     222@@ -97,8 +97,13 @@ 
     223        } 
     224     } 
     225  
     226+#ifndef __APPLE__ 
     227   initialize_sms_error_table(); 
     228   initialize_krb_error_table(); 
     229+#else 
     230+  add_error_table(&et_sms_error_table); 
     231+  add_error_table(&et_krb_error_table); 
     232+#endif 
     233  
     234 #ifdef HAVE_READLINE 
     235   /* we don't want filename completion */ 
     236diff -ur moira.orig/lib/mr_init.c moira/lib/mr_init.c 
     237--- moira.orig/lib/mr_init.c    2008-08-30 18:22:14.000000000 -0400 
     238+++ moira/lib/mr_init.c 2009-01-04 03:19:06.000000000 -0500 
     239@@ -20,8 +20,15 @@ 
     240   if (mr_inited) 
     241     return; 
     242  
     243+#ifndef __APPLE__ 
     244   initialize_sms_error_table(); 
     245   initialize_krb_error_table(); 
     246   initialize_ureg_error_table(); 
     247+#else 
     248+  add_error_table(&et_sms_error_table); 
     249+  add_error_table(&et_krb_error_table); 
     250+  add_error_table(&et_ureg_error_table); 
     251+#endif 
     252+ 
     253   mr_inited = 1; 
     254 }