pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem building security/putty on Linux
On Fri, Mar 21, 2014 at 15:18:39 -0700, Iain Morgan wrote:
> Hello,
>
> Trying to build security/putty on an RHEL 6.5 system, using cvs HEAD,
> fails due to multiple undefined references to dlsym, dlopen, dlcose, etc.
> I'm a little perplexed as to hey this is happening, given that USE_BUILTIN.dl
> is set to 'yes'.
>
> Running the build under script and then grep'ing for -ldl finds no
> matches. Likewise, 'bmake show-var VARNAME=DL_LIBS' returns an empty
> line.
>
> Regards,
>
> --
> Iain Morgan
Oops! I'll add the attachment this time.
--
Iain Morgan
Index: editors/nedit/patches/patch-Xlt_SlideC.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-Xlt_SlideC.c,v
retrieving revision 1.1
diff -u -r1.1 patch-Xlt_SlideC.c
--- editors/nedit/patches/patch-Xlt_SlideC.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-Xlt_SlideC.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Don't use NULL as an integer constant.
---- Xlt/SlideC.c~ 2003-12-25 06:55:07.000000000 +0000
+--- Xlt/SlideC.c.orig 2003-12-25 06:55:07.000000000 +0000
+++ Xlt/SlideC.c
@@ -116,14 +116,14 @@ XltSlideContextClassRec xltSlideContextC
/* notify that initialize called XtArgsProc */ NULL,
Index: editors/nedit/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-aa,v
retrieving revision 1.14
diff -u -r1.14 patch-aa
--- editors/nedit/patches/patch-aa 21 May 2004 12:13:05 -0000 1.14
+++ editors/nedit/patches/patch-aa 21 Mar 2014 19:24:46 -0000
@@ -1,6 +1,6 @@
$NetBSD: patch-aa,v 1.14 2004/05/21 12:13:05 adam Exp $
---- makefiles/Makefile.netbsd.orig 2003-09-28 15:03:10.000000000 +0000
+--- makefiles/Makefile.netbsd.orig 2003-11-22 13:03:39.000000000 +0000
+++ makefiles/Makefile.netbsd
@@ -10,10 +10,10 @@ AR=ar
# To test if the Motif library exports the runtime version
Index: editors/nedit/patches/patch-source_highlight.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_highlight.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_highlight.c
--- editors/nedit/patches/patch-source_highlight.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_highlight.c 21 Mar 2014 19:24:46
-0000
@@ -2,9 +2,17 @@
Silence gcc warnings about unsafe pointer casts.
---- source/highlight.c~ 2004-08-01 10:06:10.000000000 +0000
+--- source/highlight.c.orig 2004-08-01 10:06:10.000000000 +0000
+++ source/highlight.c
-@@ -510,7 +510,7 @@ void* GetHighlightInfo(WindowInfo *windo
+@@ -50,6 +50,7 @@ static const char CVSID[] = "$Id: highli
+ #include <math.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <stdint.h>
+ #ifdef VMS
+ #include "../util/VMSparam.h"
+ #else
+@@ -510,7 +511,7 @@ void* GetHighlightInfo(WindowInfo *windo
if (!pattern) {
return NULL;
}
Index: editors/nedit/patches/patch-source_interpret.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_interpret.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_interpret.c
--- editors/nedit/patches/patch-source_interpret.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_interpret.c 21 Mar 2014 19:24:46
-0000
@@ -4,9 +4,17 @@
(This code should be rewritten to use a union, but I'm leaving that
for upstream.)
---- source/interpret.c~ 2004-07-21 11:32:05.000000000 +0000
+--- source/interpret.c.orig 2004-07-21 11:32:05.000000000 +0000
+++ source/interpret.c
-@@ -1254,14 +1254,14 @@ static int pushArraySymVal(void)
+@@ -45,6 +45,7 @@ static const char CVSID[] = "$Id: interp
+ #include <limits.h>
+ #include <ctype.h>
+ #include <errno.h>
++#include <stdint.h>
+ #ifdef VMS
+ #include "../util/VMSparam.h"
+ #else
+@@ -1254,14 +1255,14 @@ static int pushArraySymVal(void)
{
Symbol *sym;
DataValue *dataPtr;
@@ -23,7 +31,7 @@
PC++;
if (sym->type == LOCAL_SYM) {
-@@ -1872,7 +1872,7 @@ static int callSubroutine(void)
+@@ -1872,7 +1873,7 @@ static int callSubroutine(void)
char *errMsg;
sym = (Symbol *)*PC++;
@@ -32,7 +40,7 @@
DISASM_RT(PC-3, 3);
STACKDUMP(nArgs, 3);
-@@ -2064,7 +2064,7 @@ static int branch(void)
+@@ -2064,7 +2065,7 @@ static int branch(void)
DISASM_RT(PC-1, 2);
STACKDUMP(0, 3);
@@ -41,7 +49,7 @@
return STAT_OK;
}
-@@ -2085,7 +2085,7 @@ static int branchTrue(void)
+@@ -2085,7 +2086,7 @@ static int branchTrue(void)
STACKDUMP(1, 3);
POP_INT(value)
@@ -50,7 +58,7 @@
PC++;
if (value)
-@@ -2101,7 +2101,7 @@ static int branchFalse(void)
+@@ -2101,7 +2102,7 @@ static int branchFalse(void)
STACKDUMP(1, 3);
POP_INT(value)
@@ -59,7 +67,7 @@
PC++;
if (!value)
-@@ -2420,7 +2420,7 @@ static int arrayRef(void)
+@@ -2420,7 +2421,7 @@ static int arrayRef(void)
char *keyString = NULL;
int nDim;
@@ -68,7 +76,7 @@
PC++;
DISASM_RT(PC-2, 2);
-@@ -2471,7 +2471,7 @@ static int arrayAssign(void)
+@@ -2471,7 +2472,7 @@ static int arrayAssign(void)
int errNum;
int nDim;
@@ -77,7 +85,7 @@
PC++;
DISASM_RT(PC-2, 1);
-@@ -2524,9 +2524,9 @@ static int arrayRefAndAssignSetup(void)
+@@ -2524,9 +2525,9 @@ static int arrayRefAndAssignSetup(void)
char *keyString = NULL;
int binaryOp, nDim;
@@ -89,7 +97,7 @@
PC++;
DISASM_RT(PC-3, 3);
-@@ -2642,7 +2642,7 @@ static int arrayIter(void)
+@@ -2642,7 +2643,7 @@ static int arrayIter(void)
PC++;
iterator = (Symbol *)*PC;
PC++;
@@ -98,7 +106,7 @@
PC++;
if (item->type == LOCAL_SYM) {
-@@ -2739,7 +2739,7 @@ static int deleteArrayElement(void)
+@@ -2739,7 +2740,7 @@ static int deleteArrayElement(void)
char *keyString = NULL;
int nDim;
Index: editors/nedit/patches/patch-source_macro.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_macro.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_macro.c
--- editors/nedit/patches/patch-source_macro.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_macro.c 21 Mar 2014 19:24:46 -0000
@@ -3,9 +3,17 @@
Call XtVaCreateManagedWidget and XtVaGetValues correctly.
Silence gcc warnings about unsafe pointer casts.
---- source/macro.c~ 2004-08-01 10:06:10.000000000 +0000
+--- source/macro.c.orig 2004-08-01 10:06:10.000000000 +0000
+++ source/macro.c
-@@ -2830,7 +2830,7 @@ static int dialogMS(WindowInfo *window,
+@@ -62,6 +62,7 @@ static const char CVSID[] = "$Id: macro.
+ #include <string.h>
+ #include <ctype.h>
+ #include <errno.h>
++#include <stdint.h>
+ #ifdef VMS
+ #include "../util/VMSparam.h"
+ #include <types.h>
+@@ -2830,7 +2831,7 @@ static int dialogMS(WindowInfo *window,
for (i=1; i<nBtns; i++) {
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
XmNlabelString, s1=XmStringCreateSimple(btnLabels[i]),
@@ -14,7 +22,7 @@
XtAddCallback(btn, XmNactivateCallback, dialogBtnCB, window);
XmStringFree(s1);
}
-@@ -2871,7 +2871,7 @@ static void dialogBtnCB(Widget w, XtPoin
+@@ -2871,7 +2872,7 @@ static void dialogBtnCB(Widget w, XtPoin
return; /* shouldn't happen */
if (XtClass(w) == xmPushButtonWidgetClass) {
XtVaGetValues(w, XmNuserData, &userData, NULL);
@@ -23,7 +31,7 @@
} else
retVal.val.n = 1;
retVal.tag = INT_TAG;
-@@ -3003,7 +3003,7 @@ static int stringDialogMS(WindowInfo *wi
+@@ -3003,7 +3004,7 @@ static int stringDialogMS(WindowInfo *wi
for (i=1; i<nBtns; i++) {
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
XmNlabelString, s1=XmStringCreateSimple(btnLabels[i]),
@@ -32,7 +40,7 @@
XtAddCallback(btn, XmNactivateCallback, stringDialogBtnCB, window);
XmStringFree(s1);
}
-@@ -3057,7 +3057,7 @@ static void stringDialogBtnCB(Widget w,
+@@ -3057,7 +3058,7 @@ static void stringDialogBtnCB(Widget w,
returned in w. */
if (XtClass(w) == xmPushButtonWidgetClass) {
XtVaGetValues(w, XmNuserData, &userData, NULL);
@@ -41,7 +49,7 @@
} else
btnNum = 1;
-@@ -3456,7 +3456,7 @@ static int listDialogMS(WindowInfo *wind
+@@ -3456,7 +3457,7 @@ static int listDialogMS(WindowInfo *wind
for (i=1; i<nBtns; i++) {
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
XmNlabelString, s1=XmStringCreateSimple(btnLabels[i]),
@@ -50,7 +58,7 @@
XtAddCallback(btn, XmNactivateCallback, listDialogBtnCB, window);
XmStringFree(s1);
}
-@@ -3536,7 +3536,7 @@ static void listDialogBtnCB(Widget w, Xt
+@@ -3536,7 +3537,7 @@ static void listDialogBtnCB(Widget w, Xt
returned in w. */
if (XtClass(w) == xmPushButtonWidgetClass) {
XtVaGetValues(w, XmNuserData, &userData, NULL);
Index: editors/nedit/patches/patch-source_menu.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_menu.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_menu.c
--- editors/nedit/patches/patch-source_menu.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_menu.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Call XtVaGetValues correctly.
---- source/menu.c~ 2004-09-15 22:50:57.000000000 +0000
+--- source/menu.c.orig 2004-09-15 22:50:57.000000000 +0000
+++ source/menu.c
@@ -1242,7 +1242,7 @@ static Widget makeHelpMenuItem(
Widget menuItem =
Index: editors/nedit/patches/patch-source_parse.y
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_parse.y,v
retrieving revision 1.1
diff -u -r1.1 patch-source_parse.y
--- editors/nedit/patches/patch-source_parse.y 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_parse.y 21 Mar 2014 19:24:46 -0000
@@ -2,9 +2,17 @@
Silence gcc warnings about unsafe pointer casts.
---- source/parse.y~ 2003-12-19 23:23:31.000000000 +0000
+--- source/parse.y.orig 2003-12-19 23:23:31.000000000 +0000
+++ source/parse.y
-@@ -178,69 +178,69 @@ simpstmt: SYMBOL '=' expr {
+@@ -14,6 +14,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <ctype.h>
++#include <stdint.h>
+ #include <X11/Intrinsic.h>
+ #include <Xm/Xm.h>
+ #ifdef VMS
+@@ -178,69 +179,69 @@ simpstmt: SYMBOL '=' expr {
ADD_OP(OP_BIT_OR); ADD_OP(OP_ASSIGN); ADD_SYM($1);
}
| DELETE arraylv '[' arglist ']' {
@@ -99,7 +107,7 @@
}
| INCR SYMBOL {
ADD_OP(OP_PUSH_SYM); ADD_SYM($2); ADD_OP(OP_INCR);
-@@ -289,17 +289,17 @@ expr: numexpr %prec CONCAT
+@@ -289,17 +290,17 @@ expr: numexpr %prec CONCAT
}
;
initarraylv: SYMBOL {
@@ -121,7 +129,7 @@
}
;
arrayexpr: numexpr {
-@@ -317,7 +317,7 @@ numexpr: NUMBER {
+@@ -317,7 +318,7 @@ numexpr: NUMBER {
}
| SYMBOL '(' arglist ')' {
ADD_OP(OP_SUBR_CALL);
@@ -130,7 +138,7 @@
ADD_OP(OP_FETCH_RET_VAL);
}
| '(' expr ')'
-@@ -331,7 +331,7 @@ numexpr: NUMBER {
+@@ -331,7 +332,7 @@ numexpr: NUMBER {
ADD_OP(OP_PUSH_ARG_ARRAY);
}
| numexpr '[' arglist ']' {
Index: editors/nedit/patches/patch-source_preferences.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_preferences.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_preferences.c
--- editors/nedit/patches/patch-source_preferences.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_preferences.c 21 Mar 2014 19:24:46
-0000
@@ -2,9 +2,17 @@
Silence gcc warnings about unsafe pointer casts.
---- source/preferences.c~ 2004-08-20 19:33:20.000000000 +0000
+--- source/preferences.c.orig 2004-08-20 19:33:20.000000000 +0000
+++ source/preferences.c
-@@ -2161,7 +2161,7 @@ void SetLanguageMode(WindowInfo *window,
+@@ -59,6 +59,7 @@ static const char CVSID[] = "$Id: prefer
+ #include <string.h>
+ #include <stdio.h>
+ #include <ctype.h>
++#include <stdint.h>
+ #ifdef VMS
+ #include "../util/VMSparam.h"
+ #else
+@@ -2161,7 +2162,7 @@ void SetLanguageMode(WindowInfo *window,
XtVaGetValues(menu, XmNchildren, &items, XmNnumChildren, &nItems, NULL);
for (n=0; n<(int)nItems; n++) {
XtVaGetValues(items[n], XmNuserData, &userData, NULL);
@@ -13,7 +21,7 @@
}
}
}
-@@ -4946,7 +4946,7 @@ static void updateLanguageModeSubmenu(Wi
+@@ -4946,7 +4947,7 @@ static void updateLanguageModeSubmenu(Wi
xmToggleButtonGadgetClass, menu,
XmNlabelString, s1=XmStringCreateSimple(LanguageModes[i]->name),
XmNmarginHeight, 0,
@@ -22,7 +30,7 @@
XmNset, window->languageMode==i, NULL);
XmStringFree(s1);
XtAddCallback(btn, XmNvalueChangedCallback, setLangModeCB, window);
-@@ -4967,14 +4967,14 @@ static void setLangModeCB(Widget w, XtPo
+@@ -4967,14 +4968,14 @@ static void setLangModeCB(Widget w, XtPo
XtVaGetValues(w, XmNuserData, &mode, NULL);
/* If the mode didn't change, do nothing */
Index: editors/nedit/patches/patch-source_regularExp.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_regularExp.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_regularExp.c
--- editors/nedit/patches/patch-source_regularExp.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_regularExp.c 21 Mar 2014 19:24:46
-0000
@@ -2,7 +2,7 @@
Don't use NULL as an integer constant.
---- source/regularExp.c~ 2004-08-20 16:37:30.000000000 +0000
+--- source/regularExp.c.orig 2004-08-20 16:37:30.000000000 +0000
+++ source/regularExp.c
@@ -4092,7 +4092,7 @@ static unsigned char * makeDelimiterTabl
table [*c] = 1;
Index: editors/nedit/patches/patch-source_search.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_search.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_search.c
--- editors/nedit/patches/patch-source_search.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_search.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Call XtVaGetValues correctly.
---- source/search.c~ 2004-08-01 10:06:11.000000000 +0000
+--- source/search.c.orig 2004-08-01 10:06:11.000000000 +0000
+++ source/search.c
@@ -1042,7 +1042,7 @@ void CreateReplaceDlog(Widget parent, Wi
XtAddCallback(replaceBtn, XmNactivateCallback, (XtCallbackProc)replaceCB,
window);
Index: editors/nedit/patches/patch-source_selection.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_selection.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_selection.c
--- editors/nedit/patches/patch-source_selection.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_selection.c 21 Mar 2014 19:24:46
-0000
@@ -2,9 +2,9 @@
Call <ctype.h> functions correctly.
---- source/selection.c~ 2004-08-01 10:06:11.000000000 +0000
+--- source/selection.c.orig 2004-08-01 10:06:11.000000000 +0000
+++ source/selection.c
-@@ -563,7 +563,7 @@ void AddMark(WindowInfo *window, Widget
+@@ -563,7 +563,7 @@ void AddMark(WindowInfo *window, Widget
/* look for a matching mark to re-use, or advance
nMarks to create a new one */
Index: editors/nedit/patches/patch-source_shell.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_shell.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_shell.c
--- editors/nedit/patches/patch-source_shell.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_shell.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Avoid nasal demons if fork fails.
---- source/shell.c~ 2004-09-02 08:49:56.000000000 +0000
+--- source/shell.c.orig 2004-09-02 08:49:56.000000000 +0000
+++ source/shell.c
@@ -505,6 +505,14 @@ static void issueCommand(WindowInfo *win
/* fork the subprocess and issue the command */
Index: editors/nedit/patches/patch-source_tags.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_tags.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_tags.c
--- editors/nedit/patches/patch-source_tags.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_tags.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Silence gcc 4.5 warnings about uninitialized variables.
---- source/tags.c~ 2004-08-01 10:06:11.000000000 +0000
+--- source/tags.c.orig 2004-08-01 10:06:11.000000000 +0000
+++ source/tags.c
@@ -1945,6 +1945,10 @@ static int loadTipsFile(const char *tips
int nTipsAdded=0, langMode = PLAIN_LANGUAGE_MODE, oldLangMode;
Index: editors/nedit/patches/patch-source_text.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_text.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_text.c
--- editors/nedit/patches/patch-source_text.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_text.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Call XtVaGetValues correctly.
---- source/text.c~ 2004-07-28 18:02:03.000000000 +0000
+--- source/text.c.orig 2004-07-28 18:02:03.000000000 +0000
+++ source/text.c
@@ -3126,7 +3126,7 @@ static void pageRightAP(Widget w, XEvent
cancelDrag(w);
Index: editors/nedit/patches/patch-source_textBuf.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_textBuf.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_textBuf.c
--- editors/nedit/patches/patch-source_textBuf.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_textBuf.c 21 Mar 2014 19:24:46
-0000
@@ -2,9 +2,9 @@
Silence gcc 4.5 warnings about uninitialized variables.
---- source/textBuf.c~ 2004-07-21 11:32:05.000000000 +0000
+--- source/textBuf.c.orig 2004-07-21 11:32:05.000000000 +0000
+++ source/textBuf.c
-@@ -1592,6 +1592,9 @@ static void deleteRect(textBuffer *buf,
+@@ -1592,6 +1592,9 @@ static void deleteRect(textBuffer *buf,
{
int nLines, lineStart, lineEnd, len, endOffset;
char *outStr, *outPtr, *line, *text, *expText;
Index: editors/nedit/patches/patch-source_textDisp.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_textDisp.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_textDisp.c
--- editors/nedit/patches/patch-source_textDisp.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_textDisp.c 21 Mar 2014 19:24:46
-0000
@@ -2,7 +2,7 @@
Silence gcc 4.5 warnings about uninitialized variables.
---- source/textDisp.c~ 2004-07-21 11:32:05.000000000 +0000
+--- source/textDisp.c.orig 2004-07-21 11:32:05.000000000 +0000
+++ source/textDisp.c
@@ -1502,6 +1502,9 @@ static void bufModifiedCB(int pos, int n
int oldFirstChar = textD->firstChar;
Index: editors/nedit/patches/patch-source_textDrag.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_textDrag.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_textDrag.c
--- editors/nedit/patches/patch-source_textDrag.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_textDrag.c 21 Mar 2014 19:24:46
-0000
@@ -2,7 +2,7 @@
Silence gcc 4.5 warnings about uninitialized variables.
---- source/textDrag.c~ 2004-07-21 11:32:05.000000000 +0000
+--- source/textDrag.c.orig 2004-07-21 11:32:05.000000000 +0000
+++ source/textDrag.c
@@ -188,6 +188,10 @@ void BlockDragSelection(TextWidget tw, i
if (tw->text.dragState != PRIMARY_BLOCK_DRAG)
Index: editors/nedit/patches/patch-source_userCmds.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_userCmds.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_userCmds.c
--- editors/nedit/patches/patch-source_userCmds.c 28 Apr 2013 20:35:22
-0000 1.1
+++ editors/nedit/patches/patch-source_userCmds.c 21 Mar 2014 19:24:46
-0000
@@ -3,9 +3,17 @@
Silence gcc warnings about unsafe pointer casts.
Call <ctype.h> functions correctly.
---- source/userCmds.c~ 2004-09-02 08:50:38.000000000 +0000
+--- source/userCmds.c.orig 2004-09-02 08:50:38.000000000 +0000
+++ source/userCmds.c
-@@ -1116,7 +1116,7 @@ static void dimSelDepItemsInMenu(Widget
+@@ -51,6 +51,7 @@ static const char CVSID[] = "$Id: userCm
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <stdint.h>
+ #ifdef VMS
+ #include "../util/VMSparam.h"
+ #else
+@@ -1116,7 +1117,7 @@ static void dimSelDepItemsInMenu(Widget
XtVaGetValues(items[n], XmNsubMenuId, &subMenu, NULL);
dimSelDepItemsInMenu(subMenu, menuList, nMenuItems, sensitive);
} else {
@@ -14,7 +22,7 @@
if (index <0 || index >= nMenuItems)
return;
if (menuList[index]->input == FROM_SELECTION)
-@@ -2864,7 +2864,7 @@ static void generateAcceleratorString(ch
+@@ -2864,7 +2865,7 @@ static void generateAcceleratorString(ch
/* for a consistent look to the accelerator names in the menus,
capitalize the first letter of the keysym */
strcpy(keyName, XKeysymToString(keysym));
@@ -23,7 +31,7 @@
/* concatenate the strings together */
sprintf(text, "%s%s%s%s%s%s%s%s", shiftStr, ctrlStr, altStr,
-@@ -2946,7 +2946,7 @@ static int parseAcceleratorString(const
+@@ -2946,7 +2947,7 @@ static int parseAcceleratorString(const
of the keysyms are "prettied up" by generateAcceleratorString */
*keysym = XStringToKeysym(fields[nFields-1]);
if (*keysym == NoSymbol) {
Index: editors/nedit/patches/patch-source_window.c
===================================================================
RCS file: /cvsroot/pkgsrc/editors/nedit/patches/patch-source_window.c,v
retrieving revision 1.1
diff -u -r1.1 patch-source_window.c
--- editors/nedit/patches/patch-source_window.c 28 Apr 2013 20:35:22 -0000
1.1
+++ editors/nedit/patches/patch-source_window.c 21 Mar 2014 19:24:46 -0000
@@ -2,7 +2,7 @@
Call XtVaSetValues correctly.
---- source/window.c~ 2004-09-15 22:50:58.000000000 +0000
+--- source/window.c.orig 2004-09-15 22:50:58.000000000 +0000
+++ source/window.c
@@ -1157,7 +1157,7 @@ void SplitPane(WindowInfo *window)
if (window->backlightChars)
Home |
Main Index |
Thread Index |
Old Index