openbsd-ports/multimedia/libquicktime/patches/patch-acinclude_m4
jakemsr 48c1287d33 - accomodate for libavcodec changes
- bump PKGNAME

OK brad@
2006-03-20 05:51:59 +00:00

23 lines
753 B
Plaintext

$OpenBSD: patch-acinclude_m4,v 1.2 2006/03/20 05:51:59 jakemsr Exp $
--- acinclude.m4.orig Sun Jan 9 14:50:53 2005
+++ acinclude.m4 Thu Feb 2 22:24:47 2006
@@ -387,7 +387,7 @@ AC_TRY_RUN([
if(LIBAVCODEC_BUILD < $1)
return -1;
output=fopen("avcodec_version", "w");
- fprintf(output, LIBAVCODEC_VERSION);
+ fprintf(output, "%lld", LIBAVCODEC_VERSION_INT);
fclose(output);
return 0;
}
@@ -427,7 +427,8 @@ dnl
if test "x$avcodec_prefix" != x; then
AVCODEC_CFLAGS="-I$avcodec_prefix/include"
-AVCODEC_LIBS="-L$avcodec_prefix/lib -lavcodec"
+dnl AVCODEC_LIBS="-L$avcodec_prefix/lib -lavcodec"
+AVCODEC_LIBS="$AVCODEC_LIBS"
ACL_CHECK_AVCODEC([$1])
if test "x$avcodec_ok" = "xtrue"; then
avcodec_done="true"