freebsd-ports/sysutils/flock/files/patch-include_pathnames.h
Kurt Jaeger 85778282f2 sysutils/flock: 2.19 -> 2.28
- This brings flock to the current state based on fetching the
  original util-linux sources and configuring them accordingly
- adding a NLS knob as suggested by portlint.
- For background on DIOCGDINFO see
  https://lists.freebsd.org/pipermail/freebsd-current/2015-January/053963.html
- Submitter becomes maintainer

PR:		210185
Changes: http://git.kernel.org/?p=utils/util-linux/util-linux.git/
Submitted by:	Franco Fichtner <franco@opnsense.org>
Approved by:	zont (maintainer)
2016-07-30 09:40:45 +00:00

17 lines
464 B
C

--- include/pathnames.h.orig 2016-03-09 10:44:05 UTC
+++ include/pathnames.h
@@ -46,10 +46,14 @@
#define _PATH_MAILDIR "/var/spool/mail"
#endif
#define _PATH_MOTDFILE "/etc/motd"
+#ifndef _PATH_NOLOGIN
#define _PATH_NOLOGIN "/etc/nologin"
+#endif
#define _PATH_VAR_NOLOGIN "/var/run/nologin"
+#ifndef _PATH_LOGIN
#define _PATH_LOGIN "/bin/login"
+#endif
#define _PATH_SHUTDOWN "/sbin/shutdown"
#define _PATH_TERMCOLORS_DIRNAME "terminal-colors.d"