summaryrefslogtreecommitdiff
path: root/community/mythtv/mythtv_0.25_gcc_4.7.patch
blob: 83c8244a0a2ec6defe85015401aa8011d5f6b0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
*** a/libs/libmythbase/compat.h		2012-03-31 20:52:30.430461503 -0400
--- b/libs/libmythbase/compat.h		2012-03-31 20:59:05.935585911 -0400
***************
*** 44,49 ****
--- 44,51 ----
  # include <sys/resource.h> // for setpriority
  # include <sys/socket.h>
  # include <sys/wait.h>     // For WIFEXITED on Mac OS X
+ # include <stdio.h>        // for snprintf(), used by inline dlerror()
+ # include <unistd.h>       // for usleep()
  #endif
  
  #ifdef USING_MINGW
*** a/libs/libmyth/rssparse.h		2012-03-31 20:52:30.427453729 -0400
--- b/libs/libmyth/rssparse.h		2012-03-31 21:51:11.687438044 -0400
***************
*** 13,18 ****
--- 13,19 ----
  #include <QPair>
  #include <QMap>
  #include <QVariant>
+ #include <sys/types.h>
  
  #include "mythexp.h"
  
*** a/libs/libmythtv/audioinput.h	2012-03-31 22:41:55.626923063 -0400
--- b/libs/libmythtv/audioinput.h	2012-03-31 22:41:22.478248297 -0400
***************
*** 22,27 ****
--- 22,28 ----
  #define _AUDIOINPUT_H_
  
  #include <QString>
+ #include <unistd.h>
  
  class AudioInput
  {
*** a/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c	2012-03-31 20:52:29.923150437 -0400
--- b/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c	2012-03-31 21:58:48.422270780 -0400
***************
*** 398,404 ****
              "2:                         \n\t"\
              \
              : "+a"(src), "+c"(dst)\
!             : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
              : "memory"\
          );\
          src += 4-(h+5)*srcStride;\
--- 398,404 ----
              "2:                         \n\t"\
              \
              : "+a"(src), "+c"(dst)\
!             : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
              : "memory"\
          );\
          src += 4-(h+5)*srcStride;\
***************
*** 446,452 ****
              QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
              "2:                     \n\t"\
              : "+a"(src)\
!             : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\
              : "memory"\
              );\
          tmp += 4;\
--- 446,452 ----
              QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
              "2:                     \n\t"\
              : "+a"(src)\
!             : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\
              : "memory"\
              );\
          tmp += 4;\
***************
*** 823,829 ****
          "2:                          \n\t"\
          \
          : "+a"(src), "+c"(dst)\
!         : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
          : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
                         "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
            "memory"\
--- 823,829 ----
          "2:                          \n\t"\
          \
          : "+a"(src), "+c"(dst)\
!         : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
          : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
                         "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
            "memory"\
***************
*** 878,884 ****
              QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)
              "2:                         \n\t"
              : "+a"(src)
!             : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)
              : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
                             "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
                "memory"
--- 878,884 ----
              QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)
              "2:                         \n\t"
              : "+a"(src)
!             : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)
              : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
                             "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
                "memory"