pkgsrc-Bugs archive

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

Re: pkg/38150: dvdrecord build error



The following reply was made to PR pkg/38150; it has been noted by GNATS.

From: OBATA Akio <obache%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/38150: dvdrecord build error
Date: Tue, 04 Mar 2008 10:50:24 +0900

 --On 2008/03/03 18:40 +0000 Bernd Ernesti <pr200802%veego.de@localhost> wrote:
 
 > function `raisepri':
 >      cdrecord.c:(.text+0x29a): undefined reference to 
 > `sched_get_priority_max'
 >      cdrecord.c:(.text+0x2ac): undefined reference to `sched_setscheduler'
 >      *** Error code 1
 >
 >      Stop.
 >      make: stopped in
 > /pkgsrc/sysutils/dvdrecord/work.i386/dvdrtools-0.1.5/cdrecord
 
 Following patch fixes the problem?
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/dvdrecord/Makefile,v
 retrieving revision 1.16
 diff -u -r1.16 Makefile
 --- Makefile   24 Jan 2007 02:17:00 -0000      1.16
 +++ Makefile   4 Mar 2008 01:48:15 -0000
 @@ -19,6 +19,12 @@
  LIBS.SunOS+=          -lsocket
  INSTALLATION_DIRS=    bin ${PKGMANDIR}/man1
 
 +.include "../../mk/bsd.prefs.mk"
 +
 +.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
 +LIBS.NetBSD+=         -lrt
 +.endif
 +
  do-install:
        cd ${WRKSRC}/cdrecord;                                          \
                ${INSTALL_PROGRAM} dvdrecord ${PREFIX}/bin;             \
 
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index