diff options
Diffstat (limited to 'cad/pcb/patches/patch-af')
-rw-r--r-- | cad/pcb/patches/patch-af | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/cad/pcb/patches/patch-af b/cad/pcb/patches/patch-af new file mode 100644 index 00000000000..ce00a416fd8 --- /dev/null +++ b/cad/pcb/patches/patch-af @@ -0,0 +1,40 @@ +$NetBSD: patch-af,v 1.1 2002/05/31 19:56:20 dmcmahill Exp $ + +--- src/control.c.orig Wed May 13 06:29:41 1998 ++++ src/control.c +@@ -153,7 +153,7 @@ + static void AddDrawingLayerSelection(Widget Parent) + { + static char name[MAX_LAYER][20]; +- int i; ++ long int i; + Widget label; + Pixel background; + +@@ -191,7 +191,7 @@ + { + static char name[MAX_LAYER+4][20]; + Widget last; +- int i; ++ long int i; + char *text; + Pixel color; + +@@ -392,7 +392,7 @@ + static void CB_SetDrawingLayer(Widget W, + XtPointer ClientData, XtPointer CallData) + { +- ChangeGroupVisibility((int) ClientData, True, True); ++ ChangeGroupVisibility((long int) ClientData, True, True); + XtVaSetValues(DrawingLayerMenuButton.W, + XtNlabel, UNKNOWN(CURRENT->Name), + XtNbackground, CURRENT->Color, +@@ -406,7 +406,7 @@ + static void CB_SetOnOff(Widget W, XtPointer ClientData, XtPointer CallData) + { + Boolean state; +- int layer = (int) ClientData; ++ long int layer = (long int) ClientData; + + /* get new state of widget */ + XtVaGetValues(W, XtNstate, &state, NULL); |