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

Collapse All | Expand All

(-)Makefile (-4 / +11 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	mdk
4
PORTNAME=	mdk
5
PORTVERSION=	1.2.6
5
PORTVERSION=	1.2.9
6
PORTREVISION=	3
7
CATEGORIES=	lang gnome
6
CATEGORIES=	lang gnome
8
MASTER_SITES=	GNU/${PORTNAME}/v${PORTVERSION}
7
MASTER_SITES=	GNU/${PORTNAME}/v${PORTVERSION}
9
8
Lines 15-20 Link Here
15
USE_GNOME=	glib20 intltool
14
USE_GNOME=	glib20 intltool
16
USES=		gettext ncurses readline gmake pkgconfig
15
USES=		gettext ncurses readline gmake pkgconfig
17
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
TEST_TARGET=	check
18
18
19
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
20
LDFLAGS+=	-L${LOCALBASE}/lib
Lines 30-41 Link Here
30
OPTIONS_DEFAULT=GLADE GUILE
30
OPTIONS_DEFAULT=GLADE GUILE
31
31
32
GLADE_CONFIGURE_ENABLE=	gui
32
GLADE_CONFIGURE_ENABLE=	gui
33
GLADE_USE=		GNOME=libglade2
33
GLADE_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
34
		libfreetype.so:print/freetype2
35
GLADE_USE=		GNOME=cairo,gdkpixbuf2,libglade2
34
GLADE_PLIST_FILES=	bin/gmixvm \
36
GLADE_PLIST_FILES=	bin/gmixvm \
35
			%%DATADIR%%/mixgtk.glade
37
			%%DATADIR%%/mixgtk.glade
36
38
37
GUILE_CONFIGURE_WITH=	guile
39
GUILE_CONFIGURE_WITH=	guile
38
GUILE_LIB_DEPENDS=	libguile.so:lang/guile
40
GUILE_LIB_DEPENDS=	libguile-2.0.so:lang/guile2
39
GUILE_PLIST_FILES=	bin/mixguile \
41
GUILE_PLIST_FILES=	bin/mixguile \
40
			%%DATADIR%%/mixguile.scm \
42
			%%DATADIR%%/mixguile.scm \
41
			%%DATADIR%%/mixguile-commands.scm \
43
			%%DATADIR%%/mixguile-commands.scm \
Lines 45-48 Link Here
45
	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
47
	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
46
		${WRKSRC}/configure
48
		${WRKSRC}/configure
47
49
50
post-patch-GLADE-on:
51
# Fix path in command for default external editor
52
	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
53
		${WRKSRC}/mixgtk/Makefile.in
54
48
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (mdk-1.2.6.tar.gz) = 7fc1aedc68474bed93b3556bdb2acb7f4db6a5513829cf6504eaafc212187595
1
TIMESTAMP = 1450898182
2
SIZE (mdk-1.2.6.tar.gz) = 1103179
2
SHA256 (mdk-1.2.9.tar.gz) = 6c265ddd7436925208513b155e7955e5a88c158cddda72c32714ccf5f3e74430
3
SIZE (mdk-1.2.9.tar.gz) = 1158768
(-)files/patch-mixutils_mixvm__command.c (-20 lines)
Lines 1-20 Link Here
1
--- mixutils/mixvm_command.c.orig	2008-03-20 13:44:32.000000000 +0000
2
+++ mixutils/mixvm_command.c
3
@@ -80,7 +80,7 @@ mix_vm_command_info_t commands[] = {
4
   { "prompt", cmd_prompt_, N_("Set command prompt"), "prompt PROMPT" },
5
   { "shell", cmd_shell_, N_("Execute shell command"), "shell COMMAND" },
6
   { "quit", cmd_quit_, N_("Quit the program"), "quit" },
7
-  { (char *)NULL, (Function *)NULL, (char *)NULL }
8
+  { (char *)NULL, (rl_hook_func_t *)NULL, (char *)NULL }
9
 };
10
 
11
 
12
@@ -217,7 +217,7 @@ mixvm_cmd_init (mix_config_t *config, ch
13
 
14
 #ifdef HAVE_LIBREADLINE
15
   /* Tell the completer that we want a crack first. */
16
-  rl_attempted_completion_function = (CPPFunction *)mixvm_cmd_completion_;
17
+  rl_attempted_completion_function = (rl_completion_func_t *)mixvm_cmd_completion_;
18
 #endif /* HAVE_LIBREADLINE */
19
 
20
   /* initialise the dispatcher */

Return to bug 220560