freebsd-ports/www/xombrero/files/patch-xombrero.c
Niclas Zeising 121bb62424 Rename xxxterm to xombrero
Update xombrero to latest version 1.2.2
Pass maintainership to me

PR:		ports/169860
Submitted by:	HU Dong <itechbear@gmail.com>
Approved by:	maintainer, kwm (mentor)
2012-08-20 15:24:13 +00:00

11 lines
303 B
C

--- ./xombrero.c.orig 2012-07-25 17:37:55.000000000 -0400
+++ ./xombrero.c 2012-07-31 08:13:02.000000000 -0400
@@ -1423,7 +1423,7 @@
{
struct passwd *pwd;
int i;
- char user[LOGIN_NAME_MAX];
+ char user[sysconf(_SC_LOGIN_NAME_MAX)];
const char *sc = s;
if (path == NULL || s == NULL)