Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2007 03:12:05 -0400
From:      Dave Grochowski <malus.x@gmail.com>
To:        edwin@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/116389: Update port: security/sfs, fix build with gcc42
Message-ID:  <46F611C5.4030406@gmail.com>
In-Reply-To: <200709230317.l8N3HW0f041580@freefall.freebsd.org>
References:  <200709230317.l8N3HW0f041580@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080902030801020706080606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hey,

edwin@FreeBSD.org wrote:
> Synopsis: Update port: security/sfs, fix build with gcc42
>
> State-Changed-From-To: open->closed
> State-Changed-By: edwin
> State-Changed-When: Sun Sep 23 03:17:22 UTC 2007
> State-Changed-Why: 
> Welcome new maintainer!
>
> Committed, thanks!
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=116389
>   
Seems like I forgot a file in the patch. Sorry about that; I suppose 
that what I get for double checking the port on a 6-STABLE box instead 
of another 7-CURRENT box.

Sincerely,
Dave Grochowski

--------------080902030801020706080606
Content-Type: text/plain;
 name="sfs.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sfs.patch.txt"

diff -urN security/sfs.orig/files/patch-rex_ptyd.C security/sfs/files/patch-rex_ptyd.C
--- security/sfs.orig/files/patch-rex_ptyd.C	1969-12-31 19:00:00.000000000 -0500
+++ security/sfs/files/patch-rex_ptyd.C	2007-09-23 03:05:40.000000000 -0400
@@ -0,0 +1,42 @@
+--- rex/ptyd.C.orig	2007-09-23 03:02:05.000000000 -0400
++++ rex/ptyd.C	2007-09-23 03:03:45.000000000 -0400
+@@ -94,13 +94,13 @@
+     return -1;
+ 
+   vec<char *> argv;
+-  argv.push_back ("sessreg");
++  argv.push_back (const_cast<char *> ("sessreg"));
+   if (add)
+-    argv.push_back ("-a");
++    argv.push_back (const_cast<char *> ("-a"));
+   else
+-    argv.push_back ("-d");
++    argv.push_back (const_cast<char *> ("-d"));
+ 
+-  argv.push_back ("-l");
++  argv.push_back (const_cast<char *> ("-l"));
+   if (tty && !strncmp ("/dev/", tty, 5) && tty[5])
+     tmp = const_cast<char *> (&tty[5]);
+   else {
+@@ -110,10 +110,10 @@
+   if (tmp)
+     argv.push_back (tmp);
+   else
+-    argv.push_back ("?");
++    argv.push_back (const_cast<char *> ("?"));
+ 
+   if (host) {
+-    argv.push_back ("-h");
++    argv.push_back (const_cast<char *> ("-h"));
+     argv.push_back (const_cast<char *> (host));
+   }
+ 
+@@ -121,7 +121,7 @@
+   int slot = myttyslot (tty);
+   if (slot > 0) {
+     str s = strbuf () << slot;
+-    argv.push_back ("-s");
++    argv.push_back (const_cast<char *> ("-s"));
+     argv.push_back (const_cast<char *> (s.cstr ()));
+   }
+ #endif /* USE_TTYENT */

--------------080902030801020706080606--



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