View | Details | Raw Unified | Return to bug 60682
Collapse All | Expand All

(-)/home/samy/tmp/libchipcard/Makefile (-7 / +1 lines)
Lines 29-42 Link Here
29
29
30
MAN5=		libchipcard.conf.5 chipcardc.conf.5 chipcardd.conf.5
30
MAN5=		libchipcard.conf.5 chipcardc.conf.5 chipcardd.conf.5
31
31
32
.include <bsd.port.pre.mk>
33
34
.if ${OSVERSION} >= 500113
35
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
36
.endif
37
38
post-install:
32
post-install:
39
	@${INSTALL_SCRIPT} ${WRKSRC}/freebsd/chipcardd.sh ${PREFIX}/etc/rc.d
33
	@${INSTALL_SCRIPT} ${WRKSRC}/freebsd/chipcardd.sh ${PREFIX}/etc/rc.d
40
	@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
34
	@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
41
35
42
.include <bsd.port.post.mk>
36
.include <bsd.port.mk>
(-)/home/samy/tmp/libchipcard/files/patch-hbcicard.cpp (+13 lines)
Line 0 Link Here
1
--- src/libchipcard/cards/hbcicard.cpp.orig	Mon Dec 29 10:58:25 2003
2
+++ src/libchipcard/cards/hbcicard.cpp	Mon Dec 29 10:59:41 2003
3
@@ -401,8 +401,8 @@
4
     string id;
5
     string fcp;
6
     CTError err;
7
-    unsigned char id1[9]={{0xd2},{0x76},{0x00},{0x00},{0x25},{0x48},{0x42},{0x01},{0x00}};
8
-    unsigned char id2[9]={{0xd2},{0x76},{0x00},{0x00},{0x25},{0x48},{0x42},{0x02},{0x00}};
9
+    unsigned char id1[9]={0xd2,0x76,0x00,0x00,0x25,0x48,0x42,0x01,0x00};
10
+    unsigned char id2[9]={0xd2,0x76,0x00,0x00,0x25,0x48,0x42,0x02,0x00};
11
 
12
 #if DEBUGMODE>15
13
     fprintf(stderr,"LIBCHIPCARD: Checking type.\n");

Return to bug 60682