pkgsrc-WIP-changes archive

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

profanity: remove leftovers



Module Name:	pkgsrc-wip
Committed By:	nia <nia%netbsd.org@localhost>
Pushed By:	nee
Date:		Sat Sep 5 11:44:20 2020 +0200
Changeset:	611fee3eda4d6e2efe175b9a2e55f73198a59659

Removed Files:
	profanity/patches/patch-configure.ac
	profanity/patches/patch-src_ui_inputwin.c
	profanity/patches/patch-src_ui_window.c

Log Message:
profanity: remove leftovers

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=611fee3eda4d6e2efe175b9a2e55f73198a59659

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 profanity/patches/patch-configure.ac      | 33 -------------------------------
 profanity/patches/patch-src_ui_inputwin.c | 17 ----------------
 profanity/patches/patch-src_ui_window.c   | 20 -------------------
 3 files changed, 70 deletions(-)

diffs:
diff --git a/profanity/patches/patch-configure.ac b/profanity/patches/patch-configure.ac
deleted file mode 100644
index c27aefe670..0000000000
--- a/profanity/patches/patch-configure.ac
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD$
-
-- Add NetBSD as a non-libdl platform.
-- Fix == usage.
-
---- configure.ac.orig	2020-07-01 16:49:19.000000000 +0000
-+++ configure.ac
-@@ -22,6 +22,7 @@ AC_CANONICAL_HOST
- PLATFORM="unknown"
- AS_CASE([$host_os],
-     [freebsd*], [PLATFORM="freebsd"],
-+    [netbsd*], [PLATFORM="netbsd"],
-     [openbsd*], [PLATFORM="openbsd"],
-     [darwin*], [PLATFORM="osx"],
-     [cygwin], [PLATFORM="cygwin"],
-@@ -81,7 +82,7 @@ elif test "x$enable_python_plugins" != x
-         rm -f Python.framework
-         ln -s $PYTHON_FRAMEWORK Python.framework ])
-     AC_CHECK_PROG(PYTHON_CONFIG_EXISTS, python-config, yes, no)
--    if test "$PYTHON_CONFIG_EXISTS" == "yes"; then
-+    if test "$PYTHON_CONFIG_EXISTS" = "yes"; then
-         AX_PYTHON_DEVEL
-         AM_CONDITIONAL([BUILD_PYTHON_API], [true])
-         AC_DEFINE([HAVE_PYTHON], [1], [Python support])
-@@ -108,7 +109,7 @@ else
-     elif test "x$enable_c_plugins" != xno; then
-         # libdl doesn't exist as a separate library in OpenBSD/FreeBSD and is
-         # provided in the standard libraries.
--        AS_IF([test "x$PLATFORM" = xopenbsd -o "x$PLATFORM" = xfreebsd],
-+        AS_IF([test "x$PLATFORM" = xopenbsd -o "x$PLATFORM" = xfreebsd -o "x$PLATFORM" = xnetbsd],
-             [AM_CONDITIONAL([BUILD_C_API], [true]) AC_DEFINE([HAVE_C], [1], [C support])],
-             [AC_CHECK_LIB([dl], [main],
-                 [AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])],
diff --git a/profanity/patches/patch-src_ui_inputwin.c b/profanity/patches/patch-src_ui_inputwin.c
deleted file mode 100644
index 8d7f3d7728..0000000000
--- a/profanity/patches/patch-src_ui_inputwin.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Prevent NetBSD libcurses from dereferencing a null pointer.
-
---- src/ui/inputwin.c.orig	2020-06-29 15:43:33.000000000 +0000
-+++ src/ui/inputwin.c
-@@ -307,7 +307,9 @@ _inp_win_update_virtual(void)
- {
-     int wcols = getmaxx(stdscr);
-     int row = screen_inputwin_row();
--    pnoutrefresh(inp_win, 0, pad_start, row, 0, row, wcols-2);
-+    if (inp_win != NULL) {
-+        pnoutrefresh(inp_win, 0, pad_start, row, 0, row, wcols-2);
-+    }
- }
- 
- static void
diff --git a/profanity/patches/patch-src_ui_window.c b/profanity/patches/patch-src_ui_window.c
deleted file mode 100644
index b2a08c3869..0000000000
--- a/profanity/patches/patch-src_ui_window.c
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
-Prevent NetBSD libcurses from dereferencing a null pointer.
-
---- src/ui/window.c.orig	2020-07-01 16:49:19.000000000 +0000
-+++ src/ui/window.c
-@@ -1858,7 +1858,12 @@ win_sub_print(WINDOW *win, char *msg, gb
- void
- win_sub_newline_lazy(WINDOW *win)
- {
--    int curx = getcurx(win);
-+    int curx;
-+
-+    if (win == NULL) {
-+        return;
-+    }
-+    curx = getcurx(win);
-     if (curx > 0) {
-         int cury = getcury(win);
-         wmove(win, cury+1, 0);


Home | Main Index | Thread Index | Old Index