1 --- opal-3.4.2/samples/simple/Makefile.orig 2008-11-05 17:42:13.403269358 +0100
2 +++ opal-3.4.2/samples/simple/Makefile 2008-11-05 17:58:28.336264433 +0100
5 # The -I option allows to build the simple application in the same time as opal
6 # (as used by distribution packagers)
7 -CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --cflags opal) -I../../include
8 -LDFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --libs opal)
13 # This part is we like to be tidy and put all the build products
14 # in a sub-directory of a name specific to platform type.
15 -OBJDIR = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --variable=objdir opal)
20 --- opal-3.10.8/plugins/LID/IxJ/Makefile.in~ 2012-10-05 08:19:44.000000000 +0200
21 +++ opal-3.10.8/plugins/LID/IxJ/Makefile.in 2012-10-16 22:15:37.582438492 +0200
26 -STDCCFLAGS =@STDCCFLAGS@
29 LID_PLUGIN_DIR=@LID_PLUGIN_DIR@
33 @mkdir -p $(OBJDIR) >/dev/null 2>&1
34 - $(Q_CC)$(CXX) -I../../../include $(STDCCFLAGS) $(OPTCCFLAGS) $(CXXFLAGS) -c $< -o $@
35 + $(Q_CC)$(CXX) -I../../../include $(OPTCCFLAGS) $(CXXFLAGS) -c $< -o $@
37 PLUGIN = ./ixj_lid_pwplugin.so
39 --- opal-3.10.11/plugins/video/common/mpi.cxx.orig 2017-07-12 19:15:10.396689138 +0000
40 +++ opal-3.10.11/plugins/video/common/mpi.cxx 2017-07-12 19:18:02.036496397 +0000
42 // to the desired one or matches it
43 for (i=0; i < MPIs.size(); i++) {
44 // we square the value in order to get absolute distances
45 - distance = ( abs(MPIs[i].width - desiredWidth ) *
46 - abs(MPIs[i].height - desiredHeight) );
47 + distance = ( abs((int)(MPIs[i].width - desiredWidth) ) *
48 + abs((int)(MPIs[i].height - desiredHeight) ) );
50 if (distance < minDistance) {
51 minDistance = distance;