pkgsrc-Bugs archive

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

Re: pkg/40593: xine-lib build fails on netbsd-3



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

From: Bernd Ernesti <pr200905%veego.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/40593: xine-lib build fails on netbsd-3
Date: Tue, 10 Feb 2009 08:53:16 +0100

 On Tue, Feb 10, 2009 at 12:45:01AM +0000, OBATA Akio wrote:
 >  On Tue, 10 Feb 2009 03:10:01 +0900, Bernd Ernesti 
 > <pr200905%veego.de@localhost> wrote:
 >  
 >  > .libs/xineplug_decode_ff_la-ff_audio_decoder.o: In function 
 > `ff_audio_ensure_buffer_size':
 >  > ff_audio_decoder.c:(.text+0x6e): undefined reference to `realloc'
 >  > .libs/xineplug_decode_ff_la-ff_audio_decoder.o: In function 
 > `ff_audio_decode_data':
 >  > ff_audio_decoder.c:(.text+0x44a): undefined reference to `memmove'
 >  
 >  PR#40467 also same reason?
 
 Yes.
 
 IMHO is now broken for all NetBSD systems < 4.99.7x when the default switched 
to include
 libc in all libraries and programs.
 
 Btw, it could be that this problem is caused by the removal of a part from of 
patch-ag
 in the update
 
 - @@ -2591,7 +2608,7 @@ case $host in
 -       dnl FreeBSD (et al.) does not complete linking for shared objects when 
pthreads
 -       dnl are requested, as different implementations are present; to avoid 
problems
 -       dnl use -Wl,-z,defs only for those platform not behaving this way.
 - -     *-freebsd*) ;;
 - +     *-freebsd* | *-netbsd*) ;;
 -       *)
 -       AC_TRY_LDFLAGS([-Wl,-z,defs], [NOUNDEF="-Wl,-z,defs"])
 -       ;;
 
 That part is now available in a different file: m4/attributes.m4
 
   case $host in
      dnl FreeBSD (et al.) does not complete linking for shared objects when 
pthreads
      dnl are requested, as different implementations are present; to avoid 
problems
      dnl use -Wl,-z,defs only for those platform not behaving this way.
      *-freebsd*) ;; 
 
 IMHO that should like
      *-freebsd* | *-netbsd[1-4]*) ;; 
 
 Maybe the changes in patch-av needs also some modifications, but I don't see 
if that
 is really needed.
 
 This could be a patch if it worked, but unfortunaly the [ and ] are removed 
after
 running the autoconf tools.
 
 --- m4/attributes.m4.orig      2009-01-11 02:25:33.000000000 +0100
 +++ m4/attributes.m4   2009-02-10 08:32:07.000000000 +0100
 @@ -109,7 +109,7 @@
       dnl FreeBSD (et al.) does not complete linking for shared objects when 
pthreads
       dnl are requested, as different implementations are present; to avoid 
problems
       dnl use -Wl,-z,defs only for those platform not behaving this way.
 -     *-freebsd*) ;;
 +     *-freebsd* | *-netbsd[1-4]*) ;;
       *)
          dnl First of all check for the --no-undefined variant of GNU ld. This 
allows
          dnl for a much more readable commandline, so that people can 
understand what
 
 Bernd
 


Home | Main Index | Thread Index | Old Index