View | Details | Raw Unified | Return to bug 222118 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	handbrake
4
PORTNAME=	handbrake
5
PORTVERSION=	1.0.7
5
PORTVERSION=	1.0.7
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	multimedia
7
CATEGORIES=	multimedia
8
DIST_SUBDIR=	${PORTNAME}
8
DIST_SUBDIR=	${PORTNAME}
9
9
Lines 57-63 Link Here
57
.endif
57
.endif
58
58
59
GNU_CONFIGURE=	yes
59
GNU_CONFIGURE=	yes
60
USE_GCC=	yes
60
USE_GCC=	4.9
61
USES=		autoreconf:build compiler:features gmake iconv \
61
USES=		autoreconf:build compiler:features gmake iconv \
62
		libtool:build localbase:ldflags pkgconfig python:build
62
		libtool:build localbase:ldflags pkgconfig python:build
63
MAKE_ENV=	V=1 ACLOCAL=${LOCALBASE}/bin/aclocal
63
MAKE_ENV=	V=1 ACLOCAL=${LOCALBASE}/bin/aclocal
(-)files/patch-contrib_libbluray_A02-expose-clip__id.patch (-18 lines)
Lines 1-18 Link Here
1
--- contrib/libbluray/A02-expose-clip_id.patch.orig     2017-02-25
2
20:56:19 UTC
3
+++ contrib/libbluray/A02-expose-clip_id.patch
4
@@ -35,3 +35,14 @@ index 3cd7118..177b3d4 100644
5
 --
6
 2.5.5
7
8
+--- a/Makefile.in.orig 2017-03-25 19:30:14 UTC
9
++++ b/Makefile.in      2017-03-25 19:30:36 UTC
10
+@@ -772,7 +772,7 @@
11
+ MOSTLYCLEANFILES = $(DX_CLEANFILES)
12
+ @ENABLE_UDF_FALSE@POSIX_C_SOURCE = 200112L
13
+ @ENABLE_UDF_TRUE@POSIX_C_SOURCE = 200809L
14
+-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT
15
++SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT -D_XOPEN_SOURCE=700
16
+ SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS)
17
+ AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) \
18
+       $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS) \
(-)files/patch-contrib_libbluray_module.defs (+10 lines)
Line 0 Link Here
1
--- contrib/libbluray/module.defs.orig	2017-04-09 20:24:50 UTC
2
+++ contrib/libbluray/module.defs
3
@@ -25,3 +25,7 @@ endif
4
 ifeq (mingw,$(BUILD.system))
5
     LIBBLURAY.GCC.D += MINGW_HAS_SECURE_API=1
6
 endif
7
+
8
+ifeq (freebsd,$(BUILD.system))
9
+    LIBBLURAY.GCC.D += _XOPEN_SOURCE=700
10
+endif

Return to bug 222118