Subject: pkg/30267: the package multimedia/libdv won't compile
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 05/18/2005 08:31:00
>Number:         30267
>Category:       pkg
>Synopsis:       the package multimedia/libdv won't compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 18 08:31:00 +0000 2005
>Originator:     Karl Janmar
>Release:        NetBSD 3.0_BETA
NetBSD 3.0_BETA NetBSD 3.0_BETA (NGONG) #2: Thu May 12 18:37:46 CEST 2005 i386
The libdv package won't compile without optimization. There have been a fix for this in the now removed pkgsrc-wip version. There have been similar problems with the FreeBSD port of the package and they have fixed it with similar solution as the one I present.

compile the package multimedia/libdv on i386 netbsd 3.0 and possibly 2.0 
Apply this patch to the package:

Index: Makefile
RCS file: /cvsroot/pkgsrc/multimedia/libdv/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	11 Apr 2005 21:46:41 -0000	1.10
+++ Makefile	18 May 2005 08:27:17 -0000
@@ -14,6 +14,7 @@
 .include "../../mk/"