diff options
author | dmcmahill <dmcmahill> | 2002-05-31 19:56:19 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-05-31 19:56:19 +0000 |
commit | 797c373e337d81193567e3aa0f4875d411b52d31 (patch) | |
tree | bf8aaf8ce3bfd357181e5cc7f0418b0545dfac08 /cad/pcb/patches/patch-ah | |
parent | ea22ba69e00f6be2419d64c8060643cac15bc69c (diff) | |
download | pkgsrc-797c373e337d81193567e3aa0f4875d411b52d31.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-ah')
-rw-r--r-- | cad/pcb/patches/patch-ah | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/pcb/patches/patch-ah b/cad/pcb/patches/patch-ah new file mode 100644 index 00000000000..687b496d73a --- /dev/null +++ b/cad/pcb/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $ + +--- src/misc.c.orig Wed May 13 06:29:49 1998 ++++ src/misc.c +@@ -1066,7 +1066,7 @@ + { + static char path[MAXPATHLEN+1]; + +-#if defined(SYSV) || defined(linux) ++#if defined(SYSV) || defined(linux) || defined(__NetBSD__) + return(getcwd(path, MAXPATHLEN)); + #else + /* seems that some BSD releases lack of a prototype for getwd() */ |