summaryrefslogtreecommitdiff
path: root/community-staging/pion-net
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-10 00:01:37 +0000
committerroot <root@rshg054.dnsready.net>2012-07-10 00:01:37 +0000
commit0615a909b089a81d068ae10517ceff31dabfece1 (patch)
tree6e5d23671bbee08a27827c126237a47ff9d9c0da /community-staging/pion-net
parent78eac58df0ec18da4bfd73868668dcaea99fd008 (diff)
Tue Jul 10 00:01:37 UTC 2012
Diffstat (limited to 'community-staging/pion-net')
-rw-r--r--community-staging/pion-net/PKGBUILD6
-rw-r--r--community-staging/pion-net/boost_1.50_support.diff6
2 files changed, 6 insertions, 6 deletions
diff --git a/community-staging/pion-net/PKGBUILD b/community-staging/pion-net/PKGBUILD
index 5b223c9b1..f428f8caf 100644
--- a/community-staging/pion-net/PKGBUILD
+++ b/community-staging/pion-net/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 73445 2012-07-07 19:16:54Z stativ $
+# $Id: PKGBUILD 73465 2012-07-08 06:28:16Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: David Watzke <david@watzke.cz>
pkgname=pion-net
pkgver=4.0.12
-pkgrel=2
+pkgrel=3
pkgdesc="A C++ development library for implementing lightweight HTTP interfaces"
url="http://www.pion.org/projects/pion-network-library"
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ source=("http://www.pion.org/files/$pkgname-$pkgver.tar.bz2" \
gcc_4.7_fix.diff boost_1.50_support.diff)
md5sums=('baf0b6a006660dc4051c824e4660cb9d'
'd6c5314678709184e983b301cea11566'
- 'a77d35019e21f3956771c6caa2f01fbf')
+ 'fcd2a7520b818354308315dc1e8053d4')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community-staging/pion-net/boost_1.50_support.diff b/community-staging/pion-net/boost_1.50_support.diff
index 5143044f1..7b82f34b9 100644
--- a/community-staging/pion-net/boost_1.50_support.diff
+++ b/community-staging/pion-net/boost_1.50_support.diff
@@ -33,7 +33,7 @@ diff -rup pion-net-4.0.12/common/src/PionPlugin.cpp pion-net-4.0.12-new/common/s
if (boost::filesystem::is_regular(*it2)) {
if (boost::filesystem::extension(it2->path()) == PionPlugin::PION_PLUGIN_EXTENSION) {
- plugin_names.push_back(PionPlugin::getPluginName(it2->path().leaf()));
-+ plugin_names.push_back(PionPlugin::getPluginName(it2->path().leaf().string()));
++ plugin_names.push_back(PionPlugin::getPluginName(it2->path().filename().string()));
}
}
}
@@ -126,7 +126,7 @@ diff -rup pion-net-4.0.12/net/services/FileService.cpp pion-net-4.0.12-new/net/s
// determine the MIME type
- response_file.setMimeType(findMIMEType( response_file.getFilePath().leaf() ));
-+ response_file.setMimeType(findMIMEType( response_file.getFilePath().leaf().string() ));
++ response_file.setMimeType(findMIMEType( response_file.getFilePath().filename().string() ));
// get the file_size and last_modified timestamp
response_file.update();
@@ -155,7 +155,7 @@ diff -rup pion-net-4.0.12/net/services/FileService.cpp pion-net-4.0.12-new/net/s
const bool placeholder)
{
- DiskFile cache_entry(file_path, NULL, 0, 0, findMIMEType(file_path.leaf()));
-+ DiskFile cache_entry(file_path, NULL, 0, 0, findMIMEType(file_path.leaf().string()));
++ DiskFile cache_entry(file_path, NULL, 0, 0, findMIMEType(file_path.filename().string()));
if (! placeholder) {
cache_entry.update();
// only read the file if its size is <= max_cache_size