pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/screen better approach. thanks wiz@
details: https://anonhg.NetBSD.org/pkgsrc/rev/7348aba2a3d0
branches: trunk
changeset: 446719:7348aba2a3d0
user: cjep <cjep%pkgsrc.org@localhost>
date: Fri Feb 12 22:53:14 2021 +0000
description:
better approach. thanks wiz@
diffstat:
misc/screen/Makefile | 6 +-----
misc/screen/distinfo | 4 ++--
misc/screen/patches/patch-window.h | 6 +++---
3 files changed, 6 insertions(+), 10 deletions(-)
diffs (56 lines):
diff -r 66f532848344 -r 7348aba2a3d0 misc/screen/Makefile
--- a/misc/screen/Makefile Fri Feb 12 22:29:36 2021 +0000
+++ b/misc/screen/Makefile Fri Feb 12 22:53:14 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2021/02/12 22:28:03 cjep Exp $
+# $NetBSD: Makefile,v 1.118 2021/02/12 22:53:14 cjep Exp $
DISTNAME= screen-4.8.0
PKGREVISION= 3
@@ -45,10 +45,6 @@
.include "../../mk/compiler.mk"
-.if ${OPSYS} == "OpenBSD"
-CFLAGS+= -D_OpenBSD_
-.endif
-
.if ${OPSYS} == "SunOS"
. if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
diff -r 66f532848344 -r 7348aba2a3d0 misc/screen/distinfo
--- a/misc/screen/distinfo Fri Feb 12 22:29:36 2021 +0000
+++ b/misc/screen/distinfo Fri Feb 12 22:53:14 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.57 2021/02/12 22:29:36 cjep Exp $
+$NetBSD: distinfo,v 1.58 2021/02/12 22:53:14 cjep Exp $
SHA1 (screen-4.8.0.tar.gz) = 2328927e10e68d357bdfec7bd740726011e834e9
RMD160 (screen-4.8.0.tar.gz) = 43888fa00f708a8a9aa226e0df39abd7181b15ae
@@ -19,4 +19,4 @@
SHA1 (patch-screen.c) = de5d8468100ab88cbdb842e21b04b00221e798b8
SHA1 (patch-socket.c) = ef7d3cb14f0199383c0e750af48f19537eb0b36d
SHA1 (patch-tty.sh) = 711e10879250de4b0e04bc2ec00472edeaf6aada
-SHA1 (patch-window.h) = c146857e76dbf6156ed93710bd4c5acc2469d0c5
+SHA1 (patch-window.h) = 84dc5a2c24ff77147b416c05f897536c0cfddf31
diff -r 66f532848344 -r 7348aba2a3d0 misc/screen/patches/patch-window.h
--- a/misc/screen/patches/patch-window.h Fri Feb 12 22:29:36 2021 +0000
+++ b/misc/screen/patches/patch-window.h Fri Feb 12 22:53:14 2021 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-window.h,v 1.2 2021/02/12 22:29:37 cjep Exp $
+$NetBSD: patch-window.h,v 1.3 2021/02/12 22:53:14 cjep Exp $
OpenBSD grumbles without the socket definitions
--- window.h.orig Wed Feb 5 20:09:38 2020
-+++ window.h Thu Feb 11 21:01:43 2021
++++ window.h Thu Feb 11 21:27:43 2021
@@ -33,6 +33,10 @@
#ifndef SCREEN_WINDOW_H
#define SCREEN_WINDOW_H
-+#ifdef _OpenBSD_
++#ifdef __OpenBSD__
+#include <sys/socket.h>
+#endif
+
Home |
Main Index |
Thread Index |
Old Index