mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Attempt to unbreak on gcc4.2.
PR: ports/117131 Subbmited by: maintainer Approved by: portmgr (self)
This commit is contained in:
parent
79cc8b9cc2
commit
fb3f4193b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202852
@ -40,12 +40,4 @@ post-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/freebsd/chipcardd.sh ${PREFIX}/etc/rc.d
|
||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1,14 @@
|
||||
--- src/libchipcard/cards/hbcicard.cpp.orig 2007-10-12 09:54:53.000000000 +0200
|
||||
+++ src/libchipcard/cards/hbcicard.cpp 2007-10-12 09:53:18.000000000 +0200
|
||||
@@ -684,8 +684,8 @@
|
||||
case k_HBCICARD_TYPE_1:
|
||||
return _hash2mac1(hash,mac);
|
||||
default:
|
||||
- DBG_INFO("LIBCHIPCARD: unknown chip card type (%8x) (%d).",
|
||||
- (unsigned int)this,
|
||||
+ DBG_INFO("LIBCHIPCARD: unknown chip card type (%p) (%d).",
|
||||
+ this,
|
||||
_type);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user