]> git.pld-linux.org Git - packages/autofs.git/blob - autofs-clean.patch
- patches moved to our cvs
[packages/autofs.git] / autofs-clean.patch
1 --- ./daemon/mount.c.orig       Sat Jun 23 13:55:53 2001
2 +++ ./daemon/mount.c    Sat Jun 23 13:56:22 2001
3 @@ -21,6 +21,7 @@
4  
5  #include <syslog.h>
6  #include <stdlib.h>
7 +#include <string.h>
8  #include "automount.h"
9  
10  /* These filesystems are known not to work with the "generic" module */
11 --- ./modules/parse_sun.c.orig  Sat Jun 23 13:57:04 2001
12 +++ ./modules/parse_sun.c       Sat Jun 23 14:02:22 2001
13 @@ -17,6 +17,7 @@
14  
15  #include <stdio.h>
16  #include <malloc.h>
17 +#include <alloca.h>
18  #include <errno.h>
19  #include <netdb.h>
20  #include <fcntl.h>
21 --- ./modules/mount_nfs.c.orig  Sat Jun 23 14:02:40 2001
22 +++ ./modules/mount_nfs.c       Sat Jun 23 14:04:29 2001
23 @@ -17,6 +17,7 @@
24  
25  #include <stdio.h>
26  #include <malloc.h>
27 +#include <alloca.h>
28  #include <errno.h>
29  #include <netdb.h>
30  #include <fcntl.h>
31 --- ./modules/mount_generic.c.orig      Sat Jun 23 14:04:41 2001
32 +++ ./modules/mount_generic.c   Sat Jun 23 14:04:59 2001
33 @@ -16,6 +16,7 @@
34  
35  #include <stdio.h>
36  #include <malloc.h>
37 +#include <alloca.h>
38  #include <errno.h>
39  #include <fcntl.h>
40  #include <unistd.h>
41 --- ./modules/mount_ext2.c.orig Sat Jun 23 14:05:18 2001
42 +++ ./modules/mount_ext2.c      Sat Jun 23 14:05:35 2001
43 @@ -16,6 +16,7 @@
44  
45  #include <stdio.h>
46  #include <malloc.h>
47 +#include <alloca.h>
48  #include <errno.h>
49  #include <fcntl.h>
50  #include <unistd.h>
51 --- ./Makefile.rules.orig       Sat Jun 23 14:07:08 2001
52 +++ ./Makefile.rules    Sat Jun 23 14:08:24 2001
53 @@ -15,13 +15,13 @@
54  # The STRIP defined here *must not* remove any dynamic-loading symbols
55  
56  ifdef DEBUG
57 -CFLAGS    = -O2 -g -DDEBUG
58 -LDFLAGS   = -g
59 +CFLAGS    = -O3 -fomit-frame-pointer -Wall
60 +LDFLAGS   = -ggdb
61  STRIP     = :
62  else
63 -CFLAGS    = -O3 -fomit-frame-pointer -Wall
64 -LDFLAGS   = -s
65 -STRIP     = strip --strip-debug
66 +CFLAGS    = $(RPM_OPT_FLAGS)
67 +LDFLAGS   = 
68 +STRIP     = :
69  endif
70  
71  CC        = gcc
This page took 0.080265 seconds and 3 git commands to generate.