forked from Lainports/freebsd-ports
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 <sobomax@FreeBSD.org> 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 <stolz@i2.informatik.rwth-aachen.de>
23 lines
507 B
Text
23 lines
507 B
Text
--- 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
|
|
}
|
|
|
|
long WINAPI expQueryPerformanceFrequency(long long* z)
|