1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-12 17:56:44 +00:00
termux-packages/packages/alpine/os_lnx.c.patch
Leonid Pliushch 6d33f94a5f fix packages that require getpass()
Changed packages:

  * alpine
  * dropbear
  * emacs
  * isync
  * lftp
  * msmtp
  * newsboat
  * rsync
  * screen
  * texlive-bin
  * unrar
  * w3m
2018-09-11 00:55:00 +02:00

20 lines
549 B
Diff

diff -uNr alpine-2.21/imap/src/osdep/unix/os_lnx.c alpine-2.21.mod/imap/src/osdep/unix/os_lnx.c
--- alpine-2.21/imap/src/osdep/unix/os_lnx.c 2017-02-06 02:06:22.499218141 +0200
+++ alpine-2.21.mod/imap/src/osdep/unix/os_lnx.c 2018-07-03 21:08:21.624860068 +0300
@@ -35,7 +35,6 @@
#include <netdb.h>
#include <ctype.h>
#include <errno.h>
-extern int errno; /* just in case */
#include <pwd.h>
#include "misc.h"
@@ -50,3 +49,7 @@
#include "tz_sv4.c"
#include "flocklnx.c"
#include "utime.c"
+long gethostid (void)
+{
+return 0xdeadface;
+}