aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xview
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-05-29 04:23:16 +0800
committerthierry <thierry@FreeBSD.org>2006-05-29 04:23:16 +0800
commit17950d5f42667b953dbfd50abc8cb5f3761a2fae (patch)
tree7e9ba9724e58ba630dc91b79bea3f8dbbf3cdb26 /x11-toolkits/xview
parentacf4de44afd0dc676b490d8a6d8a28fc879b3ffc (diff)
downloadfreebsd-ports-gnome-17950d5f42667b953dbfd50abc8cb5f3761a2fae.tar.gz
freebsd-ports-gnome-17950d5f42667b953dbfd50abc8cb5f3761a2fae.tar.zst
freebsd-ports-gnome-17950d5f42667b953dbfd50abc8cb5f3761a2fae.zip
Fix two bad patches.
Submitted by: Pedro F. Giffuni <giffunip (at) asme.org>
Diffstat (limited to 'x11-toolkits/xview')
-rw-r--r--x11-toolkits/xview/files/patch+lib+libxview+panel+p_mlinetxt.c19
-rw-r--r--x11-toolkits/xview/files/patch+lib+libxview+panel+panel.c10
-rw-r--r--x11-toolkits/xview/files/patch-lib+libxview+panel+p_mlinetxt.c14
-rw-r--r--x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c8
4 files changed, 15 insertions, 36 deletions
diff --git a/x11-toolkits/xview/files/patch+lib+libxview+panel+p_mlinetxt.c b/x11-toolkits/xview/files/patch+lib+libxview+panel+p_mlinetxt.c
deleted file mode 100644
index 59243ee8c8b7..000000000000
--- a/x11-toolkits/xview/files/patch+lib+libxview+panel+p_mlinetxt.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib/libxview/panel/p_mlinetxt.c.orig Sat Mar 25 23:52:08 2006
-+++ lib/libxview/panel/p_mlinetxt.c Sun Mar 26 00:22:01 2006
-@@ -14,6 +14,7 @@
- * Multi-line Text Field Panel Item
- */
- #include <string.h>
-+#include <stdarg.h>
- #include <xview_private/panel_impl.h>
- #include <xview_private/draw_impl.h>
- #include <xview/defaults.h>
-@@ -449,7 +450,7 @@
- return (Xv_opaque) dp->rows_displayed;
-
- case PANEL_ITEM_NTH_WINDOW:
-- switch (*(int *) valist) {
-+ switch (va_arg(valist, int)) {
- case 0:
- return dp->view;
- case 1:
diff --git a/x11-toolkits/xview/files/patch+lib+libxview+panel+panel.c b/x11-toolkits/xview/files/patch+lib+libxview+panel+panel.c
deleted file mode 100644
index 9271c4804c39..000000000000
--- a/x11-toolkits/xview/files/patch+lib+libxview+panel+panel.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/libxview/panel/panel.c.orig Sat Mar 25 23:52:08 2006
-+++ lib/libxview/panel/panel.c Sun Mar 26 00:19:28 2006
-@@ -27,6 +27,7 @@
- Pkg_private int panel_destroy();
-
- static int panel_layout();
-+static int panel_unregister_view(Panel_info *panel, Xv_Window view);
-
- Xv_private_data Defaults_pairs xv_kbd_cmds_value_pairs[4];
-
diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_mlinetxt.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_mlinetxt.c
index cde42fcd148c..59243ee8c8b7 100644
--- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_mlinetxt.c
+++ b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_mlinetxt.c
@@ -1,6 +1,14 @@
---- lib/libxview/panel/p_mlinetxt.c.orig Tue Jun 29 14:17:05 1993
-+++ lib/libxview/panel/p_mlinetxt.c Sun Jan 10 01:52:00 1999
-@@ -449,7 +449,7 @@
+--- lib/libxview/panel/p_mlinetxt.c.orig Sat Mar 25 23:52:08 2006
++++ lib/libxview/panel/p_mlinetxt.c Sun Mar 26 00:22:01 2006
+@@ -14,6 +14,7 @@
+ * Multi-line Text Field Panel Item
+ */
+ #include <string.h>
++#include <stdarg.h>
+ #include <xview_private/panel_impl.h>
+ #include <xview_private/draw_impl.h>
+ #include <xview/defaults.h>
+@@ -449,7 +450,7 @@
return (Xv_opaque) dp->rows_displayed;
case PANEL_ITEM_NTH_WINDOW:
diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c
index 001850433580..9271c4804c39 100644
--- a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c
+++ b/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c
@@ -1,10 +1,10 @@
---- ./lib/libxview/panel/panel.c.orig Tue Jun 29 07:16:57 1993
-+++ ./lib/libxview/panel/panel.c Sat Apr 1 18:25:27 2000
-@@ -27,6 +27,7 @@ Pkg_private int panel_view_init();
+--- lib/libxview/panel/panel.c.orig Sat Mar 25 23:52:08 2006
++++ lib/libxview/panel/panel.c Sun Mar 26 00:19:28 2006
+@@ -27,6 +27,7 @@
Pkg_private int panel_destroy();
static int panel_layout();
-+static int panel_unregister_view();
++static int panel_unregister_view(Panel_info *panel, Xv_Window view);
Xv_private_data Defaults_pairs xv_kbd_cmds_value_pairs[4];