Merge pull request #1408 from jow-/screen-musl-compat
screen: fix musl compatibility
This commit is contained in:
commit
d379979793
2 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006-2014 OpenWrt.org
|
# Copyright (C) 2006-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=screen
|
PKG_NAME:=screen
|
||||||
PKG_VERSION:=4.2.1
|
PKG_VERSION:=4.2.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@GNU/screen
|
PKG_SOURCE_URL:=@GNU/screen
|
||||||
|
|
10
utils/screen/patches/200-musl-compat.patch
Normal file
10
utils/screen/patches/200-musl-compat.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/utmp.c
|
||||||
|
+++ b/utmp.c
|
||||||
|
@@ -33,6 +33,7 @@
|
||||||
|
#include "config.h"
|
||||||
|
#include "screen.h"
|
||||||
|
#include "extern.h"
|
||||||
|
+#include "os.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_UTEMPTER
|
||||||
|
#include <utempter.h>
|
Loading…
Reference in a new issue