Index: head/net/ntp/files/patch-ntpd_ntp.c =================================================================== --- head/net/ntp/files/patch-ntpd_ntp.c (revision 515925) +++ head/net/ntp/files/patch-ntpd_ntp.c (nonexistent) @@ -1,11 +0,0 @@ ---- ntpd/ntpd.c.orig 2019-02-20 09:21:44.000000000 -0800 -+++ ntpd/ntpd.c 2019-09-20 12:11:54.469651000 -0700 -@@ -999,7 +999,7 @@ - # if defined(HAVE_MLOCKALL) - # ifdef HAVE_SETRLIMIT - ntp_rlimit(RLIMIT_STACK, DFLT_RLIMIT_STACK * 4096, 4096, "4k"); --# ifdef RLIMIT_MEMLOCK -+# if defined(RLIMIT_MEMLOCK) && defined(DFLT_RLIMIT_MEMLOCK) && DFLT_RLIMIT_MEMLOCK != -1 - /* - * The default RLIMIT_MEMLOCK is very low on Linux systems. - * Unless we increase this limit malloc calls are likely to Property changes on: head/net/ntp/files/patch-ntpd_ntp.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/ntp/files/patch-ntpd_ntpd.c =================================================================== --- head/net/ntp/files/patch-ntpd_ntpd.c (nonexistent) +++ head/net/ntp/files/patch-ntpd_ntpd.c (revision 515926) @@ -0,0 +1,11 @@ +--- ntpd/ntpd.c.orig 2019-02-20 09:21:44.000000000 -0800 ++++ ntpd/ntpd.c 2019-09-20 12:11:54.469651000 -0700 +@@ -999,7 +999,7 @@ + # if defined(HAVE_MLOCKALL) + # ifdef HAVE_SETRLIMIT + ntp_rlimit(RLIMIT_STACK, DFLT_RLIMIT_STACK * 4096, 4096, "4k"); +-# ifdef RLIMIT_MEMLOCK ++# if defined(RLIMIT_MEMLOCK) && defined(DFLT_RLIMIT_MEMLOCK) && DFLT_RLIMIT_MEMLOCK != -1 + /* + * The default RLIMIT_MEMLOCK is very low on Linux systems. + * Unless we increase this limit malloc calls are likely to Property changes on: head/net/ntp/files/patch-ntpd_ntpd.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/ntp-devel/files/patch-ntpd_ntp.c =================================================================== --- head/net/ntp-devel/files/patch-ntpd_ntp.c (revision 515925) +++ head/net/ntp-devel/files/patch-ntpd_ntp.c (nonexistent) @@ -1,11 +0,0 @@ ---- ntpd/ntpd.c.orig 2019-06-07 01:59:15.000000000 -0700 -+++ ntpd/ntpd.c 2019-09-20 12:13:28.810552000 -0700 -@@ -999,7 +999,7 @@ - # if defined(HAVE_MLOCKALL) - # ifdef HAVE_SETRLIMIT - ntp_rlimit(RLIMIT_STACK, DFLT_RLIMIT_STACK * 4096, 4096, "4k"); --# ifdef RLIMIT_MEMLOCK -+# if defined(RLIMIT_MEMLOCK) && defined(DFLT_RLIMIT_MEMLOCK) && DFLT_RLIMIT_MEMLOCK != -1 - /* - * The default RLIMIT_MEMLOCK is very low on Linux systems. - * Unless we increase this limit malloc calls are likely to Property changes on: head/net/ntp-devel/files/patch-ntpd_ntp.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/ntp-devel/files/patch-ntpd_ntpd.c =================================================================== --- head/net/ntp-devel/files/patch-ntpd_ntpd.c (nonexistent) +++ head/net/ntp-devel/files/patch-ntpd_ntpd.c (revision 515926) @@ -0,0 +1,11 @@ +--- ntpd/ntpd.c.orig 2019-06-07 01:59:15.000000000 -0700 ++++ ntpd/ntpd.c 2019-09-20 12:13:28.810552000 -0700 +@@ -999,7 +999,7 @@ + # if defined(HAVE_MLOCKALL) + # ifdef HAVE_SETRLIMIT + ntp_rlimit(RLIMIT_STACK, DFLT_RLIMIT_STACK * 4096, 4096, "4k"); +-# ifdef RLIMIT_MEMLOCK ++# if defined(RLIMIT_MEMLOCK) && defined(DFLT_RLIMIT_MEMLOCK) && DFLT_RLIMIT_MEMLOCK != -1 + /* + * The default RLIMIT_MEMLOCK is very low on Linux systems. + * Unless we increase this limit malloc calls are likely to Property changes on: head/net/ntp-devel/files/patch-ntpd_ntpd.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property