source: freewrt/package/procmail/patches/promail_openwrt.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.9 KB
  • autoconf.h

    This patch is required to make procmail cross compile - it tries to run some automatic tests which
    obviously do not work in a cross compiled environment.
    
    
    diff -Naur procmail-3.22_orig/autoconf.h procmail-3.22/autoconf.h
    old new  
     1/* This file was automagically generated by autoconf */
     2
     3/* 5 moves in 64 steps of size 16384 when reallocing */
     4#define NOpw_class
     5#define NOstrlcat
     6#define NOsetrgid
     7#define MAX_argc 7588
     8/* Your system's strstr() is 1.12 times FASTER than my C-routine */
     9#define UDP_protocolno 17
     10#define BIFF_serviceport "512"
     11#define IP_localhost {127,0,0,1}
     12#define MAILSPOOLDIR "/var/spool/mail/"
     13#define SENDMAIL "/usr/sbin/sendmail"
     14#define CF_no_procmail_yet
     15#define buggy_SENDMAIL
     16#define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
     17#define defSPATH "PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
     18#define PM_VERSION "3.22"
     19/* Hotwire LOCKINGTEST=100 */
     20/* Procmail will lock via: dotlocking, fcntl() */
     21/* autoconf completed */
  • Makefile.openwrt

    diff -Naur procmail-3.22_orig/Makefile.openwrt procmail-3.22/Makefile.openwrt
    old new  
     1PM_OBJ=cstdio.o common.o exopen.o goodies.o locking.o \
     2 mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o \
     3 sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o \
     4 lmtp.o memblk.o variables.o from.o comsat.o
     5
     6FM_OBJ=common.o fields.o formisc.o sublib.o ecommon.o \
     7 acommon.o
     8
     9LDFLAGS = -lm -lnsl -ldl -lc
     10CFLAGS = -Os -DPROCMAIL
     11
     12all: procmail formail
     13
     14procmail: procmail.o $(PM_OBJ)
     15        $(CC) $(CFLAGS) $@.o $(PM_OBJ) -o $@ $(LDFLAGS)
     16
     17formail: formail.o $(FM_OBJ)
     18        $(CC) $(CFLAGS) $@.o $(FM_OBJ) -o $@ $(LDFLAGS)
Note: See TracBrowser for help on using the repository browser.