mosh: Link against libutil for openpty and forkpty
[termux-packages] / packages / mosh / makefile.am.patch
index 4059c9b..1a31a3c 100644 (file)
@@ -1,6 +1,7 @@
---- ../mosh/src/frontend/Makefile.am   2016-04-08 10:26:08.000000000 +1000
-+++ ./src/frontend/Makefile.am 2016-04-29 00:42:03.147468293 +1000
-@@ -11,9 +11,14 @@
+diff -u -r ../mosh-f30738e3256e90850e945c08624fce90b1ba78a1/src/frontend/Makefile.am ./src/frontend/Makefile.am
+--- ../mosh-f30738e3256e90850e945c08624fce90b1ba78a1/src/frontend/Makefile.am  2016-04-07 20:26:08.000000000 -0400
++++ ./src/frontend/Makefile.am 2016-05-02 01:20:09.868867123 -0400
+@@ -11,9 +11,15 @@
    bin_PROGRAMS += mosh-client
  endif
  
@@ -14,4 +15,5 @@
  
  mosh_client_SOURCES = mosh-client.cc stmclient.cc stmclient.h terminaloverlay.cc terminaloverlay.h
  mosh_server_SOURCES = mosh-server.cc
-+mosh_cfront_SOURCES = mosh.cc pty.cc shittypty.h
++mosh_cfront_SOURCES = mosh.cc
++mosh_cfront_LDADD = -lutil