[SM-Commit] GIT changes to master grimoire by John Harding (d27fa2be1031c2dd9e9b5e1968817a202136e4ae)

David Kowis dkowis at shlrm.org
Sun Apr 29 23:09:29 EDT 2007


John Harding wrote:
> GIT changes to master grimoire by John Harding <johnh at kuberaconsulting.com>:
> 
>  video-libs/avifile/BUILD   |    1 +
>  video-libs/avifile/HISTORY |    4 ++++
>  2 files changed, 5 insertions(+)
> 
> New commits:
> commit d27fa2be1031c2dd9e9b5e1968817a202136e4ae
> Author: John Harding <johnh at kuberaconsulting.com>
> Commit: John Harding <johnh at kuberaconsulting.com>
> 
>     Added disable_pic to BUILD per ruskie's suggestion when it
>     did not compile here.

What was the precise compile error? Was it amd64? I resolved an issue 
with xvid not linking against it because xvid's assembler logic didn't 
build PIC compliant code. So if it died on an error like

"relocation R_X86_64_PC32 against `xvid_FIR_14_3_2_1' can not be used 
when making a shared object; recompile with -fPIC"

then it is that xvid needs to not be compiled using any assembler.

> diff --git a/video-libs/avifile/BUILD b/video-libs/avifile/BUILD
> index ab15142..8ce3616 100755
> --- a/video-libs/avifile/BUILD
> +++ b/video-libs/avifile/BUILD
> @@ -1,3 +1,4 @@
>  # needed for xvid detection
>  LDFLAGS="$LDFLAGS -lm"  &&
> +disable_pic  &&
>  default_build
> diff --git a/video-libs/avifile/HISTORY b/video-libs/avifile/HISTORY
> index 0118753..41229e3 100644
> --- a/video-libs/avifile/HISTORY
> +++ b/video-libs/avifile/HISTORY
> @@ -1,3 +1,7 @@
> +2007-04-29 John Harding <johnh at kuberaconsulting.com>
> +	* BUILD: added disable_pic at ruskie's suggestion
> +	  when it wouldn't compile here. It worked.
> +
>  2007-04-28 David Kowis <dkowis at shlrm.org>
>  	* DETAILS: version bumped to 0.7.45
>  	* PRE_BUILD: removed patch, as it doesn't apply
> _______________________________________________
> SM-Commit mailing list
> SM-Commit at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-commit
> 
> !DSPAM:463533a145201072213620!
> 




More information about the SM-Commit mailing list