Fix a build with cmake 2.6.4. The patch is borrowed from Gentoo bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=268618
This commit is contained in:
hasso 2009-06-07 11:49:25 +00:00
parent 8a2dcb7bd1
commit 837bfa1641
2 changed files with 42 additions and 1 deletions

View file

@ -1,10 +1,11 @@
$NetBSD: distinfo,v 1.19 2009/02/24 16:09:39 wiz Exp $
$NetBSD: distinfo,v 1.20 2009/06/07 11:49:25 hasso Exp $
SHA1 (avidemux_2.4.4.tar.gz) = c50a00caf13a8ea1053e5994edeb59354192e18e
RMD160 (avidemux_2.4.4.tar.gz) = 8bb2705b3e2d5379d833ec4fa06a01b897c06e04
Size (avidemux_2.4.4.tar.gz) = 6894690 bytes
SHA1 (patch-aa) = f29870ecca511e28ef3bb873026f0bf2421ebc5e
SHA1 (patch-ab) = 7d0849c2acdd48a5f02738005b17b2b74456e521
SHA1 (patch-ac) = 268a7df2ac824ebf6413407a235cfd20707f3958
SHA1 (patch-as) = 9d8edeac752b0e08cec7b37e9357ec49d259b5d6
SHA1 (patch-at) = 3b31ca6eaddbaffa37d05eee1f889b2d8b73407b
SHA1 (patch-au) = af3179c26a298dd2c14025db891b8a10ac89fd9a

View file

@ -0,0 +1,40 @@
$NetBSD: patch-ac,v 1.7 2009/06/07 11:49:25 hasso Exp $
Fix a build with cmake 2.6.4. The patch is borrowed from Gentoo bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=268618
--- avidemux/CMakeLists.txt.orig 2008-10-03 14:05:09 +0300
+++ avidemux/CMakeLists.txt 2009-06-07 13:52:15 +0300
@@ -84,7 +84,6 @@ ADM_audiocodec
ADM_audio
ADM_script
ADM_videoFilter
-ADM_filter
ADM_video
ADM_audiodevice
ADM_ocr
@@ -93,6 +92,24 @@ ADM_colorspace
FOREACH(_current ${ADM_SUBDIR})
ADD_SUBDIRECTORY(${_current})
+ENDFOREACH(_current ${ADM_SUBDIR})
+
+SET(ADM_SUBDIR
+ADM_filter
+ADM_audiofilter
+ADM_editor
+ADM_audiocodec
+ADM_audio
+ADM_script
+ADM_videoFilter
+ADM_filter
+ADM_video
+ADM_audiodevice
+ADM_ocr
+ADM_colorspace
+)
+
+FOREACH(_current ${ADM_SUBDIR})
add_libs_all_targets(${_current})
ENDFOREACH(_current ${ADM_SUBDIR})