diff options
author | joerg <joerg> | 2012-05-04 16:19:37 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-05-04 16:19:37 +0000 |
commit | 1b5c098faa3565edc266f46ab1f837abbe8a4491 (patch) | |
tree | bdae53c2e3abf64a4b887928b980e10f1251f56e /ham | |
parent | dd45aa72572ddd0f7e55513f8b83153d2b90e76d (diff) | |
download | pkgsrc-1b5c098faa3565edc266f46ab1f837abbe8a4491.tar.gz |
Fix main().
Diffstat (limited to 'ham')
-rw-r--r-- | ham/locator/distinfo | 4 | ||||
-rw-r--r-- | ham/locator/patches/patch-locator.cc | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/ham/locator/distinfo b/ham/locator/distinfo index 686c7cab6e8..8a64a7768c5 100644 --- a/ham/locator/distinfo +++ b/ham/locator/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2011/07/20 12:23:01 obache Exp $ +$NetBSD: distinfo,v 1.6 2012/05/04 16:19:37 joerg Exp $ SHA1 (locator-0.1.tar.gz) = a7c6efe6b10df583b473e673f9332c1ddfd424ea RMD160 (locator-0.1.tar.gz) = 5d50e54318d88437fbfd76c51fa5b5052cf732d7 Size (locator-0.1.tar.gz) = 2555 bytes SHA1 (patch-aa) = 810c0ec364beeb0d399907fbfdf8f887b091bf6c -SHA1 (patch-locator.cc) = 7a758876c9771a094002cc26ea2d6e67d058a0a5 +SHA1 (patch-locator.cc) = 10101d147bb3ec6e1adabb6c3a9ad2e27d138a66 diff --git a/ham/locator/patches/patch-locator.cc b/ham/locator/patches/patch-locator.cc index 1f32890fa1b..f9e0ce8c3e8 100644 --- a/ham/locator/patches/patch-locator.cc +++ b/ham/locator/patches/patch-locator.cc @@ -1,10 +1,8 @@ -$NetBSD: patch-locator.cc,v 1.1 2011/07/20 12:23:01 obache Exp $ - -* modern C++ style +$NetBSD: patch-locator.cc,v 1.2 2012/05/04 16:19:37 joerg Exp $ --- locator.cc.orig 2001-07-29 11:33:02.000000000 +0000 +++ locator.cc -@@ -3,10 +3,12 @@ +@@ -3,15 +3,17 @@ /* Last change 29.07.2001 */ /* A few includes */ @@ -18,3 +16,9 @@ $NetBSD: patch-locator.cc,v 1.1 2011/07/20 12:23:01 obache Exp $ /* A few definitions */ #define VERSION "0.1" + /* Main program */ +-main(int argc, char *argv[]) { ++int main(int argc, char *argv[]) { + float c_long, c_lat; + char *locator; + |