pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/screen Add patch which includes <sys/uio.h> to fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a15ebd87387
branches:  trunk
changeset: 646641:6a15ebd87387
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Fri Feb 13 04:44:40 2015 +0000

description:
Add patch which includes <sys/uio.h> to fix build on OpenBSD.
Defuzz patchset.

diffstat:

 misc/screen/distinfo               |  25 +++++++++++++------------
 misc/screen/patches/patch-aa       |   6 +++---
 misc/screen/patches/patch-ab       |   4 ++--
 misc/screen/patches/patch-ae       |   8 ++++----
 misc/screen/patches/patch-ai       |   6 +++---
 misc/screen/patches/patch-aj       |   8 ++++----
 misc/screen/patches/patch-ak       |   8 ++++----
 misc/screen/patches/patch-al       |  10 +++++-----
 misc/screen/patches/patch-am       |   6 +++---
 misc/screen/patches/patch-an       |  10 +++++-----
 misc/screen/patches/patch-ao       |   6 +++---
 misc/screen/patches/patch-ap       |  20 ++++++++++----------
 misc/screen/patches/patch-socket.c |  12 ++++++++++++
 13 files changed, 71 insertions(+), 58 deletions(-)

diffs (truncated from 366 to 300 lines):

diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/distinfo
--- a/misc/screen/distinfo      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/distinfo      Fri Feb 13 04:44:40 2015 +0000
@@ -1,17 +1,18 @@
-$NetBSD: distinfo,v 1.36 2015/01/13 08:27:28 he Exp $
+$NetBSD: distinfo,v 1.37 2015/02/13 04:44:40 rodent Exp $
 
 SHA1 (screen-4.2.1.tar.gz) = 21eadf5f1d64120649f3390346253c6bc8a5103c
 RMD160 (screen-4.2.1.tar.gz) = 20ddf4a33f91e60a42a31f02aa2a30a9c5cba9b5
 Size (screen-4.2.1.tar.gz) = 1062485 bytes
-SHA1 (patch-aa) = 776eafabda01f8bc7a748e7d8dc1ffa706cd4c9d
-SHA1 (patch-ab) = bbbdb1494beb1fcde9388f8e0ab628a841a076e8
-SHA1 (patch-ae) = fbdd06a56bfeaa6d02f13075c8a0363c8d0fbf93
-SHA1 (patch-ai) = f8615e11bdfa8a7882a7c1feb75ac1a40d6c7ab7
-SHA1 (patch-aj) = 4b2ec0f3d7a275a17d535fe31e0bccb297b5bc49
-SHA1 (patch-ak) = 28fb1de315b9622de4babd065eda06c516f786c2
-SHA1 (patch-al) = d06f52323c7f8343fdea1296e9942391cbbde75e
-SHA1 (patch-am) = 5fdc32f33ebbb5385292919f6cd01bedc30491d9
-SHA1 (patch-an) = 2984db4597a1b09450a6632d0b9b7fb05a0ccb06
-SHA1 (patch-ao) = d5d0eca07045b83ec06ee284e754c24ae90b405c
-SHA1 (patch-ap) = 5082cf450f4cfa85570540504f1691ee2676dec4
+SHA1 (patch-aa) = 39c6fa5bda62b2891cecf4a5e9598b179ea8b4dc
+SHA1 (patch-ab) = 40911979a540645db2a17861328292add22898d3
+SHA1 (patch-ae) = 8792f7877c0a29701d7d0643e93360813ed7db0f
+SHA1 (patch-ai) = a6aafe822d7222398494e5733106b3d78c5836fc
+SHA1 (patch-aj) = 00cf67ceedb8ab48a554c9b5ce855ae5d7fd7474
+SHA1 (patch-ak) = 8e54df7a6bd648e60f2b6cfd6f01ed34040f1932
+SHA1 (patch-al) = f49e179dd814c826e283949c40497067e56398c4
+SHA1 (patch-am) = a721e311e7dde7938de0e9546a7892bfd104ebd1
+SHA1 (patch-an) = 98cbcbff81af04a171348e851a393b74d9be5e19
+SHA1 (patch-ao) = d234091ca54162b47017bf690af5fb86a8d6ba08
+SHA1 (patch-ap) = 80ea5287e4e74962c37b0b9bc6983179eed705ac
+SHA1 (patch-socket.c) = b82504e75afa7a18f3335692848794a65f3b242f
 SHA1 (patch-tty.sh) = f93a3e2063df25c2610c6e84a623f3dc2046761b
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-aa
--- a/misc/screen/patches/patch-aa      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-aa      Fri Feb 13 04:44:40 2015 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.12 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-aa,v 1.13 2015/02/13 04:44:40 rodent Exp $
 
 --- pty.c.orig 2014-04-26 10:58:35.000000000 +0000
