aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-08 09:14:52 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-08 09:14:52 +0800
commit925241c19dfb7b8eb516008cbeaf504f065f619e (patch)
tree370f668da014e9d4da6f3345f71076f5c246c899 /security
parent4d6730fee8427d317c2dc1561787bb21bebba453 (diff)
downloadfreebsd-ports-graphics-925241c19dfb7b8eb516008cbeaf504f065f619e.tar.gz
freebsd-ports-graphics-925241c19dfb7b8eb516008cbeaf504f065f619e.tar.zst
freebsd-ports-graphics-925241c19dfb7b8eb516008cbeaf504f065f619e.zip
- Fix on amd64
PR: ports/138940 Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> Approved by: maintainer timeout (Gary@Hayers.org; 3.5 months)
Diffstat (limited to 'security')
-rw-r--r--security/p5-SAVI-Perl/Makefile2
-rw-r--r--security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/p5-SAVI-Perl/Makefile b/security/p5-SAVI-Perl/Makefile
index e5db681cff3..fbf15e47b97 100644
--- a/security/p5-SAVI-Perl/Makefile
+++ b/security/p5-SAVI-Perl/Makefile
@@ -18,7 +18,7 @@ COMMENT= Perl5 module interface to Sophos AntiVirus
MAN3= SAVI.3
PERL_CONFIGURE= yes
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
diff --git a/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h b/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h
new file mode 100644
index 00000000000..425aea1d2b9
--- /dev/null
+++ b/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h
@@ -0,0 +1,11 @@
+--- sav_if/s_comput.h.orig 2009-09-18 21:22:27.000000000 +0900
++++ sav_if/s_comput.h 2009-09-18 21:22:52.000000000 +0900
+@@ -642,7 +642,7 @@
+ * Hardware platform.
+ */
+
+-# if defined(__i386__)
++# if defined(__i386__) || defined(__amd64__)
+ # define __SOPHOS_I386__
+ # elif (defined(__hppa__) && defined(_PA_RISC1_1))
+ # define __SOPHOS_HP_PA__