]> git.pld-linux.org Git - packages/opal.git/blobdiff - opal-build.patch
- rel 4; ffmpeg fixes from freebsd
[packages/opal.git] / opal-build.patch
index ce2304010fae8e0e45ca0fd2dd493b6c3628fb90..468da570cae402f939dda047287a5fc6fd09dc98 100644 (file)
  
  PLUGIN        = ./ixj_lid_pwplugin.so
  
---- opal-3.10.11/plugins/video/common/mpi.cxx.orig     2017-07-12 19:15:10.396689138 +0000
-+++ opal-3.10.11/plugins/video/common/mpi.cxx  2017-07-12 19:18:02.036496397 +0000
-@@ -132,8 +132,8 @@
-   // to the desired one or matches it
-   for (i=0; i < MPIs.size(); i++) {
-     // we square the value in order to get absolute distances
--    distance = ( abs(MPIs[i].width  - desiredWidth ) *
--                 abs(MPIs[i].height - desiredHeight) );
-+    distance = ( abs((int)(MPIs[i].width  - desiredWidth) ) *
-+                 abs((int)(MPIs[i].height - desiredHeight) ) );
-     if (distance < minDistance) {
-       minDistance = distance;
This page took 0.121479 seconds and 4 git commands to generate.