]>
Commit | Line | Data |
---|---|---|
57582654 SS |
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 | |
3 | @@ -53,13 +53,13 @@ | |
57582654 | 4 | |
317246e4 JR |
5 | # The -I option allows to build the simple application in the same time as opal |
6 | # (as used by distribution packagers) | |
bc09e567 | 7 | -CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --cflags opal) -I../../include |
317246e4 | 8 | -LDFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --libs opal) |
57582654 SS |
9 | +CFLAGS += |
10 | +LDFLAGS += | |
11 | ||
12 | ||
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) | |
16 | +OBJDIR = obj | |
17 | ||
18 | vpath %.o $(OBJDIR) | |
19 | ||
24ae7846 JR |
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 | |
22 | @@ -31,7 +31,6 @@ | |
23 | # | |
24 | # | |
25 | ||
26 | -STDCCFLAGS =@STDCCFLAGS@ | |
27 | CXXFLAGS =@CXXFLAGS@ | |
28 | ||
29 | LID_PLUGIN_DIR=@LID_PLUGIN_DIR@ | |
30 | @@ -65,7 +64,7 @@ | |
31 | ||
32 | $(OBJDIR)/%.o : %.cxx | |
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 $@ | |
36 | ||
37 | PLUGIN = ./ixj_lid_pwplugin.so | |
38 | ||
8d7f7562 AM |
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 | |
41 | @@ -132,8 +132,8 @@ | |
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) ) ); | |
49 | ||
50 | if (distance < minDistance) { | |
51 | minDistance = distance; |