diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-09-15 09:03:50 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-09-15 09:03:50 +0000 |
commit | 59becf563730208208b47695498d8c94010dee00 (patch) | |
tree | fd4e5760620c00071032b29f4216a7953427c351 /sysutils | |
parent | 742fb5268ba8d0220535d8cc8a5dd1818f360e5d (diff) | |
download | pkgsrc-59becf563730208208b47695498d8c94010dee00.tar.gz |
Fix build failure on Linux, tested on SL-6.2
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xosview/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xosview/patches/patch-linux_lmstemp.cc | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo index 43606daf30a..e0623b975ba 100644 --- a/sysutils/xosview/distinfo +++ b/sysutils/xosview/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2012/03/07 16:14:40 hans Exp $ +$NetBSD: distinfo,v 1.25 2012/09/15 09:03:50 cheusov Exp $ SHA1 (xosview-1.8.3.tar.gz) = 420fd0620ff9fb9ba83fc833eeb8b872414e377e RMD160 (xosview-1.8.3.tar.gz) = 595e812dee686ccaa5d95eb537782679d752271b @@ -9,4 +9,5 @@ SHA1 (patch-ac) = 3e9073c4ccd7e08d29a76b08f2ed0c7f9f9d9ede SHA1 (patch-ad) = 02ae8395e200e5cbf8d6339eced33fe5aa421d38 SHA1 (patch-ae) = 6ff69eeffd40ec4ee3686f2069fd46853f346fff SHA1 (patch-af) = c556f02c7d8297968a78eb087f413f9472371c54 +SHA1 (patch-linux_lmstemp.cc) = d46c27884963901d0e5f5bed7cc880dc7fddc01c SHA1 (patch-sunos5_diskmeter.cc) = 99e119cb645c9982f2a116950ac2ffe84eeff1d4 diff --git a/sysutils/xosview/patches/patch-linux_lmstemp.cc b/sysutils/xosview/patches/patch-linux_lmstemp.cc new file mode 100644 index 00000000000..d766591e169 --- /dev/null +++ b/sysutils/xosview/patches/patch-linux_lmstemp.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-linux_lmstemp.cc,v 1.1 2012/09/15 09:03:50 cheusov Exp $ +Fix build failure on Linux +--- linux/lmstemp.cc.orig 2006-02-18 05:13:07.000000000 +0000 ++++ linux/lmstemp.cc +@@ -29,7 +29,7 @@ LmsTemp::LmsTemp( XOSView *parent, const + << std::endl; + parent_->done(1); + } +- char *p; ++ const char *p; + if ((p = strrchr(caption,'/')) != 0) + _highest = atoi(p+1); + else |