summaryrefslogtreecommitdiffstats
path: root/irc/psybnc/files/patch-src_p__string.c
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committermat <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commitbc12b6beb26907f267f34c1f8598d120cabecbae (patch)
treee83ee6693050a76e305a95a376451aa583df151e /irc/psybnc/files/patch-src_p__string.c
parent5616a93eb39854a280bacec86824bbec7824d5b3 (diff)
downloadFreeBSD-ports-bc12b6beb26907f267f34c1f8598d120cabecbae.zip
FreeBSD-ports-bc12b6beb26907f267f34c1f8598d120cabecbae.tar.gz
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
Diffstat (limited to 'irc/psybnc/files/patch-src_p__string.c')
-rw-r--r--irc/psybnc/files/patch-src_p__string.c11
1 files changed, 11 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud