Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

6
multimedia/mlt/DESCR Normal file
View File

@@ -0,0 +1,6 @@
MLT is an open source multimedia framework, designed and developed
for television broadcasting. It provides a toolkit for broadcasters,
video editors, media players, transcoders, web streamers and many
more types of applications. The functionality of the system is
provided via an assortment of ready to use tools, XML authoring
components, and an extensible plug-in based API.

33
multimedia/mlt/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.27 2013/06/06 12:54:52 wiz Exp $
DISTNAME= mlt-0.8.6
PKGREVISION= 9
CATEGORIES= multimedia
MASTER_SITES= http://downloads.sourceforge.net/project/mlt/mlt/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mltframework.org/twiki/bin/view/MLT/
COMMENT= Open source multimedia framework
LICENSE= gnu-gpl-v2
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-gpl
PKGCONFIG_OVERRIDE+= mlt-0.8.6/mlt++.pc.in
PKGCONFIG_OVERRIDE+= mlt-0.8.6/mlt-framework.pc.in
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../multimedia/libdv/buildlink3.mk"
.include "../../multimedia/swfdec/buildlink3.mk"
.include "../../multimedia/xine-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

368
multimedia/mlt/PLIST Normal file
View File

@@ -0,0 +1,368 @@
@comment $NetBSD: PLIST,v 1.2 2012/11/21 22:24:27 abs Exp $
bin/melt
include/mlt++/Mlt.h
include/mlt++/MltConsumer.h
include/mlt++/MltDeque.h
include/mlt++/MltEvent.h
include/mlt++/MltFactory.h
include/mlt++/MltField.h
include/mlt++/MltFilter.h
include/mlt++/MltFilteredConsumer.h
include/mlt++/MltFilteredProducer.h
include/mlt++/MltFrame.h
include/mlt++/MltGeometry.h
include/mlt++/MltMultitrack.h
include/mlt++/MltParser.h
include/mlt++/MltPlaylist.h
include/mlt++/MltProducer.h
include/mlt++/MltProfile.h
include/mlt++/MltProperties.h
include/mlt++/MltPushConsumer.h
include/mlt++/MltRepository.h
include/mlt++/MltService.h
include/mlt++/MltTokeniser.h
include/mlt++/MltTractor.h
include/mlt++/MltTransition.h
include/mlt++/config.h
include/mlt/framework/mlt.h
include/mlt/framework/mlt_cache.h
include/mlt/framework/mlt_consumer.h
include/mlt/framework/mlt_deque.h
include/mlt/framework/mlt_events.h
include/mlt/framework/mlt_factory.h
include/mlt/framework/mlt_field.h
include/mlt/framework/mlt_filter.h
include/mlt/framework/mlt_frame.h
include/mlt/framework/mlt_geometry.h
include/mlt/framework/mlt_log.h
include/mlt/framework/mlt_multitrack.h
include/mlt/framework/mlt_parser.h
include/mlt/framework/mlt_playlist.h
include/mlt/framework/mlt_pool.h
include/mlt/framework/mlt_producer.h
include/mlt/framework/mlt_profile.h
include/mlt/framework/mlt_properties.h
include/mlt/framework/mlt_property.h
include/mlt/framework/mlt_repository.h
include/mlt/framework/mlt_service.h
include/mlt/framework/mlt_tokeniser.h
include/mlt/framework/mlt_tractor.h
include/mlt/framework/mlt_transition.h
include/mlt/framework/mlt_types.h
include/mlt/framework/mlt_version.h
lib/libmlt++.so
lib/libmlt++.so.${PKGVERSION}
lib/libmlt++.so.3
lib/libmlt.so
lib/libmlt.so.${PKGVERSION}
lib/libmlt.so.5
lib/mlt/libmltavformat.so
lib/mlt/libmltcore.so
lib/mlt/libmltdecklink.so
lib/mlt/libmltdgraft.so
lib/mlt/libmltdv.so
lib/mlt/libmlteffectv.so
lib/mlt/libmltgtk2.so
lib/mlt/libmltkdenlive.so
lib/mlt/libmltkino.so
lib/mlt/libmltlinsys.so
lib/mlt/libmltmotion_est.so
lib/mlt/libmltnormalize.so
lib/mlt/libmltoldfilm.so
lib/mlt/libmltplus.so
lib/mlt/libmltqimage.so
lib/mlt/libmltresample.so
lib/mlt/libmltrotoscoping.so
lib/mlt/libmltsdl.so
lib/mlt/libmltsox.so
lib/mlt/libmltswfdec.so
lib/mlt/libmltvideostab.so
lib/mlt/libmltvmfx.so
lib/mlt/libmltvorbis.so
lib/mlt/libmltxine.so
lib/mlt/libmltxml.so
lib/pkgconfig/mlt++.pc
lib/pkgconfig/mlt-framework.pc
share/mlt/avformat/consumer_avformat.yml
share/mlt/avformat/producer_avformat.yml
share/mlt/core/consumer_multi.yml
share/mlt/core/data_fx.properties
share/mlt/core/filter_audiowave.yml
share/mlt/core/filter_brightness.yml
share/mlt/core/filter_channelcopy.yml
share/mlt/core/filter_crop.yml
share/mlt/core/filter_data_show.yml
share/mlt/core/filter_fieldorder.yml
share/mlt/core/filter_gamma.yml
share/mlt/core/filter_greyscale.yml
share/mlt/core/filter_luma.yml
share/mlt/core/filter_mirror.yml
share/mlt/core/filter_mono.yml
share/mlt/core/filter_obscure.yml
share/mlt/core/filter_region.yml
share/mlt/core/filter_rescale.yml
share/mlt/core/filter_resize.yml
share/mlt/core/filter_transition.yml
share/mlt/core/filter_watermark.yml
share/mlt/core/loader.dict
share/mlt/core/loader.ini
share/mlt/core/producer_colour.yml
share/mlt/core/producer_consumer.yml
share/mlt/core/producer_hold.yml
share/mlt/core/producer_loader.yml
share/mlt/core/producer_melt.yml
share/mlt/core/producer_melt_file.yml
share/mlt/core/producer_noise.yml
share/mlt/core/transition_composite.yml
share/mlt/core/transition_luma.yml
share/mlt/core/transition_mix.yml
share/mlt/core/transition_region.yml
share/mlt/decklink/consumer_decklink.yml
share/mlt/decklink/producer_decklink.yml
share/mlt/dv/consumer_libdv.yml
share/mlt/dv/producer_libdv.yml
share/mlt/effectv/filter_burningtv.yml
share/mlt/feeds/NTSC/data_fx.properties
share/mlt/feeds/NTSC/etv.properties
share/mlt/feeds/NTSC/obscure.properties
share/mlt/feeds/PAL/border.properties
share/mlt/feeds/PAL/data_fx.properties
share/mlt/feeds/PAL/etv.properties
share/mlt/feeds/PAL/example.properties
share/mlt/feeds/PAL/obscure.properties
share/mlt/gtk2/consumer_gtk2_preview.yml
share/mlt/gtk2/filter_dynamictext.yml
share/mlt/gtk2/filter_rescale.yml
share/mlt/gtk2/producer_pango.yml
share/mlt/gtk2/producer_pixbuf.yml
share/mlt/kdenlive/filter_boxblur.yml
share/mlt/kdenlive/filter_freeze.yml
share/mlt/kdenlive/filter_wave.yml
share/mlt/kdenlive/producer_framebuffer.yml
share/mlt/linsys/consumer_sdi.yml
share/mlt/lumas/NTSC/luma01.pgm
share/mlt/lumas/NTSC/luma02.pgm
share/mlt/lumas/NTSC/luma03.pgm
share/mlt/lumas/NTSC/luma04.pgm
share/mlt/lumas/NTSC/luma05.pgm
share/mlt/lumas/NTSC/luma06.pgm
share/mlt/lumas/NTSC/luma07.pgm
share/mlt/lumas/NTSC/luma08.pgm
share/mlt/lumas/NTSC/luma09.pgm
share/mlt/lumas/NTSC/luma10.pgm
share/mlt/lumas/NTSC/luma11.pgm
share/mlt/lumas/NTSC/luma12.pgm
share/mlt/lumas/NTSC/luma13.pgm
share/mlt/lumas/NTSC/luma14.pgm
share/mlt/lumas/NTSC/luma15.pgm
share/mlt/lumas/NTSC/luma16.pgm
share/mlt/lumas/NTSC/luma17.pgm
share/mlt/lumas/NTSC/luma18.pgm
share/mlt/lumas/NTSC/luma19.pgm
share/mlt/lumas/NTSC/luma20.pgm
share/mlt/lumas/NTSC/luma21.pgm
share/mlt/lumas/NTSC/luma22.pgm
share/mlt/lumas/PAL/luma01.pgm
share/mlt/lumas/PAL/luma02.pgm
share/mlt/lumas/PAL/luma03.pgm
share/mlt/lumas/PAL/luma04.pgm
share/mlt/lumas/PAL/luma05.pgm
share/mlt/lumas/PAL/luma06.pgm
share/mlt/lumas/PAL/luma07.pgm
share/mlt/lumas/PAL/luma08.pgm
share/mlt/lumas/PAL/luma09.pgm
share/mlt/lumas/PAL/luma10.pgm
share/mlt/lumas/PAL/luma11.pgm
share/mlt/lumas/PAL/luma12.pgm
share/mlt/lumas/PAL/luma13.pgm
share/mlt/lumas/PAL/luma14.pgm
share/mlt/lumas/PAL/luma15.pgm
share/mlt/lumas/PAL/luma16.pgm
share/mlt/lumas/PAL/luma17.pgm
share/mlt/lumas/PAL/luma18.pgm
share/mlt/lumas/PAL/luma19.pgm
share/mlt/lumas/PAL/luma20.pgm
share/mlt/lumas/PAL/luma21.pgm
share/mlt/lumas/PAL/luma22.pgm
share/mlt/metaschema.yaml
share/mlt/motion_est/filter_autotrack_rectangle.yml
share/mlt/motion_est/filter_motion_est.yml
share/mlt/motion_est/filter_vismv.yml
share/mlt/motion_est/producer_slowmotion.yml
share/mlt/normalize/filter_audiolevel.yml
share/mlt/normalize/filter_volume.yml
share/mlt/oldfilm/dust1.svg
share/mlt/oldfilm/dust2.svg
share/mlt/oldfilm/dust3.svg
share/mlt/oldfilm/dust4.svg
share/mlt/oldfilm/dust5.svg
share/mlt/oldfilm/fdust.svg
share/mlt/oldfilm/filter_dust.yml
share/mlt/oldfilm/filter_grain.yml
share/mlt/oldfilm/filter_lines.yml
share/mlt/oldfilm/filter_oldfilm.yml
share/mlt/oldfilm/filter_tcolor.yml
share/mlt/oldfilm/filter_vignette.yml
share/mlt/oldfilm/grain.svg
share/mlt/oldfilm/lines.svg
share/mlt/oldfilm/oldfilm.svg
share/mlt/oldfilm/tcolor.svg
share/mlt/oldfilm/vignette.svg
share/mlt/plus/filter_affine.yml
share/mlt/plus/filter_charcoal.yml
share/mlt/plus/filter_invert.yml
share/mlt/plus/filter_sepia.yml
share/mlt/plus/transition_affine.yml
share/mlt/presets/consumer/avformat/AAC
share/mlt/presets/consumer/avformat/Flash
share/mlt/presets/consumer/avformat/MJPEG
share/mlt/presets/consumer/avformat/MP3
share/mlt/presets/consumer/avformat/MPEG-2
share/mlt/presets/consumer/avformat/MPEG-4
share/mlt/presets/consumer/avformat/MPEG-4-ASP
share/mlt/presets/consumer/avformat/Sony-PSP
share/mlt/presets/consumer/avformat/Vorbis
share/mlt/presets/consumer/avformat/WAV
share/mlt/presets/consumer/avformat/XDCAM-HD422
share/mlt/presets/consumer/avformat/atsc_1080i_50/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080i_5994/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_2398/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_24/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_25/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_2997/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_30/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_50/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_5994/DNxHD
share/mlt/presets/consumer/avformat/atsc_1080p_60/DNxHD
share/mlt/presets/consumer/avformat/atsc_720p_2398/DNxHD
share/mlt/presets/consumer/avformat/atsc_720p_50/DNxHD
share/mlt/presets/consumer/avformat/atsc_720p_5994/DNxHD
share/mlt/presets/consumer/avformat/atsc_720p_60/DNxHD
share/mlt/presets/consumer/avformat/dv_ntsc/D10
share/mlt/presets/consumer/avformat/dv_ntsc/DV
share/mlt/presets/consumer/avformat/dv_ntsc/DVCPRO50
share/mlt/presets/consumer/avformat/dv_ntsc/DVD
share/mlt/presets/consumer/avformat/dv_ntsc_wide/D10
share/mlt/presets/consumer/avformat/dv_ntsc_wide/DV
share/mlt/presets/consumer/avformat/dv_ntsc_wide/DVCPRO50
share/mlt/presets/consumer/avformat/dv_ntsc_wide/DVD
share/mlt/presets/consumer/avformat/dv_pal/D10
share/mlt/presets/consumer/avformat/dv_pal/DV
share/mlt/presets/consumer/avformat/dv_pal/DVCPRO50
share/mlt/presets/consumer/avformat/dv_pal/DVD
share/mlt/presets/consumer/avformat/dv_pal_wide/D10
share/mlt/presets/consumer/avformat/dv_pal_wide/DV
share/mlt/presets/consumer/avformat/dv_pal_wide/DVCPRO50
share/mlt/presets/consumer/avformat/dv_pal_wide/DVD
share/mlt/presets/consumer/avformat/hdv_1080_25p/HDV
share/mlt/presets/consumer/avformat/hdv_1080_30p/HDV
share/mlt/presets/consumer/avformat/hdv_1080_50i/HDV
share/mlt/presets/consumer/avformat/hdv_1080_60i/HDV
share/mlt/presets/consumer/avformat/hdv_720_25p/HDV
share/mlt/presets/consumer/avformat/hdv_720_30p/HDV
share/mlt/presets/consumer/avformat/hdv_720_50p/HDV
share/mlt/presets/consumer/avformat/hdv_720_60p/HDV
share/mlt/presets/consumer/avformat/lossless/FFV1
share/mlt/presets/consumer/avformat/lossless/H.264
share/mlt/presets/consumer/avformat/lossless/HuffYUV
share/mlt/presets/consumer/avformat/lossless/MJPEG
share/mlt/presets/consumer/avformat/lossless/MPEG-2
share/mlt/presets/consumer/avformat/lossless/MPEG-4
share/mlt/presets/consumer/avformat/lossless/ProRes
share/mlt/presets/consumer/avformat/stills/BMP
share/mlt/presets/consumer/avformat/stills/DPX
share/mlt/presets/consumer/avformat/stills/JPEG
share/mlt/presets/consumer/avformat/stills/PNG
share/mlt/presets/consumer/avformat/stills/PPM
share/mlt/presets/consumer/avformat/stills/TGA
share/mlt/presets/consumer/avformat/stills/TIFF
share/mlt/presets/consumer/avformat/webm
share/mlt/presets/consumer/avformat/x264-medium
share/mlt/presets/consumer/avformat/x264-medium-baseline
share/mlt/presets/consumer/avformat/x264-medium-main
share/mlt/presets/consumer/avformat/x264-medium-pass1
share/mlt/presets/filter/brightness/from_black
share/mlt/presets/filter/brightness/to_black
share/mlt/presets/filter/volume/fade_in
share/mlt/presets/filter/volume/fade_out
share/mlt/profiles/atsc_1080i_50
share/mlt/profiles/atsc_1080i_5994
share/mlt/profiles/atsc_1080i_60
share/mlt/profiles/atsc_1080p_2398
share/mlt/profiles/atsc_1080p_24
share/mlt/profiles/atsc_1080p_25
share/mlt/profiles/atsc_1080p_2997
share/mlt/profiles/atsc_1080p_30
share/mlt/profiles/atsc_1080p_50
share/mlt/profiles/atsc_1080p_5994
share/mlt/profiles/atsc_1080p_60
share/mlt/profiles/atsc_720p_2398
share/mlt/profiles/atsc_720p_24
share/mlt/profiles/atsc_720p_25
share/mlt/profiles/atsc_720p_2997
share/mlt/profiles/atsc_720p_30
share/mlt/profiles/atsc_720p_50
share/mlt/profiles/atsc_720p_5994
share/mlt/profiles/atsc_720p_60
share/mlt/profiles/cif_15
share/mlt/profiles/cif_ntsc
share/mlt/profiles/cif_pal
share/mlt/profiles/cvd_ntsc
share/mlt/profiles/cvd_pal
share/mlt/profiles/dv_ntsc
share/mlt/profiles/dv_ntsc_wide
share/mlt/profiles/dv_pal
share/mlt/profiles/dv_pal_wide
share/mlt/profiles/hdv_1080_25p
share/mlt/profiles/hdv_1080_30p
share/mlt/profiles/hdv_1080_50i
share/mlt/profiles/hdv_1080_60i
share/mlt/profiles/hdv_720_25p
share/mlt/profiles/hdv_720_30p
share/mlt/profiles/hdv_720_50p
share/mlt/profiles/hdv_720_60p
share/mlt/profiles/qcif_15
share/mlt/profiles/qcif_ntsc
share/mlt/profiles/qcif_pal
share/mlt/profiles/quarter_15
share/mlt/profiles/quarter_ntsc
share/mlt/profiles/quarter_ntsc_wide
share/mlt/profiles/quarter_pal
share/mlt/profiles/quarter_pal_wide
share/mlt/profiles/sdi_486i_5994
share/mlt/profiles/sdi_486p_2398
share/mlt/profiles/square_ntsc
share/mlt/profiles/square_ntsc_wide
share/mlt/profiles/square_pal
share/mlt/profiles/square_pal_wide
share/mlt/profiles/svcd_ntsc
share/mlt/profiles/svcd_ntsc_wide
share/mlt/profiles/svcd_pal
share/mlt/profiles/svcd_pal_wide
share/mlt/profiles/vcd_ntsc
share/mlt/profiles/vcd_pal
share/mlt/qimage/producer_kdenlivetitle.yml
share/mlt/qimage/producer_qimage.yml
share/mlt/qimage/transition_vqm.yml
share/mlt/resample/filter_resample.yml
share/mlt/rotoscoping/filter_rotoscoping.yml
share/mlt/sdl/consumer_sdl.yml
share/mlt/sdl/consumer_sdl_audio.yml
share/mlt/sdl/consumer_sdl_preview.yml
share/mlt/sdl/consumer_sdl_still.yml
share/mlt/sdl/producer_sdl_image.yml
share/mlt/sox/filter_sox.yml
share/mlt/sox/filter_sox_effect.yml
share/mlt/swfdec/producer_swfdec.yml
share/mlt/videostab/filter_videostab.yml
share/mlt/videostab/filter_videostab2.yml
share/mlt/vmfx/filter_chroma.yml
share/mlt/vmfx/filter_chroma_hold.yml
share/mlt/vmfx/filter_mono.yml
share/mlt/vmfx/filter_shape.yml
share/mlt/vmfx/producer_pgm.yml
share/mlt/vorbis/producer_vorbis.yml
share/mlt/xml/consumer_xml.yml
share/mlt/xml/mlt-xml.dtd
share/mlt/xml/producer_xml-string.yml
share/mlt/xml/producer_xml.yml

