From 65f8b96e554c17e90fbda202f41690dbab7d0f1a Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 11 Jun 2002 02:00:17 +0000 Subject: [PATCH] Actually patch the correct file. You can't patch C++ files in the gtk-- subdir since they are generated at build-time. --- ...gtk--::editable.cc => patch-src::editable.gen_h} | 8 +++----- ...gtk--::editable.cc => patch-src::editable.gen_h} | 8 +++----- ...gtk--::editable.cc => patch-src::editable.gen_h} | 8 +++----- ...gtk--::editable.cc => patch-src::editable.gen_h} | 8 +++----- .../gtkmm24/files/patch-src::editable.gen_h | 11 +++++++++++ .../gtkmm24/files/patch-src::gtk--::editable.cc | 13 ------------- .../gtkmm30/files/patch-src::editable.gen_h | 11 +++++++++++ .../gtkmm30/files/patch-src::gtk--::editable.cc | 13 ------------- 8 files changed, 34 insertions(+), 46 deletions(-) rename x11-toolkits/gtk--/files/{patch-src::gtk--::editable.cc => patch-src::editable.gen_h} (68%) rename x11-toolkits/gtk--2/files/{patch-src::gtk--::editable.cc => patch-src::editable.gen_h} (68%) rename x11-toolkits/gtkmm12/files/{patch-src::gtk--::editable.cc => patch-src::editable.gen_h} (68%) rename x11-toolkits/gtkmm20/files/{patch-src::gtk--::editable.cc => patch-src::editable.gen_h} (68%) create mode 100644 x11-toolkits/gtkmm24/files/patch-src::editable.gen_h delete mode 100644 x11-toolkits/gtkmm24/files/patch-src::gtk--::editable.cc create mode 100644 x11-toolkits/gtkmm30/files/patch-src::editable.gen_h delete mode 100644 x11-toolkits/gtkmm30/files/patch-src::gtk--::editable.cc diff --git a/x11-toolkits/gtk--/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtk--/files/patch-src::editable.gen_h similarity index 68% rename from x11-toolkits/gtk--/files/patch-src::gtk--::editable.cc rename to x11-toolkits/gtk--/files/patch-src::editable.gen_h index e3523a058d8d..234dc91f8061 100644 --- a/x11-toolkits/gtk--/files/patch-src::gtk--::editable.cc +++ b/x11-toolkits/gtk--/files/patch-src::editable.gen_h @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ namespace Gtk { diff --git a/x11-toolkits/gtk--2/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtk--2/files/patch-src::editable.gen_h similarity index 68% rename from x11-toolkits/gtk--2/files/patch-src::gtk--::editable.cc rename to x11-toolkits/gtk--2/files/patch-src::editable.gen_h index e3523a058d8d..234dc91f8061 100644 --- a/x11-toolkits/gtk--2/files/patch-src::gtk--::editable.cc +++ b/x11-toolkits/gtk--2/files/patch-src::editable.gen_h @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ namespace Gtk { diff --git a/x11-toolkits/gtkmm12/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtkmm12/files/patch-src::editable.gen_h similarity index 68% rename from x11-toolkits/gtkmm12/files/patch-src::gtk--::editable.cc rename to x11-toolkits/gtkmm12/files/patch-src::editable.gen_h index e3523a058d8d..234dc91f8061 100644 --- a/x11-toolkits/gtkmm12/files/patch-src::gtk--::editable.cc +++ b/x11-toolkits/gtkmm12/files/patch-src::editable.gen_h @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ namespace Gtk { diff --git a/x11-toolkits/gtkmm20/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtkmm20/files/patch-src::editable.gen_h similarity index 68% rename from x11-toolkits/gtkmm20/files/patch-src::gtk--::editable.cc rename to x11-toolkits/gtkmm20/files/patch-src::editable.gen_h index e3523a058d8d..234dc91f8061 100644 --- a/x11-toolkits/gtkmm20/files/patch-src::gtk--::editable.cc +++ b/x11-toolkits/gtkmm20/files/patch-src::editable.gen_h @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ namespace Gtk { diff --git a/x11-toolkits/gtkmm24/files/patch-src::editable.gen_h b/x11-toolkits/gtkmm24/files/patch-src::editable.gen_h new file mode 100644 index 000000000000..234dc91f8061 --- /dev/null +++ b/x11-toolkits/gtkmm24/files/patch-src::editable.gen_h @@ -0,0 +1,11 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ + namespace Gtk + { + +- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const ++ string Editable::get_chars (int start_pos, int end_pos) const + { + gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos); + string ret_val = chars; diff --git a/x11-toolkits/gtkmm24/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtkmm24/files/patch-src::gtk--::editable.cc deleted file mode 100644 index e3523a058d8d..000000000000 --- a/x11-toolkits/gtkmm24/files/patch-src::gtk--::editable.cc +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ - namespace Gtk - { - -- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const -+ string Editable::get_chars (int start_pos, int end_pos) const - { - gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos); - string ret_val = chars; diff --git a/x11-toolkits/gtkmm30/files/patch-src::editable.gen_h b/x11-toolkits/gtkmm30/files/patch-src::editable.gen_h new file mode 100644 index 000000000000..234dc91f8061 --- /dev/null +++ b/x11-toolkits/gtkmm30/files/patch-src::editable.gen_h @@ -0,0 +1,11 @@ +--- src/editable.gen_h.orig Mon Jun 10 21:40:43 2002 ++++ src/editable.gen_h Mon Jun 10 21:40:56 2002 +@@ -147,7 +147,7 @@ + namespace Gtk + { + +- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const ++ string Editable::get_chars (int start_pos, int end_pos) const + { + gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos); + string ret_val = chars; diff --git a/x11-toolkits/gtkmm30/files/patch-src::gtk--::editable.cc b/x11-toolkits/gtkmm30/files/patch-src::gtk--::editable.cc deleted file mode 100644 index e3523a058d8d..000000000000 --- a/x11-toolkits/gtkmm30/files/patch-src::gtk--::editable.cc +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- src/gtk--/editable.cc.orig Sun Jun 9 11:15:59 2002 -+++ src/gtk--/editable.cc Sun Jun 9 11:16:09 2002 -@@ -5,7 +5,7 @@ - namespace Gtk - { - -- string Editable::get_chars (int start_pos = 0, int end_pos = - 1) const -+ string Editable::get_chars (int start_pos, int end_pos) const - { - gchar *chars = gtk_editable_get_chars (GTK_EDITABLE (gtkobj ()), start_pos, end_pos); - string ret_val = chars;