summaryrefslogtreecommitdiff
path: root/multimedia/ming
diff options
context:
space:
mode:
authorobache <obache>2010-04-09 01:33:43 +0000
committerobache <obache>2010-04-09 01:33:43 +0000
commite310d368c5e3f6966c430bd4184fd84f7a4dca2f (patch)
treee27a280af35455e4b1f8fe86d5988c5ae2e201e2 /multimedia/ming
parent88e45ba73289b4406e34b84e1b1494726a0b7374 (diff)
downloadpkgsrc-e310d368c5e3f6966c430bd4184fd84f7a4dca2f.tar.gz
Update ming to 0.4.3.
0.4.3 - 2010-02-06 * Fixed SWFMatrix scaling if scale = 0.0 * Added delete and delete2 support in asm blocks * A lot of updates and improvements in the Perl interface * A lot of documentation (pod) was added to Perl files * Support for manually specifying MP3 delaySeek for SWFSound and SWFSoundStream * Fix sharing of fonts between static and dynamic texts * Fix support for movie-bound init actions 0.4.0.rc2 - 2008-09-17 * SWFVideoStream allow manual frame control * Autoconf perl version * MSVC compile fixes * removed src/test.c * Embedded video in movie clips * Seek in Embedded video streams * Gradient / Fill fixes * Sound / Soundstream fixes 0.4.0.rc1 - 2008-07-05 * Perl extension updates * Python extension updates * Do not force bgColor * Redirect SWF_warn and SWF_error to stderr * Propper checks for YACC and LEX * Complete Bitmap fillstyles * Font fixes * Actioncompiler fixes (delete, built-in functions, callFrame -> call()) * Fixed tag order issues * Ming defaults now to local-with-filesystem sandbox for SWF>=8 * Add support for init actions in makeswf * SWF8 / 9 support for fromswf / prebuiltclip * implements ASM op * ASFunction() * AS Class support * Removed SWFFontCharacter destructor from PHP wrapper * py_ext update * Class members * outputBlock() usese length and offset from SWF_Parserstruct * SWFDisplayItem_flush(): immediately write display items. * Removed ttftofft * Improved ButtonRecord handling * SWFSound_fromSoundStream() * Many improvements in decompiler and swftoXXX tools * C++ might throw a SWFException * Support for embedded Nellymoser sound * AS: in with-blocks legacy functions o not work * Compiles again with MSVC * simplified SWFSound usage with mp3 files * SWFSoundStream_getDuration replaces SWFSoundStream_getFrames() * perl_ext build changes (build out of tree) * API float->double transition * php_ext: SWFInput can wrap raw byte-streams * php_ext: API: external data can be passed as file-resource, SWFInput or filename * removed newSWFFont() as public function (causes various crashes) * removed new SWFFont(...) usage with browserfonts in script languages. Use SWFBrowserFont class. 0.4.0.beta5 - 2007-09-18 * Add support for targetPath asm opcode. * Flash 8: filter and blend modes for buttons * Flash 8: SWF_DEFINEMORPHSHAPE2 * Flash 8: SWFShape rendering hints * Flash 8: new gradient features * SWFFillStyle is reusable now and calculates propper GradientMatrix * setLeft/RightFillStyle adds fill to the shape if necessary * Handling fonts as shapes * Basic ttf font support * Typesafe SWFMovie_add / replace * Add Envelopes to SoundInstance * ABC (AS3) parser and output * Parse SWF_SERIALNUMBER * Parse SWF9 tags * SWF9: DefineBinaryData * SWF9: SymbolClass * SWF9: DefineSceneData 0.4.0.beta4 - 2007-03-27 * Fix handling of the special 'undefined' value. * Fix 'delete' syntax in action compiler. * makeswf now handles bitmaps. * Many improvements in decompiler. * Build scripts cleanup (including check rule). * Add support for 'extends' and proper 'push' asm opcodes in ActionScript compiler. * Generate DefineFunction2 when target version > 6. * Use GOTOFRAME, GOTOFRAME2 and GOTOLABEL when using gotoAndPlay() or gotoAndStop() w/out an object. * Video updates: added Flash8 codecs, generic flv parser * Soundstream: accept flv audio streams (mp3 only for now) * Flash 8: PlaceObject3 * Flash 8: Filter and Blendmode * Write proper Flash 8 files * Added movie control tags: FileAttributes, Metadata, ScriptLimits, ImportAssets2, SetTabIndex * Flash 8: ScalingGrid * Parser / listswf updates * PHP / Perl bindings update * Flash 8: DefineShape4 / Linestyle2 * SWFAction cleanup and API cleanup * SWF_warnOnce() * SWFInitAction 0.4.0.beta3 - 2006-12-10 * Fix version to not use dashes to make rpmbuild happy * autotool tcl extension * coalesce multiple ming.i files into a single file at the top * swig output updated for python & tcl * Misc decompiler fixes * makeswf now handles precompiled clips * Make sure the extension source show up in the dist tarballs * compiler fix for asm {} blocks 0.4.0-beta2 - 2006-11-21 * Preliminary support for building RPM packages * New PHP code that builds for PHP$ and PHP5 * Added missing SWFMovieClip class in PHP * New tool, ttftofft, for producing ming formast fonts * Allow output of SWF version 8 * Better SWF parser (utilities). * NEW function: SWFMovie_protectWithPassword() * preprocessor products of 'makeswf' are now named after output filename and frame# (ie: "out.swf.frame0.pp") * Automake-based build, for portability's sake (libtool) * Ming_setWarnFunction and Ming_setErrorFunction now return the previously-set value. * More documentation ! * Start of a test suite! * makeswf now provides an __SWF_VERSION__ macro for use in cross-version ActionScript code. * NEW functions: SWFDisplayItem_getMatrix(), SWFPosition_getMatrix(), SWFMatrix_getScaleX(), SWFMatrix_getRotate0(), SWFMatrix_getRotate1(), SWFMatrix_getScaleY(), SWFMatrix_getTranslateX(), SWFMatrix_getTranslateY(), SWFShape_moveScaledPenTo(). 0.3.1 - ? * Fixed libpng-less builds * Fixed default error handler to exit with a FAILURE code
Diffstat (limited to 'multimedia/ming')
-rw-r--r--multimedia/ming/DESCR5
-rw-r--r--multimedia/ming/Makefile44
-rw-r--r--multimedia/ming/Makefile.common9
-rw-r--r--multimedia/ming/PLIST62
-rw-r--r--multimedia/ming/buildlink3.mk5
-rw-r--r--multimedia/ming/distinfo18
-rw-r--r--multimedia/ming/patches/patch-aa13
-rw-r--r--multimedia/ming/patches/patch-ab17
-rw-r--r--multimedia/ming/patches/patch-ac13
-rw-r--r--multimedia/ming/patches/patch-ad13
-rw-r--r--multimedia/ming/patches/patch-ae8
-rw-r--r--multimedia/ming/patches/patch-af13
-rw-r--r--multimedia/ming/patches/patch-ag27
-rw-r--r--multimedia/ming/patches/patch-ah16
-rw-r--r--multimedia/ming/patches/patch-ai13
15 files changed, 123 insertions, 153 deletions
diff --git a/multimedia/ming/DESCR b/multimedia/ming/DESCR
index 855ec482d23..26c75db2434 100644
--- a/multimedia/ming/DESCR
+++ b/multimedia/ming/DESCR
@@ -1,3 +1,2 @@
-Ming is a C library for generating SWF ("Flash") format movies, plus a
-set of wrappers for using the library from C++ and popular scripting
-languages like PHP, Python, and Ruby.
+Ming is a Flash (SWF) output library. It can be used from PHP, Perl,
+Ruby, Python, C, C++, Java, and probably more on the way.
diff --git a/multimedia/ming/Makefile b/multimedia/ming/Makefile
index 43c6eb7234e..b226eb93ee6 100644
--- a/multimedia/ming/Makefile
+++ b/multimedia/ming/Makefile
@@ -1,26 +1,42 @@
-# $NetBSD: Makefile,v 1.6 2009/03/12 09:21:01 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/04/09 01:33:43 obache Exp $
#
-DISTNAME= ming-0.3.0
-PKGREVISION= 1
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/}
+.include "Makefile.common"
-MAINTAINER= obache@NetBSD.org
-HOMEPAGE= http://ming.sourceforge.net/
-COMMENT= Create SWF (Macromedia Flash) files with this library
+CATEGORIES= multimedia
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://www.libming.org/
+COMMENT= SWF output library
+LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config bison flex
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
PKG_DESTDIR_SUPPORT= user-destdir
-MAKE_JOBS_SAFE= no
-USE_LANGUAGES= c c++
-USE_TOOLS+= bison flex
-GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --disable-php
+CONFIGURE_ARGS+= --disable-tcl
+
+PKGCONFIG_OVERRIDE+= src/libming.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
+# Test require perl
+USE_TOOLS+= perl
+TEST_TARGET= check
+.endif
-INSTALL_MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX:Q}
-INSTALL_MAKE_FLAGS+= mandir=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}
+# XXX: "man" is not in SUBDIRS of "docs"
+INSTALL_DIRS= . docs/man
.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/ming/Makefile.common b/multimedia/ming/Makefile.common
new file mode 100644
index 00000000000..287e8f96e09
--- /dev/null
+++ b/multimedia/ming/Makefile.common
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile.common,v 1.3 2010/04/09 01:33:43 obache Exp $
+#
+# used by multimedia/py-ming/Makefile
+
+DISTNAME= ming-0.4.3
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/}
+
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/ming/distinfo
+PATCHDIR= ${.CURDIR}/../../multimedia/ming/patches
diff --git a/multimedia/ming/PLIST b/multimedia/ming/PLIST
index be2858d3c72..827010ee1e0 100644
--- a/multimedia/ming/PLIST
+++ b/multimedia/ming/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2006/09/13 15:53:51 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/04/09 01:33:43 obache Exp $
bin/dbl2png
bin/gif2dbl
bin/gif2mask
@@ -13,16 +13,64 @@ bin/makefdb
bin/makeswf
bin/ming-config
bin/png2dbl
-bin/png2swf
bin/raw2adpcm
+bin/swftocxx
bin/swftoperl
bin/swftophp
bin/swftopython
+bin/swftotcl
include/ming.h
-include/ming_config.h
include/mingpp.h
-lib/libming.a
-lib/libming.so
-lib/libming.so.0
-lib/libming.so.0.3.0
+lib/libming.la
+lib/pkgconfig/libming.pc
+man/man1/dbl2png.1
+man/man1/gif2dbl.1
+man/man1/gif2mask.1
+man/man1/listfdb.1
+man/man1/listjpeg.1
+man/man1/listmp3.1
+man/man1/makefdb.1
man/man1/makeswf.1
+man/man1/png2dbl.1
+man/man1/raw2adpcm.1
+man/man1/swftocxx.1
+man/man1/swftoperl.1
+man/man1/swftophp.1
+man/man1/swftopython.1
+man/man1/swftotcl.1
+man/man3/Ming_getScale.3
+man/man3/Ming_init.3
+man/man3/Ming_setCubicThreshold.3
+man/man3/Ming_setErrorFunction.3
+man/man3/Ming_setSWFCompression.3
+man/man3/Ming_setScale.3
+man/man3/Ming_setWarnFunction.3
+man/man3/Ming_useSWFVersion.3
+man/man3/SWFDisplayItem_addFilter.3
+man/man3/SWFDisplayItem_cacheAsBitmap.3
+man/man3/SWFDisplayItem_get_x.3
+man/man3/SWFDisplayItem_setBlendMode.3
+man/man3/SWFMovie_add.3
+man/man3/SWFMovie_labelFrame.3
+man/man3/SWFMovie_namedAnchor.3
+man/man3/SWFMovie_protect.3
+man/man3/SWFMovie_setBackground.3
+man/man3/SWFMovie_setDimension.3
+man/man3/SWFMovie_setNumberOfFrames.3
+man/man3/SWFMovie_setRate.3
+man/man3/SWFShape_drawArc.3
+man/man3/SWFShape_drawCubic.3
+man/man3/SWFShape_drawScaledLineTo.3
+man/man3/SWFShape_movePenTo.3
+man/man3/SWFShape_moveScaledPenTo.3
+man/man3/SWFVideoStream_getNumFrames.3
+man/man3/SWFVideoStream_getVideoFrame.3
+man/man3/SWFVideoStream_hasAudio.3
+man/man3/SWFVideoStream_setDimension.3
+man/man3/destroySWFMovie.3
+man/man3/newSWFMovie.3
+man/man3/newSWFMovieWithVersion.3
+man/man3/newSWFShapeFromBitmap.3
+man/man3/newSWFVideoStream.3
+man/man3/newSWFVideoStream_fromFile.3
+man/man3/newSWFVideoStream_fromInput.3
diff --git a/multimedia/ming/buildlink3.mk b/multimedia/ming/buildlink3.mk
index d4932b8adfd..15e06182899 100644
--- a/multimedia/ming/buildlink3.mk
+++ b/multimedia/ming/buildlink3.mk
@@ -1,14 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:25:04 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2010/04/09 01:33:43 obache Exp $
BUILDLINK_TREE+= ming
.if !defined(MING_BUILDLINK3_MK)
MING_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.ming+= ming>=0.3.0
+BUILDLINK_API_DEPENDS.ming+= ming>=0.4.3
BUILDLINK_PKGSRCDIR.ming?= ../../multimedia/ming
.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.endif # MING_BUILDLINK3_MK
diff --git a/multimedia/ming/distinfo b/multimedia/ming/distinfo
index ba98d4178ad..49fbf9c16cd 100644
--- a/multimedia/ming/distinfo
+++ b/multimedia/ming/distinfo
@@ -1,13 +1,7 @@
-$NetBSD: distinfo,v 1.5 2009/10/16 07:06:28 obache Exp $
+$NetBSD: distinfo,v 1.6 2010/04/09 01:33:43 obache Exp $
-SHA1 (ming-0.3.0.tar.gz) = 3920de3070fa66b26fe53765298175789aacdb70
-RMD160 (ming-0.3.0.tar.gz) = b41c93e28c221d9ae35666f34ca3ed37bbb0dfcb
-Size (ming-0.3.0.tar.gz) = 287330 bytes
-SHA1 (patch-aa) = 67f7e9b8fdaa576cdbc8a1421a0d1e100a0cac54
-SHA1 (patch-ab) = a2181033818a961c79e73dbb43aafdc5cce24efb
-SHA1 (patch-ac) = 474d92e059e6b3145af2f51fa7598dc39d2b81bf
-SHA1 (patch-ad) = a5297b1f432e07acc0ef4da554a43f38f75edcf2
-SHA1 (patch-ae) = ed8995b97a40f8f25c02b479bcc96f0e659e95df
-SHA1 (patch-af) = bcde050efd4cea85b955486c6052fdde69e1c2e7
-SHA1 (patch-ag) = e7feec74cf44571da2aff4d058253c87e9595575
-SHA1 (patch-ah) = 27c5ffc5dfd83bf3a06e64af887c9247b58b6235
+SHA1 (ming-0.4.3.tar.gz) = bbdef489b5446f3bc4060d6b808287b0f7f03f37
+RMD160 (ming-0.4.3.tar.gz) = a11501d0b49dde332c68c1ff11612fa8ab05cc66
+Size (ming-0.4.3.tar.gz) = 14920165 bytes
+SHA1 (patch-ae) = 7eb187fbd1908b279e60f5ef0e5db46e3bf29f1b
+SHA1 (patch-ai) = 336b4520e3e1b1024eabfb019c2ceb66ede3e819
diff --git a/multimedia/ming/patches/patch-aa b/multimedia/ming/patches/patch-aa
deleted file mode 100644
index 8271432179b..00000000000
--- a/multimedia/ming/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2008/04/03 08:42:25 joerg Exp $
-
---- Makefile.config.in.orig 2008-04-03 10:27:39.000000000 +0200
-+++ Makefile.config.in
-@@ -43,3 +43,8 @@ EXTRA_BINS = @EXTRA_BINS@
- # zlib required for both image formats and for compressed swf6
- LIBS = $(ZLIB) $(MATHLIB) $(GIFLIB) $(PNGLIB)
- EXTRA_LIBS = $(LIBS)
-+
-+.SUFFIXES: .po
-+
-+.c.po:
-+ ${CC} -o $@ -c -fPIC ${CFLAGS} ${CPPFLAGS} $<
diff --git a/multimedia/ming/patches/patch-ab b/multimedia/ming/patches/patch-ab
deleted file mode 100644
index 10e40407de4..00000000000
--- a/multimedia/ming/patches/patch-ab
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2008/04/03 08:42:25 joerg Exp $
-
---- src/Makefile.orig 2008-04-03 10:28:28.000000000 +0200
-+++ src/Makefile
-@@ -29,10 +29,10 @@ all: dynamic
-
- dynamic: $(SHAREDLIB)
-
--$(SHAREDLIB): $(OFILES)
-+$(SHAREDLIB): $(OFILES:R:S/$/.po/g)
- cd blocks && $(MAKE) CFLAGS="$(CFLAGS) -I.."
- cd actioncompiler && $(MAKE) CFLAGS="$(CFLAGS) -I.."
-- $(CC) $(OFILES) $(COMPILEROFILES) $(LDFLAGS) $(EXTRA_LIBS) blocks/*.o $(SHLIBLDFLAGS) -o $(SHAREDLIB)
-+ $(CC) $(OFILES:R:S/$/.po/g) $(COMPILEROFILES:R:S/$/.po/g) $(LDFLAGS) $(EXTRA_LIBS) blocks/*.po $(SHLIBLDFLAGS) -o $(SHAREDLIB)
- cp $(SHAREDLIB) ..
- ln -fs $(SHAREDLIB) ../libming$(NOVAR_SHLIBEXT)
- ln -fs $(SHAREDLIB) ../libming$(SHORT_SHLIBEXT)
diff --git a/multimedia/ming/patches/patch-ac b/multimedia/ming/patches/patch-ac
deleted file mode 100644
index 7ed7c06dc42..00000000000
--- a/multimedia/ming/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/04/03 08:42:25 joerg Exp $
-
---- src/blocks/Makefile.orig 2008-04-03 10:29:52.000000000 +0200
-+++ src/blocks/Makefile
-@@ -39,7 +39,7 @@ OFILES = \
- utf8.o \
- videostream.o $(EXTRA_OBJS)
-
--all: $(OFILES)
-+all: $(OFILES) $(OFILES:R:S/$/.po/g)
-
- clean:
- rm -f *.o *.core core
diff --git a/multimedia/ming/patches/patch-ad b/multimedia/ming/patches/patch-ad
deleted file mode 100644
index 6ab080ab0be..00000000000
--- a/multimedia/ming/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2008/04/03 08:42:25 joerg Exp $
-
---- src/actioncompiler/Makefile.orig 2008-04-03 10:29:31.000000000 +0200
-+++ src/actioncompiler/Makefile
-@@ -14,7 +14,7 @@ GENERATED = lex.swf4.c lex.swf5.c swf5co
-
- OFILES = $(MOSTFILES) compileaction.o
-
--all: $(OFILES)
-+all: $(OFILES) $(OFILES:R:S/$/.po/g)
-
- clean:
- rm -f $(OFILES) $(GENERATED) compiler compiler.exe core test main.o \
diff --git a/multimedia/ming/patches/patch-ae b/multimedia/ming/patches/patch-ae
index 5424c8a5a04..a647764f1a1 100644
--- a/multimedia/ming/patches/patch-ae
+++ b/multimedia/ming/patches/patch-ae
@@ -1,8 +1,10 @@
-$NetBSD: patch-ae,v 1.1 2008/04/03 08:42:25 joerg Exp $
+$NetBSD: patch-ae,v 1.2 2010/04/09 01:33:43 obache Exp $
---- src/actioncompiler/compile.c.orig 2008-04-03 10:33:17.000000000 +0200
+tolower needs unsigned char argument.
+
+--- src/actioncompiler/compile.c.orig 2008-04-10 22:32:47.000000000 +0000
+++ src/actioncompiler/compile.c
-@@ -536,7 +536,7 @@ void lower(char *s)
+@@ -595,7 +595,7 @@ void lower(char *s)
{
while(*s)
{
diff --git a/multimedia/ming/patches/patch-af b/multimedia/ming/patches/patch-af
deleted file mode 100644
index 4364d5380ad..00000000000
--- a/multimedia/ming/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2008/04/03 08:42:25 joerg Exp $
-
---- src/blocks/fromswf.c.orig 2008-04-03 10:34:05.000000000 +0200
-+++ src/blocks/fromswf.c
-@@ -47,7 +47,7 @@ completeSWFPrebuiltClip(SWFBlock block)
- }
-
- int
--SWFPrebuiltClipLength(block)
-+SWFPrebuiltClipLength(SWFBlock block)
- { SWFPrebuiltClip clip = (SWFPrebuiltClip)block;
- return SWFOutput_getLength(clip->display);
- }
diff --git a/multimedia/ming/patches/patch-ag b/multimedia/ming/patches/patch-ag
deleted file mode 100644
index 0c2a615b4f7..00000000000
--- a/multimedia/ming/patches/patch-ag
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2008/12/17 08:19:53 taca Exp $
-
-This is fix for bison 2.4 and later.
-
---- src/actioncompiler/swf5compiler.y.orig 2006-02-09 07:48:38.000000000 +0900
-+++ src/actioncompiler/swf5compiler.y
-@@ -1795,7 +1795,7 @@ opcode_list
-
- with
- : WITH
-- { $$ = bufferWriteOp(asmBuffer,
-+ { $<len>$ = bufferWriteOp(asmBuffer,
- SWFACTION_WITH); }
- opcode_list END { $$ = $<len>2 + $3;
- bufferPatchLength(asmBuffer, $3); }
-@@ -1828,9 +1828,9 @@ push_list
- ;
-
- opcode
-- : PUSH { $$ = bufferWriteOp(asmBuffer,
-+ : PUSH { $<len>$ = bufferWriteOp(asmBuffer,
- SWFACTION_PUSH);
-- $$ += bufferWriteS16(asmBuffer, 0); }
-+ $<len>$ += bufferWriteS16(asmBuffer, 0); }
- push_list { $$ = $<len>2 + $3;
- bufferPatchLength(asmBuffer, $3); }
-
diff --git a/multimedia/ming/patches/patch-ah b/multimedia/ming/patches/patch-ah
deleted file mode 100644
index aaf5200383e..00000000000
--- a/multimedia/ming/patches/patch-ah
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2009/10/16 07:06:28 obache Exp $
-
-void function cannot return value
-
---- util/outputtxt.c.orig 2005-11-14 16:39:21.000000000 +0000
-+++ util/outputtxt.c
-@@ -1127,7 +1127,8 @@ outputBlock (int type, SWF_Parserstruct
- {
- if (outputs[i].type == type)
- {
-- return outputs[i].output (blockp);
-+ outputs[i].output (blockp);
-+ return;
- }
- }
- printf("Unknown block type %d\n", type );
diff --git a/multimedia/ming/patches/patch-ai b/multimedia/ming/patches/patch-ai
new file mode 100644
index 00000000000..e9eca048f7e
--- /dev/null
+++ b/multimedia/ming/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2010/04/09 01:33:43 obache Exp $
+
+--- configure.orig 2008-09-18 10:00:06.000000000 +0900
++++ configure
+@@ -4635,7 +4635,7 @@ echo $ECHO_N "checking for Python librar
+ py_version=`$PYTHON -c "from distutils.sysconfig import *; \
+ from string import join; \
+ print join(get_config_vars('VERSION'))"`
+- if test "$py_version" == "None"; then
++ if test "$py_version" = "None"; then
+ if test -n "$PYTHON_VERSION"; then
+ py_version=$PYTHON_VERSION
+ else