View File

@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
BUILDLINK_TREE+= mlt
.if !defined(MLT_BUILDLINK3_MK)
MLT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mlt+= mlt>=0.5.10
BUILDLINK_ABI_DEPENDS.mlt+= mlt>=0.5.10
BUILDLINK_PKGSRCDIR.mlt?= ../../multimedia/mlt
.endif # MLT_BUILDLINK3_MK
BUILDLINK_TREE+= -mlt

10
multimedia/mlt/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.5 2013/06/26 21:59:10 joerg Exp $
SHA1 (mlt-0.8.6.tar.gz) = 616e807ba9f8fd8d6c9f87cb04416885c471596c
RMD160 (mlt-0.8.6.tar.gz) = 354130bdd1d42e55f01703d2eac25a947d86f377
Size (mlt-0.8.6.tar.gz) = 1104163 bytes
SHA1 (patch-configure) = 52cc702fd561d45699bb7d5dce2b43a80fb9d474
SHA1 (patch-src_framework_mlt__properties.c) = b8113fc58f0dce0d70cb4a0ba7534723e7924ad5
SHA1 (patch-src_framework_mlt__property.c) = 61ea83f6d20c139741d5bb95456f0d1a4a9b3fa4
SHA1 (patch-src_framework_mlt__property.h) = b6aec829f7f9f876711984c2edaba245a968e90d
SHA1 (patch-src_modules_videostab_stab_estimate.c) = 58549c2ee2780604c043637a25dd39e92f90b7ce

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-configure,v 1.1 2012/11/21 22:24:27 abs Exp $
* Like most other Operating Systems, NetBSD needs -fPIC with -DPIC
--- configure.orig 2012-11-15 03:05:11.000000000 +0000
+++ configure
@@ -111,7 +111,7 @@ build_config()
NetBSD)
[ "$optimisations" = "true" ] &&
echo "OPTIMISATIONS+=-ffast-math"
- echo "CFLAGS+=-pthread"
+ echo "CFLAGS+=-fPIC -pthread"
echo "SHFLAGS=-shared"
echo "RDYNAMIC=-rdynamic"
echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-src_framework_mlt__properties.c,v 1.1 2013/06/26 21:59:10 joerg Exp $
--- src/framework/mlt_properties.c.orig 2013-06-26 21:38:59.000000000 +0000
+++ src/framework/mlt_properties.c
@@ -138,7 +138,7 @@ int mlt_properties_set_lcnumeric( mlt_pr
{
property_list *list = self->local;
-#if defined(__linux__) || defined(__DARWIN__)
+#if defined(__linux__) || defined(__DARWIN__) || (defined(__NetBSD__) && defined(LC_C_LOCALE))
if ( list->locale )
freelocale( list->locale );
list->locale = newlocale( LC_NUMERIC_MASK, locale, NULL );
@@ -1332,7 +1332,7 @@ void mlt_properties_close( mlt_propertie
free( list->name[ index ] );
}
-#if defined(__linux__) || defined(__DARWIN__)
+#if defined(__linux__) || defined(__DARWIN__) || (defined(__NetBSD__) && defined(LC_C_LOCALE))
// Cleanup locale
if ( list->locale )
freelocale( list->locale );

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-src_framework_mlt__property.c,v 1.1 2013/06/26 21:59:10 joerg Exp $
--- src/framework/mlt_property.c.orig 2013-06-26 21:38:25.000000000 +0000
+++ src/framework/mlt_property.c
@@ -282,7 +282,7 @@ static int time_clock_to_frames( const c
s = copy;
pos = strrchr( s, ':' );
if ( pos ) {
-#if defined(__GLIBC__) || defined(__DARWIN__)
+#if defined(__GLIBC__) || defined(__DARWIN__) || (defined(__NetBSD__) && defined(LC_C_LOCALE))
if ( locale )
seconds = strtod_l( pos + 1, NULL, locale );
else
@@ -300,7 +300,7 @@ static int time_clock_to_frames( const c
}
}
else {
-#if defined(__GLIBC__) || defined(__DARWIN__)
+#if defined(__GLIBC__) || defined(__DARWIN__) || (defined(__NetBSD__) && defined(LC_C_LOCALE))
if ( locale )
seconds = strtod_l( s, NULL, locale );
else
@@ -455,7 +455,7 @@ static double mlt_property_atof( const c
}
else
{
-#if defined(__GLIBC__) || defined(__DARWIN__)
+#if defined(__GLIBC__) || defined(__DARWIN__) || (defined(__NetBSD__) && defined(LC_C_LOCALE))
if ( locale )
return strtod_l( value, NULL, locale );
#endif

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_framework_mlt__property.h,v 1.1 2013/06/26 21:59:10 joerg Exp $
--- src/framework/mlt_property.h.orig 2013-06-26 21:36:42.000000000 +0000
+++ src/framework/mlt_property.h
@@ -31,8 +31,10 @@
#include <sys/param.h>
#endif
+#include <locale.h>
#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 900506)
#include <xlocale.h>
+#elif defined(__NetBSD__) && defined(LC_C_LOCALE)
#else
typedef void* locale_t;
#endif

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-src_modules_videostab_stab_estimate.c,v 1.1 2012/11/21 22:24:27 abs Exp $
* Add !defined(__NetBSD__) to a list of OS types #if
--- src/modules/videostab/stab/estimate.c.orig 2012-11-15 03:05:11.000000000 +0000
+++ src/modules/videostab/stab/estimate.c
@@ -18,7 +18,8 @@
#include <stdlib.h>
#include <math.h>
#include <string.h>
-#if !defined(__DARWIN__) && !defined(__FreeBSD__) && !defined(WIN32)
+/* XXX should probably be "if defined..." not "if !defined..." */
+#if !defined(__DARWIN__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(WIN32)
#include <values.h>
#endif