summaryrefslogtreecommitdiff
path: root/multimedia/avifile/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/avifile/files/patch-ab')
-rw-r--r--multimedia/avifile/files/patch-ab31
1 files changed, 9 insertions, 22 deletions
diff --git a/multimedia/avifile/files/patch-ab b/multimedia/avifile/files/patch-ab
index 5b0f59a9bd72..ad26321f3929 100644
--- a/multimedia/avifile/files/patch-ab
+++ b/multimedia/avifile/files/patch-ab
@@ -1,23 +1,10 @@
---- 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
- }
+--- lib/aviread/Cache.cpp.orig Sun Apr 29 20:25:10 2001
++++ lib/aviread/Cache.cpp Sun Apr 29 20:25:19 2001
+@@ -3,7 +3,6 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/time.h>
+-#include <stdint.h>
- long WINAPI expQueryPerformanceFrequency(long long* z)
+ #include <iomanip>
+ #include <iostream>