Date: Mon, 23 Jul 2007 00:00:13 GMT From: SIEGERSTEIN <siegerstein@pochta.ru> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/114801: [patch] fix audio/openal build failure Message-ID: <200707230000.l6N00Dha087190@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/114801; it has been noted by GNATS. From: SIEGERSTEIN <siegerstein@pochta.ru> To: bug-followup@FreeBSD.org, siegerstein@pochta.ru Cc: Subject: Re: ports/114801: [patch] fix audio/openal build failure Date: Mon, 23 Jul 2007 02:53:23 +0300 The bug was in two files with the same name: [siegerstein@siegerstein /]$ ls -l /usr/include/sys/soundcard.h -r--r--r-- 1 root wheel 50851 12 янв 2007 /usr/include/sys/soundcard.h [siegerstein@siegerstein /]$ ls -l /usr/local/include/sys/soundcard.h -r--r--r-- 1 root wheel 75728 16 июл 06:13 /usr/local/include/sys/soundcard.h [siegerstein@siegerstein /]$ The fist file is native, second is from oss package: perl script: wf.pl #!/usr/bin/perl my $tree = '/var/db/pkg'; @array = `ls $tree`; for ($i = 0; $i < (scalar(@array)); ++$i) { chomp($array[$i]); $exec = `pkg_info -L \"$array[$i]\" | grep soundcard.h`; if ($exec) { print "$array[$i]\n"; print `pkg_info -L \"$array[$i]\" | grep --color=always soundcard.h`; print "\n\n"; } } 1; $./wf.pl oss-4.0.b1004 /usr/local/include/sys/soundcard.h The probles was in oss package, whi has the file whith the same name, but different func. Fix: pkg_delete -f oss-\* Then did not fix line 356 in previos report, just fiox line 410: replace return; with return AL_FALSE; Or if you dont want to delete oss package, just mv /usr/local/include/sys/soundcard.h /usr/local/include/sys/soundcard.h.old And other port, wich recuire of this lib, will build seccess from native lib (/usr/local/include/sys/soundcard.h) - Alex Ivasyuv aka SIEGERSEIN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707230000.l6N00Dha087190>