aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-03-12 20:51:34 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-03-12 20:51:34 +0000
commit38e10771000f5d691ce8ed87c73f566044f4228c (patch)
tree95f702eb746ade61b01cac19ca0ca9fd4592db37 /security
parentcd5f255ad1a7c71d1b32db4184c13450339cde2c (diff)
downloadports-38e10771000f5d691ce8ed87c73f566044f4228c.tar.gz
ports-38e10771000f5d691ce8ed87c73f566044f4228c.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav-devel/distinfo6
-rw-r--r--security/clamav-devel/files/patch-libclamav__c++__llvm__lib__Target__X86__X86ISelLowering.cpp12
-rw-r--r--security/clamav-devel/pkg-plist6
4 files changed, 19 insertions, 7 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index d8975b7dff6f..4486c6fadfae 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20100308
+PORTVERSION= 20100312
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/snapshot/ \
LOCAL/garga/clamav-devel
diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo
index c6252fcb8988..0a33c5d9a62d 100644
--- a/security/clamav-devel/distinfo
+++ b/security/clamav-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (clamav-devel-20100308.tar.gz) = f28152f96e0ad5825b9a1744a5ca1a1f
-SHA256 (clamav-devel-20100308.tar.gz) = b1aaf0b99d6202640926c29316b8e2b4676d8884a891270852d7e3ed3042eb0e
-SIZE (clamav-devel-20100308.tar.gz) = 20760962
+MD5 (clamav-devel-20100312.tar.gz) = 7c60908f05f16cefd82fdcd0c14cafe9
+SHA256 (clamav-devel-20100312.tar.gz) = 0fab972ede5e40e15ab6056ab2224c0a448db6f2710561c8af63c57e23d463d8
+SIZE (clamav-devel-20100312.tar.gz) = 20938701
diff --git a/security/clamav-devel/files/patch-libclamav__c++__llvm__lib__Target__X86__X86ISelLowering.cpp b/security/clamav-devel/files/patch-libclamav__c++__llvm__lib__Target__X86__X86ISelLowering.cpp
new file mode 100644
index 000000000000..a0f5b61d1277
--- /dev/null
+++ b/security/clamav-devel/files/patch-libclamav__c++__llvm__lib__Target__X86__X86ISelLowering.cpp
@@ -0,0 +1,12 @@
+--- ./libclamav/c++/llvm/lib/Target/X86/X86ISelLowering.cpp.orig 2010-03-12 11:04:55.000000000 -0300
++++ ./libclamav/c++/llvm/lib/Target/X86/X86ISelLowering.cpp 2010-03-12 11:06:58.000000000 -0300
+@@ -9795,7 +9795,8 @@
+ AsmPieces[2] == "${0:w}" &&
+ IA->getConstraintString().compare(0, 5, "=r,0,") == 0) {
+ AsmPieces.clear();
+- SplitString(IA->getConstraintString().substr(5), AsmPieces, ",");
++ const std::string &Constraints = IA->getConstraintString();
++ SplitString(StringRef(Constraints).substr(5), AsmPieces, ",");
+ std::sort(AsmPieces.begin(), AsmPieces.end());
+ if (AsmPieces.size() == 4 &&
+ AsmPieces[0] == "~{cc}" &&
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist
index 373dd667bf50..0e7d9271e39f 100644
--- a/security/clamav-devel/pkg-plist
+++ b/security/clamav-devel/pkg-plist
@@ -13,13 +13,13 @@ include/clamav.h
include/clamav-config.h
lib/libclamav.la
lib/libclamav.so
-lib/libclamav.so.6
+lib/libclamav.so.7
%%UNRAR%%lib/libclamunrar.la
%%UNRAR%%lib/libclamunrar.so
-%%UNRAR%%lib/libclamunrar.so.6
+%%UNRAR%%lib/libclamunrar.so.7
%%UNRAR%%lib/libclamunrar_iface.la
%%UNRAR%%lib/libclamunrar_iface.so
-%%UNRAR%%lib/libclamunrar_iface.so.6
+%%UNRAR%%lib/libclamunrar_iface.so.7
libdata/pkgconfig/libclamav.pc
@unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi
etc/clamd.conf.default