From bc12b6beb26907f267f34c1f8598d120cabecbae Mon Sep 17 00:00:00 2001 From: mat <mat@FreeBSD.org> Date: Mon, 20 Jun 2016 16:23:28 +0000 Subject: With the power of USES=dos2unix, get rid of most patches and files with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight --- irc/psybnc/files/patch-src_p__string.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 irc/psybnc/files/patch-src_p__string.c (limited to 'irc/psybnc/files/patch-src_p__string.c') diff --git a/irc/psybnc/files/patch-src_p__string.c b/irc/psybnc/files/patch-src_p__string.c new file mode 100644 index 0000000..deaa262 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__string.c @@ -0,0 +1,11 @@ +--- src/p_string.c.orig 2016-06-20 14:41:27 UTC ++++ src/p_string.c +@@ -616,7 +616,7 @@ int loadlanguage(char *langf) + int msg; + pcontext; + clearlanguage(); +- ap_snprintf(lfname,sizeof(lfname),"lang/%s.lng",langf); ++ ap_snprintf(lfname,sizeof(lfname),"%s/lang/%s.lng",PSYBASE, langf); + maxindex=0; + langname[0]=0; + lfile=fopen(lfname,"r"); -- cgit v1.1