From 69ea23ed7175d5c34a21bba1ef9262f311c69284 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 01:59:16 +0000 Subject: Rename net/ patch-xy patches to reflect the files they modify. Approve by: portmgr (not really, but one of these is modifying an unstaged port) --- net/gtic/files/patch-src_areas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/gtic/files/patch-src_areas.c (limited to 'net/gtic/files/patch-src_areas.c') diff --git a/net/gtic/files/patch-src_areas.c b/net/gtic/files/patch-src_areas.c new file mode 100644 index 000000000000..8c8c2ecec80f --- /dev/null +++ b/net/gtic/files/patch-src_areas.c @@ -0,0 +1,12 @@ +--- src/areas.c.orig Sun Oct 24 20:16:14 1999 ++++ src/areas.c Sun Oct 24 20:19:15 1999 +@@ -305,9 +305,6 @@ + + /* make a backup copy of areas_file */ + strcpy(new_path,areas_file); +- if(strchr(new_path,'.')) +- strcpy(strrchr(new_path,'.'),".bak"); +- else + strcat(new_path,".bak"); + if(rename(areas_file,new_path)) + l_printf("Warning: unable to move %s to %s",areas_file,new_path); -- cgit v1.2.3