diff options
author | dmcmahill <dmcmahill> | 2002-05-31 19:56:19 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-05-31 19:56:19 +0000 |
commit | 0d8f4985cd20127cfd88468c93598deb41b11e5c (patch) | |
tree | bf8aaf8ce3bfd357181e5cc7f0418b0545dfac08 /cad/pcb/patches/patch-ao | |
parent | 0755eb683902bf25372cce2b917a59b754af6099 (diff) | |
download | pkgsrc-0d8f4985cd20127cfd88468c93598deb41b11e5c.tar.gz |
- use getcwd() instead of getwd().
- remove all compiler warnings on alpha
- add ${PKG_SYSCONFDIR}/pcb/local.inc where admins can list site specific
libraries to be included instead of modifying one of the regularly
installed/deinstalled files. This way a local config is preserved when
the pkg is upgraded. Also a local config can be applied without modifying
one of the files which is checksummed during the install.
Diffstat (limited to 'cad/pcb/patches/patch-ao')
-rw-r--r-- | cad/pcb/patches/patch-ao | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cad/pcb/patches/patch-ao b/cad/pcb/patches/patch-ao new file mode 100644 index 00000000000..79b8c64f7e9 --- /dev/null +++ b/cad/pcb/patches/patch-ao @@ -0,0 +1,31 @@ +$NetBSD: patch-ao,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $ + +--- src/sizedialog.c.orig Wed May 13 06:29:59 1998 ++++ src/sizedialog.c +@@ -87,7 +87,7 @@ + /* --------------------------------------------------------------------------- + * some local identifiers + */ +-static int ReturnCode; /* returncode of buttons */ ++static long int ReturnCode; /* returncode of buttons */ + static SliderType Sliders[] = { + { "linewidth", MIN_LINESIZE, MAX_LINESIZE, CHUNK, 0, NULL, NULL }, + { "via hole", MIN_PINORVIAHOLE, 0, CHUNK, 0, NULL, NULL }, +@@ -180,7 +180,7 @@ + */ + static void CB_CancelOrOK(Widget W, XtPointer ClientData, XtPointer CallData) + { +- ReturnCode = (int) ClientData; ++ ReturnCode = (long int) ClientData; + } + + /* --------------------------------------------------------------------------- +@@ -190,7 +190,7 @@ + */ + static void CB_ScrollProc(Widget W, XtPointer ClientData, XtPointer CallData) + { +- int delta = (int) CallData; ++ long int delta = (long int) CallData; + SliderTypePtr slider = (SliderTypePtr) ClientData; + + UpdateScrollbar(slider, |