diff options
author | Bastian Löher | 2016-05-20 12:23:05 +0200 |
---|---|---|
committer | Bastian Löher | 2016-05-20 12:23:05 +0200 |
commit | c221296f9f6a5e31d4e6732c25f8121b88342663 (patch) | |
tree | d2bdfb0f957366e93b069110de5352ac86e1aae1 | |
parent | d671ee63ede290696258aa017d8987dacc4c1f81 (diff) | |
download | aur-c221296f9f6a5e31d4e6732c25f8121b88342663.tar.gz |
Add patch to fix return types in BoostSerializer.h.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | fix_return.patch | 20 |
3 files changed, 28 insertions, 1 deletions
@@ -21,8 +21,10 @@ pkgbase = fairroot options = !strip source = https://github.com/FairRootGroup/FairRoot/archive/v-15.11c.tar.gz source = fairroot.install + source = fix_return.patch md5sums = 775fb31d5c3b99f363a5c9eb9c301698 md5sums = d2d2d7b11b308120382fba7e32c5268a + md5sums = 6aa0d1c3b2fc936ce54b9f5acf6c338e pkgname = fairroot @@ -28,10 +28,12 @@ install=fairroot.install changelog= source=("https://github.com/FairRootGroup/FairRoot/archive/v-${pkgver}.tar.gz" 'fairroot.install' + 'fix_return.patch' ) noextract=() md5sums=('775fb31d5c3b99f363a5c9eb9c301698' - 'd2d2d7b11b308120382fba7e32c5268a') + 'd2d2d7b11b308120382fba7e32c5268a' + '6aa0d1c3b2fc936ce54b9f5acf6c338e') # Do not compress the package for installation # PKGEXT='.pkg.tar' @@ -42,6 +44,9 @@ prepare() { # Path to fairsoft installation export SIMPATH=/opt/fairsoft/${fairsoftver} + cd ${srcdir} + patch -Np0 -i ${startdir}/fix_return.patch + cd ${srcdir}/FairRoot-v-${pkgver} # Execute cmake diff --git a/fix_return.patch b/fix_return.patch new file mode 100644 index 000000000000..204266657ca2 --- /dev/null +++ b/fix_return.patch @@ -0,0 +1,20 @@ +--- FairRoot-v-15.11c/base/MQ/policies/Serialization/BoostSerializer_orig.h 2016-05-20 12:19:40.286292946 +0200 ++++ FairRoot-v-15.11c/base/MQ/policies/Serialization/BoostSerializer.h 2016-05-20 12:18:56.228643568 +0200 +@@ -91,7 +91,7 @@ class BoostSerializer : public BaseSeria + fMessage = msg; + } + +- void GetMessage() ++ auto GetMessage() + { + return fMessage; + } +@@ -283,7 +283,7 @@ class BoostDeSerializer : public BaseSer + fMessage = msg; + } + +- void GetMessage() ++ auto GetMessage() + { + return fMessage; + } |