-+++ pty.c      2014-08-25 17:55:13.000000000 +0000
-@@ -318,6 +318,45 @@
++++ pty.c
+@@ -318,6 +318,45 @@ char **ttyn;
  
  /***************************************************************/
  
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ab
--- a/misc/screen/patches/patch-ab      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ab      Fri Feb 13 04:44:40 2015 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-ab,v 1.12 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ab,v 1.13 2015/02/13 04:44:40 rodent Exp $
 
 Always use varargs on NetBSD
 
 --- config.h.in.orig   2014-04-26 10:58:46.000000000 +0000
-+++ config.h.in        2014-08-25 18:07:27.000000000 +0000
++++ config.h.in
 @@ -498,6 +498,15 @@
   */
  #undef USEVARARGS
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ae
--- a/misc/screen/patches/patch-ae      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ae      Fri Feb 13 04:44:40 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.5 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ae,v 1.6 2015/02/13 04:44:40 rodent Exp $
 
 Don't pollute G1 to allow 8-bit encondings.
 
@@ -6,8 +6,8 @@
 which causes problems.  This is a quick hack but works with our termcap.
 
 --- termcap.c.orig     2014-04-26 10:58:35.000000000 +0000
-+++ termcap.c  2014-08-25 17:55:13.000000000 +0000
-@@ -80,7 +80,7 @@
++++ termcap.c
+@@ -80,7 +80,7 @@ static const char TermcapConst[] = "\\\n
  \t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\
  \t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\
  \t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\
@@ -16,7 +16,7 @@
  
  char *
  gettermcapstring(s)
