Package: openexr
Severity: important
Hi,
since ECANCELED and ENOTSUP have the same value on hurd-i386, the build
fails with:
> IexThrowErrnoExc.cpp: In function 'void Iex::throwErrnoExc(const
> std::string&, int)':
> IexThrowErrnoExc.cpp:720: error: duplicate case value
> IexThrowErrnoExc.cpp:679: error: previously used here
Build logs are available:
http://experimental.ftbfs.de/build.php?&pkg=openexr&ver=1.2.2-4.1&arch=hurd-i386
I attached a patch which fixed this, and I also checked that it doesn't
break the build on Linux (i386).
Cheers,
--
Cyril Brulebois
--- openexr-1.2.2~/Iex/IexThrowErrnoExc.cpp 2006-10-30 01:14:10.814910552
+0000
+++ openexr-1.2.2/Iex/IexThrowErrnoExc.cpp 2006-10-30 01:14:52.747535824
+0000
@@ -676,8 +676,10 @@
#endif
#if defined (ECANCELED)
+ #if not defined(ENOTSUP) || (ENOTSUP!=ECANCELED)
case ECANCELED:
throw EcanceledExc (tmp);
+ #endif
#endif
#if defined (ENOLIMFILE)