fixes samba3 to use gawk instead of mawk
[openwrt/svn-archive/archive.git] / net / samba3 / patches / 140-no_mmap.patch
1 Index: samba-3.0.24/source/include/config.h
2 ===================================================================
3 --- samba-3.0.24.orig/source/include/config.h 2008-08-08 17:43:08.000000000 +0200
4 +++ samba-3.0.24/source/include/config.h 2008-08-08 17:44:02.000000000 +0200
5 @@ -821,7 +821,7 @@
6 #define HAVE_MKTIME 1
7
8 /* Whether mmap works */
9 -#define HAVE_MMAP 1
10 +/* #define HAVE_MMAP 1 */
11
12 /* Define to 1 if you have the <mntent.h> header file. */
13 #define HAVE_MNTENT_H 1
14 Index: samba-3.0.24/source/tdb/Makefile
15 ===================================================================
16 --- samba-3.0.24.orig/source/tdb/Makefile 2008-08-08 17:42:47.000000000 +0200
17 +++ samba-3.0.24/source/tdb/Makefile 2008-08-08 17:44:15.000000000 +0200
18 @@ -2,7 +2,8 @@
19 # Makefile for tdb directory
20 #
21
22 -CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
23 +CFLAGS = -DSTANDALONE -DTDB_DEBUG -g
24 +#-DHAVE_MMAP=1
25 CC = gcc
26
27 ADMINPROGS = tdbdump tdbbackup