-@@ -826,7 +826,7 @@
+@@ -826,7 +826,7 @@ char *s;
  {
    register int n;
  
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ai
--- a/misc/screen/patches/patch-ai      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ai      Fri Feb 13 04:44:40 2015 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-ai,v 1.4 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ai,v 1.5 2015/02/13 04:44:40 rodent Exp $
 
 This glues in the code from patch-am (see also path-al and patch-an).
 
 --- os.h.orig  2014-04-26 10:58:35.000000000 +0000
-+++ os.h       2014-08-25 17:55:13.000000000 +0000
++++ os.h
 @@ -71,9 +71,6 @@
  # undef exit
  #endif /* sun */
@@ -14,7 +14,7 @@
  #ifndef HAVE_STRERROR
  /* No macros, please */
  #undef strerror
-@@ -250,9 +247,18 @@
+@@ -250,9 +247,18 @@ extern int errno;
  #endif
  
  #if defined(UTMPOK) || defined(BUGGYGETLOGIN)
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-aj
--- a/misc/screen/patches/patch-aj      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-aj      Fri Feb 13 04:44:40 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.7 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-aj,v 1.8 2015/02/13 04:44:40 rodent Exp $
 
 Include curses header when testing tgetent in order to prevent
 crash on 64-bit architectures.
@@ -6,8 +6,8 @@
 Detect getutent correctly on NetBSD with utmpx.
 
 --- configure.in.orig  2014-04-26 10:58:35.000000000 +0000
-+++ configure.in       2014-08-25 18:20:27.000000000 +0000
-@@ -686,6 +686,8 @@
++++ configure.in
+@@ -686,6 +686,8 @@ AC_TRY_LINK(,tgetent((char *)0, (char *)
  AC_MSG_ERROR(!!! no tgetent - no screen)))))))))
  
  AC_TRY_RUN([
@@ -16,7 +16,7 @@
  main()
  {
   exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
-@@ -837,9 +839,16 @@
+@@ -837,9 +839,16 @@ AC_CHECKING(getutent)
  AC_TRY_LINK([
  #include <time.h> /* to get time_t on SCO */
  #include <sys/types.h>
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ak
--- a/misc/screen/patches/patch-ak      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ak      Fri Feb 13 04:44:40 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ak,v 1.6 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ak,v 1.7 2015/02/13 04:44:40 rodent Exp $
 
 Patch configure after configure.in (see patch-aj).
 
@@ -8,8 +8,8 @@
 Detect getutent correctly on NetBSD with utmpx.
 
 --- configure.orig     2014-04-26 10:58:46.000000000 +0000
-+++ configure  2014-08-25 18:24:13.000000000 +0000
-@@ -5017,6 +5017,8 @@
++++ configure
+@@ -5017,6 +5017,8 @@ else
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  
@@ -18,7 +18,7 @@
  main()
  {
   exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
-@@ -5413,9 +5415,16 @@
+@@ -5413,9 +5415,16 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
  
  #include <time.h> /* to get time_t on SCO */
  #include <sys/types.h>
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-al
--- a/misc/screen/patches/patch-al      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-al      Fri Feb 13 04:44:40 2015 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-al,v 1.3 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-al,v 1.4 2015/02/13 04:44:40 rodent Exp $
 
 Make extra calls to remove utmp entries when utmpx is used.
 For non-login entries we only update utmpx, as it stores
 more information, and utilities are reading both.
 
 --- utmp.c.orig        2014-04-26 16:22:09.000000000 +0000
-+++ utmp.c     2014-08-25 17:55:13.000000000 +0000
-@@ -48,6 +48,12 @@
++++ utmp.c
+@@ -48,6 +48,12 @@ extern char *LoginName;
  extern int real_uid, eff_uid;
  
  
@@ -19,7 +19,7 @@
  /*
   *  UTNOKEEP: A (ugly) hack for apollo that does two things:
   *    1) Always close and reopen the utmp file descriptor. (I don't know
-@@ -315,6 +321,9 @@
+@@ -315,6 +321,9 @@ RemoveLoginSlot()
  
    ASSERT(display);
    debug("RemoveLoginSlot: removing your logintty\n");
@@ -29,7 +29,7 @@
    D_loginslot = TtyNameSlot(D_usertty);
    if (D_loginslot == (slot_t)0 || D_loginslot == (slot_t)-1)
      return;
-@@ -379,6 +388,9 @@
+@@ -379,6 +388,9 @@ RestoreLoginSlot()
  
    debug("RestoreLoginSlot()\n");
    ASSERT(display);
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-am
--- a/misc/screen/patches/patch-am      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-am      Fri Feb 13 04:44:40 2015 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-am,v 1.1 2002/09/15 06:51:39 kim Exp $
+$NetBSD: patch-am,v 1.2 2015/02/13 04:44:40 rodent Exp $
 
 Code to handle the login slot in utmp when utmpx is available.
 Daemons shipped with NetBSD tend to write to both, while 3rd
 party software might write to only one.
 
---- /dev/null  Sun Sep 15 02:36:51 2002
-+++ utmp-netbsd.c      Sun Sep 15 02:38:27 2002
+--- utmp-netbsd.c.orig 2015-02-13 04:30:05.000000000 +0000
++++ utmp-netbsd.c
 @@ -0,0 +1,79 @@
 +#include <sys/param.h>
 +#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-an
--- a/misc/screen/patches/patch-an      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-an      Fri Feb 13 04:44:40 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-an,v 1.4 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-an,v 1.5 2015/02/13 04:44:40 rodent Exp $
 
 Remove GNU Make conditional.  @ETCSCREENRC@ appears to get
 replaced always. If it doesn't in some cases, please fix
@@ -9,8 +9,8 @@
 Don't try to leave "screen.old" behind on install.
 
 --- Makefile.in.orig   2014-04-26 10:58:35.000000000 +0000
-+++ Makefile.in        2014-08-25 19:05:49.000000000 +0000
-@@ -26,9 +26,6 @@
++++ Makefile.in
+@@ -26,9 +26,6 @@ GIT_REV = "`git describe --always 2>/dev
  DEFS = @DEFS@ -DGIT_REV=\"$(GIT_REV)\"
  
  ETCSCREENRC = @ETCSCREENRC@
@@ -20,7 +20,7 @@
  SCREENENCODINGS = $(datadir)/screen/utf8encodings
  
  CC = @CC@
-@@ -65,12 +62,12 @@
+@@ -65,12 +62,12 @@ CFILES=    screen.c ansi.c fileio.c mark.c 
        termcap.c input.c attacher.c pty.c process.c display.c comm.c \
        kmapdef.c acls.c braille.c braille_tsi.c logfile.c layer.c \
        sched.c teln.c nethack.c encoding.c canvas.c layout.c viewport.c \
@@ -35,7 +35,7 @@
        sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o
  
  all:  screen
-@@ -86,9 +83,6 @@
+@@ -86,9 +83,6 @@ install_bin: .version screen
        -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
                then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
        $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ao
--- a/misc/screen/patches/patch-ao      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ao      Fri Feb 13 04:44:40 2015 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-ao,v 1.2 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ao,v 1.3 2015/02/13 04:44:40 rodent Exp $
 
 Replace configurable paths with tags.
 
---- etc/etcscreenrc.orig       Sun Apr 29 01:25:34 2001
+--- etc/etcscreenrc.orig       2014-04-25 19:08:40.000000000 +0000
 +++ etc/etcscreenrc
 @@ -1,6 +1,6 @@
  #
  # This is an example for the global screenrc file.
 -# You may want to install this file as /usr/local/etc/screenrc.
-+# You may want to install this file as @PKG_SYSCONFDIR@/screenrc.
++# You may want to install this file as /usr/pkgsrc/pkg/etc/screenrc.
  # Check config.h for the exact location.
  #
  # Flaws of termcap and standard settings are done here.
diff -r aa27bbfcf78d -r 6a15ebd87387 misc/screen/patches/patch-ap
--- a/misc/screen/patches/patch-ap      Fri Feb 13 03:04:56 2015 +0000
+++ b/misc/screen/patches/patch-ap      Fri Feb 13 04:44:40 2015 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ap,v 1.3 2014/08/25 20:02:32 kim Exp $
+$NetBSD: patch-ap,v 1.4 2015/02/13 04:44:40 rodent Exp $
 
 Replace configurable paths with tags.
 
 --- doc/screen.1.orig  2014-04-27 22:10:01.000000000 +0000
-+++ doc/screen.1       2014-08-25 18:42:29.000000000 +0000



Home | Main Index | Thread Index | Old Index