source:
scripts/untested/blfs-patches/libmpeg3-1.5.4-gcc34-1.patch@
e972b4d
Last change on this file since e972b4d was 617118d, checked in by , 19 years ago | |
---|---|
|
|
File size: 2.5 KB |
-
video/output.c
Submitted By: Jeremy Utley (jeremy@linuxfromscratch.org) Date: 2004-05-20 Initial Package Version: 1.5.4 Upstream Status: Not Submitted Origin: Self Created Description: Fixes syntax issues with GCC 3.4 $LastChangedBy: randy $ $Date: 2004-08-22 09:47:08 -0600 (Sun, 22 Aug 2004) $ diff -uNr libmpeg3-1.5.4/video/output.c libmpeg3-1.5.4.jbit/video/output.c
old new 1062 1062 /* Not used */ 1063 1063 return 0; 1064 1064 } 1065 1066 #ifdef HAVE_MMX 1067 /* 1068 Make sure that these vars get linked 1069 For some reason gcc3.4 doesn't link them 1070 There's gotta be a better way to do this, this is just a quick hack 1071 */ 1072 void ___jbit_hack() 1073 { 1074 void *foo; 1075 foo = &mpeg3_MMX_0; 1076 foo = mpeg3_MMX_10w; 1077 foo = mpeg3_MMX_80w; 1078 foo = mpeg3_MMX_00FFw; 1079 foo = mpeg3_MMX_Ublucoeff; 1080 foo = mpeg3_MMX_Vredcoeff; 1081 foo = mpeg3_MMX_Ugrncoeff; 1082 foo = mpeg3_MMX_Vgrncoeff; 1083 foo = mpeg3_MMX_Ycoeff; 1084 foo = mpeg3_MMX_redmask; 1085 foo = mpeg3_MMX_grnmask; 1086 foo = mpeg3_601_to_rgb; 1087 1088 foo = &mpeg3_MMX_U_80; 1089 foo = &mpeg3_MMX_V_80; 1090 foo = &mpeg3_MMX_U_COEF; 1091 foo = &mpeg3_MMX_V_COEF; 1092 foo = &mpeg3_MMX_601_Y_COEF; 1093 foo = &mpeg3_MMX_601_Y_DIFF; 1094 1095 foo = &mpeg3_MMX_U_80_RGB; 1096 foo = &mpeg3_MMX_V_80_RGB; 1097 foo = &mpeg3_MMX_U_COEF_RGB; 1098 foo = &mpeg3_MMX_V_COEF_RGB; 1099 } 1100 #endif -
video/reconstruct.c
diff -uNr libmpeg3-1.5.4/video/reconstruct.c libmpeg3-1.5.4.jbit/video/reconstruct.c
old new 1286 1286 return 0; 1287 1287 } 1288 1288 1289 1289 #ifdef HAVE_MMX 1290 /* 1291 Make sure that these vars get linked 1292 For some reason gcc3.4 doesn't link them 1293 There's gotta be a better way to do this, this is just a quick hack 1294 */ 1295 void ___jbit_hack_reconstruct() 1296 { 1297 void *foo; 1298 foo = &MASK_AND; 1299 foo = &ADD_1; 1300 } 1301 #endif -
video/slice.c
diff -uNr libmpeg3-1.5.4/video/slice.c libmpeg3-1.5.4.jbit/video/slice.c
old new 706 706 pthread_mutex_destroy(&(slice->output_lock)); 707 707 return 0; 708 708 } 709 710 #ifdef HAVE_MMX 711 /* 712 Make sure that these vars get linked 713 For some reason gcc3.4 doesn't link them 714 There's gotta be a better way to do this, this is just a quick hack 715 */ 716 void ___jbit_hack_slice() 717 { 718 void *foo; 719 foo = &MMX_128; 720 } 721 #endif
Note:
See TracBrowser
for help on using the repository browser.