pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/manedit Make this compilable by gcc3 - no more...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2baecfc238a1
branches:  trunk
changeset: 471180:2baecfc238a1
user:      agc <agc%pkgsrc.org@localhost>
date:      Sat Mar 20 22:08:10 2004 +0000

description:
Make this compilable by gcc3 - no more multi-line string constants, link
with the correct compiler invocation.

diffstat:

 editors/manedit/distinfo         |    4 +-
 editors/manedit/patches/patch-ae |  136 +++++++++++++++++++++++++++++++++++++++
 editors/manedit/patches/patch-af |   13 +++
 3 files changed, 152 insertions(+), 1 deletions(-)

diffs (172 lines):

diff -r 59e6d01bbf5d -r 2baecfc238a1 editors/manedit/distinfo
--- a/editors/manedit/distinfo  Sat Mar 20 21:18:41 2004 +0000
+++ b/editors/manedit/distinfo  Sat Mar 20 22:08:10 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/12/30 00:00:17 kristerw Exp $
+$NetBSD: distinfo,v 1.6 2004/03/20 22:08:10 agc Exp $
 
 SHA1 (manedit-0.5.6.tar.bz2) = 1a6f413f614e5f3620fd9fae16d754eb722984e6
 Size (manedit-0.5.6.tar.bz2) = 425714 bytes
@@ -6,3 +6,5 @@
 SHA1 (patch-ab) = 80a4e693601b353c271d1fbd9afb31bace75f75e
 SHA1 (patch-ac) = 05b59bc0315256dc9486f361699e1fa1688a3a04
 SHA1 (patch-ad) = c59ff342f72f33834b1a25e300a36d2579330686
