[99490] trunk/dports/shells/fish
and.damore at macports.org
and.damore at macports.org
Wed Nov 7 08:53:13 PST 2012
Revision: 99490
http://trac.macports.org//changeset/99490
Author: and.damore at macports.org
Date: 2012-11-07 08:53:13 -0800 (Wed, 07 Nov 2012)
Log Message:
-----------
port fish: merging patch from https://sourceforge.net/mailarchive/message.php?msg_id=27845624 to avoid tcsetpgrp() error when using fish as login shell; nomantainer
Modified Paths:
--------------
trunk/dports/shells/fish/Portfile
Added Paths:
-----------
trunk/dports/shells/fish/files/patch-proc_c.diff
Modified: trunk/dports/shells/fish/Portfile
===================================================================
--- trunk/dports/shells/fish/Portfile 2012-11-07 15:05:55 UTC (rev 99489)
+++ trunk/dports/shells/fish/Portfile 2012-11-07 16:53:13 UTC (rev 99490)
@@ -6,7 +6,7 @@
name fish
license GPL-2
version 1.23.1
-revision 4
+revision 5
categories shells
platforms darwin
maintainers nomaintainer
@@ -39,7 +39,8 @@
# ticket #29839
patchfiles patch-fix-freeze.diff \
patch-share_config_fish.diff \
- patch-alias_function.diff
+ patch-alias_function.diff \
+ patch-proc_c.diff
post-patch {
reinplace "s|@@PREFIX@@|${prefix}/bin|g" "${worksrcpath}/share/config.fish.in"
Added: trunk/dports/shells/fish/files/patch-proc_c.diff
===================================================================
--- trunk/dports/shells/fish/files/patch-proc_c.diff (rev 0)
+++ trunk/dports/shells/fish/files/patch-proc_c.diff 2012-11-07 16:53:13 UTC (rev 99490)
@@ -0,0 +1,11 @@
+--- proc.c.orig 2012-11-07 17:28:40.000000000 +0100
++++ proc.c 2012-11-07 17:29:19.000000000 +0100
+@@ -931,7 +931,7 @@
+ static int terminal_return_from_job( job_t *j)
+ {
+
+- if( tcsetpgrp (0, getpid()) )
++ if( tcsetpgrp (0, getpgrp()) )
+ {
+ debug( 1, _( L"Could not return shell to foreground" ) );
+ wperror( L"tcsetpgrp" );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121107/291cfb31/attachment.html>
More information about the macports-changes
mailing list