[med-svn] r17219 - trunk/packages/imagevis3d/trunk/debian/patches
Mathieu Malaterre
malat at moszumanska.debian.org
Wed Jun 18 15:22:25 UTC 2014
Author: malat
Date: 2014-06-18 15:22:25 +0000 (Wed, 18 Jun 2014)
New Revision: 17219
Removed:
trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch
Log:
remove old patch
Deleted: trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch 2014-06-18 14:48:29 UTC (rev 17218)
+++ trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch 2014-06-18 15:22:25 UTC (rev 17219)
@@ -1,34 +0,0 @@
-Description: Allow compilation on kfreebsd
- According to
- http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fadvise.html
-
- "The posix_fadvise() function is part of the Advisory Information option
- and need not be provided on all implementations."
-
- Please guard usage by POSIX_FADV_WILLNEED, not by POSIX version.
-Forwarded: not-needed
-Author: Petr Salinger <Petr.Salinger at seznam.cz>
-Bug: http://bugs.debian.org/697015
-
-Index: imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/Basics/LargeFileFD.cpp 2013-09-05 16:59:27.478641175 +0200
-+++ imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp 2013-09-05 16:59:42.038641165 +0200
-@@ -75,7 +75,7 @@
- if(lseek(this->fd, offset+this->header_size, SEEK_SET) < 0) {
- throw std::ios_base::failure("could not seek to correct file position.");
- }
--#if _POSIX_C_SOURCE >= 200112L
-+#ifdef POSIX_FADV_WILLNEED
- posix_fadvise(this->fd, offset+this->header_size, len, POSIX_FADV_WILLNEED);
- #endif
-
-@@ -126,7 +126,7 @@
- void LargeFileFD::enqueue(uint64_t offset, size_t len)
- {
- if(len == 0) { return; }
--#if _POSIX_C_SOURCE >= 200112L
-+#ifdef POSIX_FADV_WILLNEED
- int adv = posix_fadvise(this->fd, offset, len, POSIX_FADV_WILLNEED);
- // this should basically always succeed. the only way it can fail is if we
- // gave it a bogus FD or something. if that's the case, that points to
More information about the debian-med-commit
mailing list