update to vte-0.50.2

This commit is contained in:
jasper 2017-11-01 16:34:17 +00:00
parent f864afae28
commit 21a5024bd7
4 changed files with 5 additions and 67 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.85 2017/11/01 13:51:55 jasper Exp $
# $OpenBSD: Makefile,v 1.86 2017/11/01 16:34:17 jasper Exp $
COMMENT= terminal emulation library
GNOME_PROJECT= vte
GNOME_VERSION= 0.50.1
GNOME_VERSION= 0.50.2
API_V= 2.91
PKGNAME= vte3-${GNOME_VERSION}

View File

@ -1,2 +1,2 @@
SHA256 (vte-0.50.1.tar.xz) = zxcI4+VzFg4dsQcBSz73CIj+/mtmg3P+1w6NHKxFqMI=
SIZE (vte-0.50.1.tar.xz) = 1019512
SHA256 (vte-0.50.2.tar.xz) = ed0xa/r/SPL7dNBmuq4Ngw4fRENnlv5BClcpflxfCc8=
SIZE (vte-0.50.2.tar.xz) = 1020520

View File

@ -1,56 +0,0 @@
$OpenBSD: patch-src_vteseq_cc,v 1.1 2017/11/01 13:51:55 jasper Exp $
inline implementation of strchrnul(3) for libc lacks it
Index: src/vteseq.cc
--- src/vteseq.cc.orig
+++ src/vteseq.cc
@@ -2513,6 +2513,48 @@ vte_sequence_handler_set_current_hyperlink (VteTermina
that->set_current_hyperlink(hyperlink_params, uri);
}
+#ifndef strchrnul
+/*
+ * Copyright (c) 2013 Niclas Zeising
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+char *strchrnul(const char *, int);
+
+char *
+strchrnul(const char *p, int ch)
+{
+ char c;
+
+ c = ch;
+ for (;; ++p) {
+ if (*p == c || *p == '\0')
+ return ((char *)p);
+ }
+}
+#endif
+
void
VteTerminalPrivate::set_current_hyperlink(char *hyperlink_params /* adopted */, char* uri /* adopted */)
{

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.31 2017/11/01 13:51:55 jasper Exp $
@comment $OpenBSD: PLIST,v 1.32 2017/11/01 16:34:17 jasper Exp $
@conflict vte-<0.28.2p3
@conflict vte-ptyhelper-*
@bin bin/vte-${API_V}
@ -24,12 +24,6 @@ share/gtk-doc/html/vte-${API_V}/
share/gtk-doc/html/vte-${API_V}/VteRegex.html
share/gtk-doc/html/vte-${API_V}/VteTerminal.html
share/gtk-doc/html/vte-${API_V}/annotation-glossary.html
share/gtk-doc/html/vte-${API_V}/api-index-0-40.html
share/gtk-doc/html/vte-${API_V}/api-index-0-44.html
share/gtk-doc/html/vte-${API_V}/api-index-0-46.html
share/gtk-doc/html/vte-${API_V}/api-index-0-48.html
share/gtk-doc/html/vte-${API_V}/api-index-0-50.html
share/gtk-doc/html/vte-${API_V}/api-index-deprecated.html
share/gtk-doc/html/vte-${API_V}/api-index-full.html
share/gtk-doc/html/vte-${API_V}/ch01.html
share/gtk-doc/html/vte-${API_V}/ch02.html