Fix the context of some patches so that they apply with stricter patch(1)

PR:		223545
With hat:	portmgr
This commit is contained in:
Antoine Brodin 2017-11-11 07:11:37 +00:00
parent 81a2ae7251
commit ae498e3328
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453953
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
--- poller-wrapper.py.orig 2014-11-04 16:14:27 UTC
--- poller-wrapper.py.orig 2017-05-28 21:54:20 UTC
+++ poller-wrapper.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
-#! /usr/bin/env python2
+#! %%LOCALBASE%%/bin/python
"""
poller-wrapper A small tool which wraps around the Observium poller
and tries to guide the polling process with a more modern
@@ -38,6 +38,8 @@ except:
poller-wrapper A small tool which wraps around the poller and tries to
guide the polling process with a more modern approach with a
@@ -36,6 +36,8 @@ except:
print "threading, Queue, sys, subprocess, time, os, json"
sys.exit(2)

View File

@ -1,8 +1,8 @@
--- src/lookup.h.orig 2011-06-04 14:06:21.000000000 +0900
+++ src/lookup.h 2011-06-04 14:20:51.000000000 +0900
@@ -40,3 +40,16 @@
char * name;
struct in_addr ip;
--- src/lookup.h.orig 2004-12-31 13:53:30 UTC
+++ src/lookup.h
@@ -40,3 +40,16 @@ struct _l_node /* the node/leaf of the t
char * name;
struct in_addr ip;
};
+
+char *