mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build on 5.x
PR: ports/60682 Submitted by: Samy Al Bahra <samy@kerneled.com>
This commit is contained in:
parent
3e979fa8f0
commit
f1feed3a98
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96882
2 changed files with 14 additions and 7 deletions
|
@ -29,14 +29,8 @@ MAN1= ctfstool.1 chipcardd.1 geldkarte.1 hbcicard.1 \
|
|||
|
||||
MAN5= libchipcard.conf.5 chipcardc.conf.5 chipcardd.conf.5
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/freebsd/chipcardd.sh ${PREFIX}/etc/rc.d
|
||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
13
devel/libchipcard/files/patch-hbcicard.cpp
Normal file
13
devel/libchipcard/files/patch-hbcicard.cpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/libchipcard/cards/hbcicard.cpp.orig Mon Dec 29 10:58:25 2003
|
||||
+++ src/libchipcard/cards/hbcicard.cpp Mon Dec 29 10:59:41 2003
|
||||
@@ -401,8 +401,8 @@
|
||||
string id;
|
||||
string fcp;
|
||||
CTError err;
|
||||
- unsigned char id1[9]={{0xd2},{0x76},{0x00},{0x00},{0x25},{0x48},{0x42},{0x01},{0x00}};
|
||||
- unsigned char id2[9]={{0xd2},{0x76},{0x00},{0x00},{0x25},{0x48},{0x42},{0x02},{0x00}};
|
||||
+ unsigned char id1[9]={0xd2,0x76,0x00,0x00,0x25,0x48,0x42,0x01,0x00};
|
||||
+ unsigned char id2[9]={0xd2,0x76,0x00,0x00,0x25,0x48,0x42,0x02,0x00};
|
||||
|
||||
#if DEBUGMODE>15
|
||||
fprintf(stderr,"LIBCHIPCARD: Checking type.\n");
|
Loading…
Add table
Reference in a new issue