summaryrefslogtreecommitdiff
path: root/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch')
-rw-r--r--sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch b/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch
new file mode 100644
index 000000000000..1f5f63a252f2
--- /dev/null
+++ b/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch
@@ -0,0 +1,15 @@
+Fix building with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=320107
+
+--- src/scancache.cxx
++++ src/scancache.cxx
+@@ -37,7 +37,7 @@
+ }
+
+ ScanCache::ScanCache(long int elements, long int expire):
+- ExpireLRUCache<ino_t, CachedResult>::ExpireLRUCache<ino_t, CachedResult>(elements, expire) {
++ ExpireLRUCache<ino_t, CachedResult>(elements, expire) {
+ }
+
+ ScanCache::~ScanCache() {