Now that we have locale(1) I guess we can get rid of those patches.
ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/mosh/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    2 May 2013 08:20:52 -0000       1.2
+++ Makefile    3 Jun 2013 21:15:29 -0000
@@ -4,7 +4,7 @@ COMMENT =               mobile shell
 
 DISTNAME =             mosh-1.2.4
 
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           net
 
Index: patches/patch-src_frontend_mosh-server_cc
===================================================================
RCS file: patches/patch-src_frontend_mosh-server_cc
diff -N patches/patch-src_frontend_mosh-server_cc
--- patches/patch-src_frontend_mosh-server_cc   21 Apr 2013 19:46:37 -0000      
1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_frontend_mosh-server_cc,v 1.1.1.1 2013/04/21 19:46:37 
sthen Exp $
-We don't have locale(1).
---- src/frontend/mosh-server.cc.orig   Sun Mar 10 22:18:54 2013
-+++ src/frontend/mosh-server.cc        Fri Apr  5 18:26:55 2013
-@@ -310,7 +310,6 @@ int main( int argc, char *argv[] )
-       fprintf( stderr, "mosh-server needs a UTF-8 native locale to run.\n\n" 
);
-       fprintf( stderr, "Unfortunately, the local environment (%s) 
specifies\nthe character set \"%s\",\n\n", native_ctype.str().c_str(), 
native_charset.c_str() );
-       fprintf( stderr, "The client-supplied environment (%s) specifies\nthe 
character set \"%s\".\n\n", client_ctype.str().c_str(), client_charset.c_str() 
);
--      int unused __attribute((unused)) = system( "locale" );
-       exit( 1 );
-     }
-   }
Index: patches/patch-src_frontend_stmclient_cc
===================================================================
RCS file: patches/patch-src_frontend_stmclient_cc
diff -N patches/patch-src_frontend_stmclient_cc
--- patches/patch-src_frontend_stmclient_cc     21 Apr 2013 19:46:37 -0000      
1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_frontend_stmclient_cc,v 1.1.1.1 2013/04/21 19:46:37 sthen 
Exp $
-We don't have locale(1).
---- src/frontend/stmclient.cc.orig     Wed Mar 27 05:24:37 2013
-+++ src/frontend/stmclient.cc  Fri Apr  5 18:26:55 2013
-@@ -85,7 +85,6 @@ void STMClient::init( void )
- 
-     fprintf( stderr, "mosh-client needs a UTF-8 native locale to run.\n\n" );
-     fprintf( stderr, "Unfortunately, the client's environment (%s) 
specifies\nthe character set \"%s\".\n\n", native_ctype.str().c_str(), 
native_charset.c_str() );
--    int unused __attribute((unused)) = system( "locale" );
-     exit( 1 );
-   }
- 

Reply via email to