From e3fc1c0cc231fb8f3bfe6db77e1a091411c1da66 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sat, 6 Jan 2001 23:49:59 +0000 Subject: 1) Update to version 0.53.1 2) Update codec distribution to version 001222 3) Add codec wmvds32.ax 4) Install avifile library (both shared and static) version .0 (distfile's numbering) 5) Have the binaries use the shared library 6) Add a libtool hack fix kindly provided by Maxim Sobolev 7) Add an adhoc fix to insure build of avifile utilities despite possible misbehavior of the configure script 9) Update pkg-descr with more informative message 10) Update pkg-comment with more precise message 11) Update pkg-message with information about possible build problems. This port requires qt with thread support. PR: ports/23941 Submitted by: maintainer, Volker Stolz --- multimedia/win32-codecs/files/patch-ab | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'multimedia/win32-codecs/files/patch-ab') diff --git a/multimedia/win32-codecs/files/patch-ab b/multimedia/win32-codecs/files/patch-ab index 6079eb3293b3..5b0f59a9bd72 100644 --- a/multimedia/win32-codecs/files/patch-ab +++ b/multimedia/win32-codecs/files/patch-ab @@ -1,11 +1,23 @@ ---- xmps-avi-plugin/Makefile.in.orig Fri Oct 6 13:05:55 2000 -+++ xmps-avi-plugin/Makefile.in Fri Oct 6 13:06:22 2000 -@@ -1,6 +1,6 @@ --LIBS = -lstdc++ -L../lib -L@libdir@ -laviplay -lpthread @XMPS_LIBS@ -+LIBS = -lstdc++ -L../lib -L@libdir@ -laviplay -lpthread @XMPS_LIBS@ @SDL_LIBS@ +--- lib/loader/win32.c.orig Thu Jan 4 01:18:05 2001 ++++ lib/loader/win32.c Thu Jan 4 01:18:10 2001 +@@ -1085,6 +1085,7 @@ + static double CPU_Freq() + { + //#ifdef USE_TSC ++#ifdef __Linux__ + FILE *f = fopen ("/proc/cpuinfo", "r"); + char line[200]; + char model[200]="unknown"; +@@ -1121,9 +1122,9 @@ + fclose(f); + if(freq<0)return old_freq(); + return freq; +-//#else +-// return old_freq(); +-//#endif ++#else ++ return old_freq(); ++#endif + } --INCLUDES = -I. -I../include -I@includedir@/avifile @XMPS_CFLAGS@ -+INCLUDES = -I. -I../include -I@includedir@/avifile @XMPS_CFLAGS@ @SDL_CFLAGS@ - - all: avi_configure.o avi_codec.o - $(CC) -shared avi_configure.o avi_codec.o $(LIBS) -o libavi.so + long WINAPI expQueryPerformanceFrequency(long long* z) -- cgit v1.2.3