remove one slash in PKG_SOURCE_URL
[openwrt.git] / package / procmail / patches / promail_openwrt.patch
1 This patch is required to make procmail cross compile - it tries to run some automatic tests which
2 obviously do not work in a cross compiled environment.
3
4
5 diff -Naur procmail-3.22_orig/autoconf.h procmail-3.22/autoconf.h
6 --- procmail-3.22_orig/autoconf.h 1970-01-01 10:00:00.000000000 +1000
7 +++ procmail-3.22/autoconf.h 2006-03-23 12:15:36.000000000 +1100
8 @@ -0,0 +1,21 @@
9 +/* This file was automagically generated by autoconf */
10 +
11 +/* 5 moves in 64 steps of size 16384 when reallocing */
12 +#define NOpw_class
13 +#define NOstrlcat
14 +#define NOsetrgid
15 +#define MAX_argc 7588
16 +/* Your system's strstr() is 1.12 times FASTER than my C-routine */
17 +#define UDP_protocolno 17
18 +#define BIFF_serviceport "512"
19 +#define IP_localhost {127,0,0,1}
20 +#define MAILSPOOLDIR "/var/spool/mail/"
21 +#define SENDMAIL "/usr/sbin/sendmail"
22 +#define CF_no_procmail_yet
23 +#define buggy_SENDMAIL
24 +#define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
25 +#define defSPATH "PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
26 +#define PM_VERSION "3.22"
27 +/* Hotwire LOCKINGTEST=100 */
28 +/* Procmail will lock via: dotlocking, fcntl() */
29 +/* autoconf completed */
30 diff -Naur procmail-3.22_orig/Makefile.openwrt procmail-3.22/Makefile.openwrt
31 --- procmail-3.22_orig/Makefile.openwrt 1970-01-01 10:00:00.000000000 +1000
32 +++ procmail-3.22/Makefile.openwrt 2006-03-23 12:15:36.000000000 +1100
33 @@ -0,0 +1,18 @@
34 +PM_OBJ=cstdio.o common.o exopen.o goodies.o locking.o \
35 + mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o \
36 + sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o \
37 + lmtp.o memblk.o variables.o from.o comsat.o
38 +
39 +FM_OBJ=common.o fields.o formisc.o sublib.o ecommon.o \
40 + acommon.o
41 +
42 +LDFLAGS = -lm -lnsl -ldl -lc
43 +CFLAGS = -Os -DPROCMAIL
44 +
45 +all: procmail formail
46 +
47 +procmail: procmail.o $(PM_OBJ)
48 + $(CC) $(CFLAGS) $@.o $(PM_OBJ) -o $@ $(LDFLAGS)
49 +
50 +formail: formail.o $(FM_OBJ)
51 + $(CC) $(CFLAGS) $@.o $(FM_OBJ) -o $@ $(LDFLAGS)
This page took 0.050468 seconds and 5 git commands to generate.