pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30267: the package multimedia/libdv won't compile



>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
>Organization:
utopiafoundation.org
>Environment:
NetBSD ngong.utopiafoundation.org 3.0_BETA NetBSD 3.0_BETA (NGONG) #2: Thu May 
12 18:37:46 CEST 2005  
karl%ngong.utopiafoundation.org@localhost:/usr/src/sys/arch/i386/compile/NGONG 
i386
>Description:
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.

>How-To-Repeat:
compile the package multimedia/libdv on i386 netbsd 3.0 and possibly 2.0 
>Fix:
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 @@
 PKGCONFIG_OVERRIDE=    ${WRKSRC}/libdv.pc.in
 PTHREAD_AUTO_VARS=     yes
 
+CFLAGS+= -O2
 LIBS+=                 ${LIBOSSAUDIO}
 
 .include "../../mk/bsd.prefs.mk"




Home | Main Index | Thread Index | Old Index