+SHA1 (patch-ae) = 9cb79121a5c271d240b4362c91ad59bed499c571
+SHA1 (patch-af) = 8ff383b82b3813778aefa0e5ec72a76246089fbc
diff -r 59e6d01bbf5d -r 2baecfc238a1 editors/manedit/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/manedit/patches/patch-ae  Sat Mar 20 22:08:10 2004 +0000
@@ -0,0 +1,136 @@
+$NetBSD: patch-ae,v 1.3 2004/03/20 22:08:11 agc Exp $
+
+--- editorcb.c 2004/03/20 21:48:19     1.1
++++ editorcb.c 2004/03/20 22:01:19
+@@ -4257,13 +4257,13 @@
+       /* Confirm before replace. */
+       status = CDialogGetResponse(
+ "Confirm Replace Entire Page",
+-"You will not be able to undo this operation,\n\
+-are you sure you want to find and replace the\n\
+-entire selected Manual Page?",
+-"You are about the search and replace through
+-the entire selected Manual Page, you will not
+-be able to undo this operation. If you are
+-unsure say `cancel'.",
++"You will not be able to undo this operation,\n"
++"are you sure you want to find and replace the\n"
++"entire selected Manual Page?",
++"You are about the search and replace through\n"
++"the entire selected Manual Page, you will not\n"
++"be able to undo this operation. If you are\n"
++"unsure say `cancel'.",
+           CDIALOG_ICON_WARNING,
+           CDIALOG_BTNFLAG_YES | CDIALOG_BTNFLAG_CANCEL |
+           CDIALOG_BTNFLAG_HELP,
+@@ -4292,8 +4292,8 @@
+             CDialogGetResponse(
+ "No Manual Page selected!",
+ "No Manual Page selected to search and replace through.",
+-"You have not selected a manual page to search and\n\
+-replace through.",
++"You have not selected a manual page to search and\n"
++"replace through.",
+                 CDIALOG_ICON_WARNING,
+                 CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                 CDIALOG_BTNFLAG_OK
+@@ -4555,8 +4555,8 @@
+           CDialogGetResponse(
+ "No item selected!",
+ "No item selected to search through.",
+-"You have not selected an item with text\n\
+-to search through.",
++"You have not selected an item with text\n"
++"to search through.",
+               CDIALOG_ICON_WARNING,
+               CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+               CDIALOG_BTNFLAG_OK
+@@ -4607,9 +4607,9 @@
+                   CDialogGetResponse(
+ "Search wrapped!",
+ "Search wrapped!",
+-"The matched string was found before the last\n\
+-cursor position, implying that no further text\n\
+-was matched after the cursor position.",
++"The matched string was found before the last\n"
++"cursor position, implying that no further text\n"
++"was matched after the cursor position.",
+                       CDIALOG_ICON_INFO,
+                       CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                       CDIALOG_BTNFLAG_OK
+@@ -4620,9 +4620,9 @@
+                 CDialogGetResponse(
+ "String not found!",
+ "String not found!",
+-"The given string to be searched was not found\n\
+-in the text, implying that the search string\n\
+-does not exist in the text.",
++"The given string to be searched was not found\n"
++"in the text, implying that the search string\n"
++"does not exist in the text.",
+                   CDIALOG_ICON_WARNING,
+                   CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                   CDIALOG_BTNFLAG_OK
+@@ -4661,9 +4661,9 @@
+                     CDialogGetResponse(
+ "Search wrapped!",
+ "Search wrapped!",
+-"The matched string was found before the last\n\
+-cursor position, implying that no further text\n\
+-was matched after the cursor position.",
++"The matched string was found before the last\n"
++"cursor position, implying that no further text\n"
++"was matched after the cursor position.",
+                         CDIALOG_ICON_INFO,
+                         CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                         CDIALOG_BTNFLAG_OK
+@@ -4674,9 +4674,9 @@
+                 CDialogGetResponse(  
+ "String not found!",
+ "String not found!",
+-"The given string to be searched was not found\n\
+-in the text, implying that the search string\n\
+-does not exist in the text.",
++"The given string to be searched was not found\n"
++"in the text, implying that the search string\n"
++"does not exist in the text.",
+                     CDIALOG_ICON_WARNING,
+                     CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                     CDIALOG_BTNFLAG_OK
+@@ -4725,8 +4725,8 @@
+             CDialogGetResponse(
+ "No item selected!",
+ "No item selected to search and replacethrough.",
+-"You have not selected an item with text\n\
+-to search and replace through.",
++"You have not selected an item with text\n"
++"to search and replace through.",
+                 CDIALOG_ICON_WARNING,
+                 CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                 CDIALOG_BTNFLAG_OK
+@@ -4784,9 +4784,9 @@
+                 CDialogGetResponse(
+ "String not found!",
+ "String not found!",
+-"The given string to be searched and replaced\n\
+-was not found in the text, implying that the\n\
+-search string does not exist in the text.",
++"The given string to be searched and replaced\n"
++"was not found in the text, implying that the\n"
++"search string does not exist in the text.",
+                     CDIALOG_ICON_WARNING,
+                     CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                     CDIALOG_BTNFLAG_OK
+@@ -4826,9 +4826,9 @@
+                 CDialogGetResponse(
+ "String not found!",
+ "String not found!",
+-"The given string to be searched and replaced\n\
+-was not found in the text, implying that the\n\
+-search string does not exist in the text.",
++"The given string to be searched and replaced\n"
++"was not found in the text, implying that the\n"
++"search string does not exist in the text.",
+                     CDIALOG_ICON_WARNING,
+                     CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                     CDIALOG_BTNFLAG_OK
diff -r 59e6d01bbf5d -r 2baecfc238a1 editors/manedit/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/manedit/patches/patch-af  Sat Mar 20 22:08:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2004/03/20 22:08:11 agc Exp $
+
+--- Makefile.FreeBSD   2004/03/20 22:04:43     1.1
++++ Makefile.FreeBSD   2004/03/20 22:04:48
+@@ -116,7 +116,7 @@
+ # Build Rules:
+ #
+ $(BIN): $(OBJ_C) $(OBJ_CPP)
+-      $(CC) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIB) $(LIB_DIR)
++      $(CXX) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIB) $(LIB_DIR)
+ 
+ all: $(BIN) $(BIN).1.out
+ 



Home | Main Index | Thread Index | Old Index