1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/irc/psybnc/files/patch-src_p__string.c
Mathieu Arnold 7ae7b018cc 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
2016-06-20 16:23:28 +00:00

12 lines
369 B
C

--- 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");