Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 17:23:00 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386795 - in head/lang/yorick: . files
Message-ID:  <201505191723.t4JHN09m069838@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505191723.t4JHN09m069838>