[Pkg-phototools-commits] [SCM] openimageio branch, master, updated. upstream/1.1.2+dfsg0-87-gfde3106

Matteo F. Vescovi mfv.debian at gmail.com
Fri Dec 21 15:42:42 UTC 2012


The following commit has been merged in the master branch:
commit 25a7e72c394a68f6bfe0acb3c69c2fc8f15841f2
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Fri Dec 21 16:29:46 2012 +0100

    debian/patches/: #0002 patch dropped (applied upstream)

diff --git a/debian/patches/0002-Fix_FTBFS_on_Hurd.patch b/debian/patches/0002-Fix_FTBFS_on_Hurd.patch
deleted file mode 100644
index d6ad092..0000000
--- a/debian/patches/0002-Fix_FTBFS_on_Hurd.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From: "Matteo F. Vescovi" <mfv.debian at gmail.com>
-Date: Sun, 20 May 2012 15:33:57 +0200
-Subject: Fix_FTBFS_on_Hurd
-
----
- src/iv/ivmain.cpp       |    2 +-
- src/libutil/sysutil.cpp |    9 ++++++++-
- 2 files changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/src/iv/ivmain.cpp b/src/iv/ivmain.cpp
-index 9c9e21e..2c9e06d 100644
---- a/src/iv/ivmain.cpp
-+++ b/src/iv/ivmain.cpp
-@@ -127,7 +127,7 @@ put_in_background (int, char* [])
-     // But it suffers from the same problem on OS X, and seems to just be
-     // a wrapper for fork.
- 
--#ifdef __linux
-+#if defined(__linux__) || defined(__GLIBC__)
-     // Simplest case:
-     daemon (1, 1);
-     return true;
-diff --git a/src/libutil/sysutil.cpp b/src/libutil/sysutil.cpp
-index 3a24c24..9d88cb6 100644
---- a/src/libutil/sysutil.cpp
-+++ b/src/libutil/sysutil.cpp
-@@ -63,6 +63,11 @@
- # include <sys/resource.h>
- #endif
- 
-+#ifdef __GNU__
-+# include <unistd.h>
-+# include <sys/ioctl.h>
-+#endif
-+
- #include "dassert.h"
- 
- #include "sysutil.h"
-@@ -165,6 +170,8 @@ Sysutil::this_program_path ()
-     size_t cb = sizeof(filename);
-     int r=1;
-     sysctl(mib, 4, filename, &cb, NULL, 0);
-+#elif defined(__GNU__)
-+    int r = 0;
- #else
-     // No idea what platform this is
-     ASSERT (0);
-@@ -194,7 +201,7 @@ Sysutil::terminal_columns ()
- {
-     int columns = 80;   // a decent guess, if we have nothing more to go on
- 
--#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
-     struct winsize w;
-     ioctl (0, TIOCGWINSZ, &w);
-     columns = w.ws_col;
diff --git a/debian/patches/series b/debian/patches/series
index 617c065..f1e5cac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 0001-Fix_docs_generation.patch
-0002-Fix_FTBFS_on_Hurd.patch

-- 
OpenImageIO packaging



More information about the Pkg-phototools-commits mailing list