1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-28 21:29:28 +00:00
freebsd-ports/mail/faces/files/patch-ad
1998-09-21 01:56:25 +00:00

51 lines
1.6 KiB
Plaintext

diff -c -N ../faces/faces.h ./faces.h
*** ../faces/faces.h Tue Nov 19 05:00:49 1991
--- ./faces.h Tue Dec 10 17:36:10 1996
***************
*** 102,110 ****
enum mon_type { MONNEW, MONALL, MONPRINTER, MONPROG, MONUSERS } ;
/* X resources used by faces. */
! enum res_type { R_WINGEOM, R_ICONGEOM, R_FGCOLOR, R_BGCOLOR,
! R_FONT, R_BGICON, R_PERIOD, R_BELL,
! R_FLASH, R_LOWER, R_RAISE, R_BUT1CLR, R_DISPHOST,
#ifdef AUDIO_SUPPORT
R_AUDIO, R_AUDIOCMD, R_BELLFILE
#endif /*AUDIO_SUPPORT*/
--- 102,111 ----
enum mon_type { MONNEW, MONALL, MONPRINTER, MONPROG, MONUSERS } ;
/* X resources used by faces. */
! enum res_type { R_WINGEOM, R_ICONGEOM, R_FGCOLOR, R_BGCOLOR,
! R_FONT, R_BGICON, R_PERIOD, R_BELL,
! R_FLASH, R_BORDERWIDTH, R_LOWER, R_RAISE,
! R_BUT1CLR, R_DISPHOST,
#ifdef AUDIO_SUPPORT
R_AUDIO, R_AUDIOCMD, R_BELLFILE
#endif /*AUDIO_SUPPORT*/
***************
*** 193,200 ****
#endif /*NOUTIME*/
extern char *getenv P(()) ;
- extern char *malloc P(()) ;
- extern char *realloc P(()) ;
extern char *index P(()) ;
extern char *rindex P(()) ;
extern char *strcpy P(()) ;
--- 194,199 ----
***************
*** 217,223 ****
--- 216,226 ----
#define PRINTDEF "lpq -P %s"
/* Updating the faces database: %s replaced with mail update alias name. */
+ #ifdef __FreeBSD__
+ #define UPDATEDEF "/usr/sbin/sendmail -oeq -oi %s"
+ #else
#define UPDATEDEF "/usr/lib/sendmail -oeq -oi %s"
+ #endif
/* Monitoring users on a machine: %s replaced with hostname. */
#define USERSDEF "rusers -l %s"