From 87c52d98f9ec2e01acaf8e19710bf0ef2aeaee93 Mon Sep 17 00:00:00 2001 From: wilfried Date: Tue, 27 May 2003 12:21:31 +0000 Subject: [PATCH] make nsKeycodes private --- www/galeon/patches/patch-src_mozilla_mozilla_cpp | 12 ++++++++++++ .../patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp | 12 ++++++++++++ .../patch-widget_src_gtk_nsGtkEventHandler_cpp | 12 ++++++++++++ .../patches/patch-widget_src_xlib_nsKeyCode_cpp | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 www/galeon/patches/patch-src_mozilla_mozilla_cpp create mode 100644 www/mozilla/patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp create mode 100644 www/mozilla/patches/patch-widget_src_gtk_nsGtkEventHandler_cpp create mode 100644 www/mozilla/patches/patch-widget_src_xlib_nsKeyCode_cpp diff --git a/www/galeon/patches/patch-src_mozilla_mozilla_cpp b/www/galeon/patches/patch-src_mozilla_mozilla_cpp new file mode 100644 index 00000000000..5055a8c52e3 --- /dev/null +++ b/www/galeon/patches/patch-src_mozilla_mozilla_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_mozilla_mozilla_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $ +--- src/mozilla/mozilla.cpp.orig Mon Mar 31 06:45:38 2003 ++++ src/mozilla/mozilla.cpp Tue May 27 14:14:12 2003 +@@ -843,7 +843,7 @@ struct nsKeyConverter { + }; + + /* From mozilla/widget/src/gtk/nsGtkEventHandler.cpp */ +-struct nsKeyConverter nsKeycodes[] = { ++static struct nsKeyConverter nsKeycodes[] = { + + { NS_VK_CANCEL, GDK_Cancel }, + { NS_VK_BACK, GDK_BackSpace }, diff --git a/www/mozilla/patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp b/www/mozilla/patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp new file mode 100644 index 00000000000..233526660e5 --- /dev/null +++ b/www/mozilla/patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-widget_src_gtk2_nsGtkKeyUtils_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $ +--- widget/src/gtk2/nsGtkKeyUtils.cpp.orig Fri Nov 8 03:23:23 2002 ++++ widget/src/gtk2/nsGtkKeyUtils.cpp Tue May 27 14:15:44 2003 +@@ -51,7 +51,7 @@ struct nsKeyConverter { + // Netscape keycodes are defined in widget/public/nsGUIEvent.h + // GTK keycodes are defined in + // +-struct nsKeyConverter nsKeycodes[] = { ++static struct nsKeyConverter nsKeycodes[] = { + { NS_VK_CANCEL, GDK_Cancel }, + { NS_VK_BACK, GDK_BackSpace }, + { NS_VK_TAB, GDK_Tab }, diff --git a/www/mozilla/patches/patch-widget_src_gtk_nsGtkEventHandler_cpp b/www/mozilla/patches/patch-widget_src_gtk_nsGtkEventHandler_cpp new file mode 100644 index 00000000000..a2e265c21d0 --- /dev/null +++ b/www/mozilla/patches/patch-widget_src_gtk_nsGtkEventHandler_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-widget_src_gtk_nsGtkEventHandler_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $ +--- widget/src/gtk/nsGtkEventHandler.cpp.orig Tue Apr 22 01:01:08 2003 ++++ widget/src/gtk/nsGtkEventHandler.cpp Tue May 27 14:15:18 2003 +@@ -113,7 +113,7 @@ struct nsKeyConverter { + // Netscape keycodes are defined in widget/public/nsGUIEvent.h + // GTK keycodes are defined in + // +-struct nsKeyConverter nsKeycodes[] = { ++static struct nsKeyConverter nsKeycodes[] = { + { NS_VK_CANCEL, GDK_Cancel }, + { NS_VK_BACK, GDK_BackSpace }, + { NS_VK_TAB, GDK_Tab }, diff --git a/www/mozilla/patches/patch-widget_src_xlib_nsKeyCode_cpp b/www/mozilla/patches/patch-widget_src_xlib_nsKeyCode_cpp new file mode 100644 index 00000000000..48a5601d879 --- /dev/null +++ b/www/mozilla/patches/patch-widget_src_xlib_nsKeyCode_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-widget_src_xlib_nsKeyCode_cpp,v 1.1 2003/05/27 12:21:31 wilfried Exp $ +--- widget/src/xlib/nsKeyCode.cpp.orig Mon Dec 9 18:39:10 2002 ++++ widget/src/xlib/nsKeyCode.cpp Tue May 27 14:19:24 2003 +@@ -50,7 +50,7 @@ struct nsKeyConverter + unsigned int keysym; // XK keysym key code + }; + +-struct nsKeyConverter nsKeycodes[] = ++static struct nsKeyConverter nsKeycodes[] = + { + { NS_VK_CANCEL, XK_Cancel}, + { NS_VK_BACK, XK_BackSpace},