Source: handbrake Version: 0.9.8+dfsg1-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, while most of the porting job needed for non-Linux archs has been done with handbrake 0.9.8+dfsg1-1~19.gbpc8b9ba (thanks!), there are still few missing bits to make it compile on GNU/Hurd. The attached patch provides the needed changes: - libhb/module.defs: define SYS_HURD and the largefile macros - libhb/ports.h: define HB_LOW_PRIORITY and HB_NORMAL_PRIORITY This patch, together with the change already provided in patch 0004 [1], makes handbrake compile on GNU/Hurd. [1] 0004-Enable-compilation-on-Debian-arches-other-than-Linux.patch Thanks, -- Pino
--- a/libhb/module.defs +++ b/libhb/module.defs @@ -52,6 +52,8 @@ else ifeq ($(BUILD.system),mingw) LIBHB.GCC.args.extra.dylib++ += -Wl,--enable-auto-import -static else ifeq ($(BUILD.system),solaris) LIBHB.GCC.D += SYS_SunOS _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 +else ifeq ($(BUILD.system),gnu) + LIBHB.GCC.D += SYS_HURD _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 else LIBHB.platform.D = SYS_UNKNOWN endif --- a/libhb/ports.h +++ b/libhb/ports.h @@ -51,7 +51,7 @@ typedef struct hb_thread_s hb_thread_t; #elif defined( SYS_DARWIN ) # define HB_LOW_PRIORITY 0 # define HB_NORMAL_PRIORITY 31 -#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS ) || defined ( __FreeBSD_kernel__ ) +#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS ) || defined ( SYS_HURD ) || defined ( __FreeBSD_kernel__ ) # define HB_LOW_PRIORITY 0 # define HB_NORMAL_PRIORITY 0 #elif defined( SYS_CYGWIN )
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers