View | Details | Raw Unified | Return to bug 40289 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/french/xtel/Makefile (-3 / +3 lines)
Lines 21-26 Link Here
21
21
22
USE_IMAKE=	yes
22
USE_IMAKE=	yes
23
USE_XPM=	yes
23
USE_XPM=	yes
24
USE_REINPLACE=	yes
24
25
25
MAN1=	xtel.1 xteld.1
26
MAN1=	xtel.1 xteld.1
26
27
Lines 37-46 Link Here
37
38
38
post-patch:
39
post-patch:
39
.for FILE in ${PATCH_FILES}
40
.for FILE in ${PATCH_FILES}
40
	@${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE}
41
	${CHMOD} u+w ${WRKSRC}/${FILE}
42
	${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/${FILE}
41
.endfor
43
.endfor
42
	find ${WRKSRC} -type f | xargs ${PERL} -pi -e \
43
		"s@#include.*<malloc.h>@#include <stdlib.h>@g"
44
44
45
pre-configure:
45
pre-configure:
46
.if !exists(${PREFIX}/lib/X11/config/host.def)
46
.if !exists(${PREFIX}/lib/X11/config/host.def)
(-)/usr/ports/french/xtel/files/patch-Videotex_Videotex.c (+11 lines)
Line 0 Link Here
1
--- Videotex/Videotex.c.orig	Sun Feb 11 01:13:00 2001
2
+++ Videotex/Videotex.c	Sun Jul  7 13:17:57 2002
3
@@ -22,7 +22,7 @@
4
 /* 
5
  * Widget Videotex:	VideotexWidgetClass
6
  */
7
-#include <malloc.h>
8
+#include <stdlib.h>
9
 #include <ctype.h>
10
 #include <X11/IntrinsicP.h>
11
 #include <X11/StringDefs.h>

Return to bug 40289