diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-10-14 13:41:18 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-10-14 13:41:18 +0000 |
commit | 511bad9fb794afca69d505a6e910c6924e6c9d54 (patch) | |
tree | 0aef0e5bfd11912b35a1dc810c6dd65163ef8b03 /emulators | |
parent | 7eae7bc5a714abcd08903ee2083080781a62d54f (diff) | |
download | pkgsrc-511bad9fb794afca69d505a6e910c6924e6c9d54.tar.gz |
Fix non-BSD build
* Fix typo in variable name.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/hercules/distinfo | 4 | ||||
-rw-r--r-- | emulators/hercules/patches/patch-tapecopy.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emulators/hercules/distinfo b/emulators/hercules/distinfo index b3d5eb46ceb..57ffbadf909 100644 --- a/emulators/hercules/distinfo +++ b/emulators/hercules/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2012/03/25 05:27:43 ryoon Exp $ +$NetBSD: distinfo,v 1.14 2013/10/14 13:41:18 ryoon Exp $ SHA1 (hercules-3.07.tar.gz) = d0b2e543dd66ee43576e5a5faff8f4cc061cffb4 RMD160 (hercules-3.07.tar.gz) = 241344a3242a1dacc5276dd61b7fa4c92a270f71 @@ -12,5 +12,5 @@ SHA1 (patch-hercifc.h) = 29674ad8f23f69032248098647811e30438c2e98 SHA1 (patch-hostopts.h) = f99dbfa7aed8b9e72ec82f32615ac4e3d1900ef9 SHA1 (patch-hstructs.h) = 8680a7c4c0e6a1f3921a3fa8fce32010deb1768d SHA1 (patch-scsitape.c) = ecdbc3c83ea30bee55d747016671182c07c3aaad -SHA1 (patch-tapecopy.c) = 8e73edd56f3b1627a41e39ef75aaa79efe13003e +SHA1 (patch-tapecopy.c) = c10405202c6525057b88f7aaffe964be630558da SHA1 (patch-tapedev.h) = f58aada65a902fa90def655bc78151c8045d3f9d diff --git a/emulators/hercules/patches/patch-tapecopy.c b/emulators/hercules/patches/patch-tapecopy.c index 126fc7d7a90..bdb93456c86 100644 --- a/emulators/hercules/patches/patch-tapecopy.c +++ b/emulators/hercules/patches/patch-tapecopy.c @@ -1,4 +1,4 @@ -$NetBSD: patch-tapecopy.c,v 1.1 2011/05/01 23:28:59 ryoon Exp $ +$NetBSD: patch-tapecopy.c,v 1.2 2013/10/14 13:41:18 ryoon Exp $ --- tapecopy.c.orig 2010-01-08 22:56:27.000000000 +0000 +++ tapecopy.c @@ -14,7 +14,7 @@ $NetBSD: patch-tapecopy.c,v 1.1 2011/05/01 23:28:59 ryoon Exp $ +#if (defined(BSD) && BSD >= 199306) + gstat = (mtget->mt_dsreg << 16) | mtget->mt_erreg; +#else -+ gtat = mtget->mt_gstat; ++ gstat = mtget->mt_gstat; +#endif if (1 && EIO == errno |