svn commit: r386795 - in head/lang/yorick: . files
Johan van Selst
johans at FreeBSD.org
Tue May 19 17:23:01 UTC 2015
Author: johans
Date: Tue May 19 17:23:00 2015
New Revision: 386795
URL: https://svnweb.freebsd.org/changeset/ports/386795
Log:
Patch imported from Debian (Thibaut Paumard)
Fixes crash at startup
Added:
head/lang/yorick/files/
head/lang/yorick/files/patch-play_unix_slinks.c (contents, props changed)
Modified:
head/lang/yorick/Makefile
Modified: head/lang/yorick/Makefile
==============================================================================
--- head/lang/yorick/Makefile Tue May 19 17:21:15 2015 (r386794)
+++ head/lang/yorick/Makefile Tue May 19 17:23:00 2015 (r386795)
@@ -4,6 +4,7 @@
PORTNAME= yorick
DISTVERSIONPREFIX= y_
DISTVERSION= 2_2_04
+PORTREVISION= 1
CATEGORIES= lang math
MAINTAINER= johans at FreeBSD.org
Added: head/lang/yorick/files/patch-play_unix_slinks.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/yorick/files/patch-play_unix_slinks.c Tue May 19 17:23:00 2015 (r386795)
@@ -0,0 +1,14 @@
+Patch imported from Debian (Thibaut Paumard)
+Fixes crash at startup
+
+--- play/unix/slinks.c.orig 2015-05-19 17:19:00 UTC
++++ play/unix/slinks.c
+@@ -101,7 +101,7 @@ u_find_exe(const char *argv0)
+ }
+ if (wkspc[j-1] == '/') s = 0;
+ else s = 1, wkspc[j] = '/';
+- for (; j<k+i && j+s<P_WKSIZ ; j++) wkspc[j+s] = argv0[j-k];
++ for (; j<k+i+1 && j+s<P_WKSIZ ; j++) wkspc[j+s] = argv0[j-k];
+ if (u_executable_file(wkspc) >= 0) break;
+ k = 0;
+ c = path[0];
More information about the svn-ports-all
mailing list