freebsd-ports/sysutils/anacron/files/patch-matchrx.c
Jean-Yves Lefort 610bc835b1 [1]:
- Add a rcNG startup script
  - Use mkstemp() instead of the insecure tempnam()

Moreover:
  - Also create /var/spool/anacron when installed from a package
  - Try to remove /var/spool/anacron when deinstalling the package; if
    it fails, hint the user about removing it manually
  - Respect ${CC}
  - Install/deinstall ${PREFIX}/etc/anacrontab
  - Split the monolithic patch-aa into separate patches
  - Refactor some patches into ${REINPLACE_CMD} invocations
  - Install the program ourselves (it is more straightforward than
    fixing the vendor's Makefile)
  - Use SUB_FILES=pkg-message

PR:		ports/82168 [1]
Submitted by:	maintainer [1]
2005-06-16 15:51:38 +00:00

10 lines
211 B
C

--- matchrx.c.orig Wed Jun 21 01:12:18 2000
+++ matchrx.c Thu Jun 16 17:31:09 2005
@@ -23,6 +23,7 @@
#include <stdio.h>
+#include <sys/types.h>
#include <regex.h>
#include <stdarg.h>
#include <stdlib.h>