]> git.pld-linux.org Git - packages/avifile.git/blob - avifile-shareware.patch
- workaround for struct name change in Linux 2.6 headers
[packages/avifile.git] / avifile-shareware.patch
1 --- avifile0.6-20011220/plugins/libwin32/loader/win32.c Sun Jan 20 16:39:53 2002
2 +++ avifile0.6-20011220/plugins/libwin32/loader/win32.c.new     Sun Jan 20 16:53:14 2002
3 @@ -2573,7 +2573,7 @@
4      local_time=tv.tv_sec;
5      local_tm=localtime(&local_time);
6  
7 -    systime->wYear = local_tm->tm_year + 1900;
8 +    systime->wYear = 1999; /* local_tm->tm_year + 1900; */
9      systime->wMonth = local_tm->tm_mon + 1;
10      systime->wDayOfWeek = local_tm->tm_wday;
11      systime->wDay = local_tm->tm_mday;
12 @@ -2599,7 +2599,7 @@
13      local_time=tv.tv_sec;
14      local_tm=gmtime(&local_time);
15  
16 -    systime->wYear = local_tm->tm_year + 1900;
17 +    systime->wYear = 1999; /* local_tm->tm_year + 1900; */
18      systime->wMonth = local_tm->tm_mon + 1;
19      systime->wDayOfWeek = local_tm->tm_wday;
20      systime->wDay = local_tm->tm_mday;
This page took 0.033329 seconds and 3 git commands to generate.