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

(-)math/graphthing/Makefile (-3 / +8 lines)
Lines 8-14 Link Here
8
8
9
PORTNAME=	graphthing
9
PORTNAME=	graphthing
10
PORTVERSION=	1.3.2
10
PORTVERSION=	1.3.2
11
PORTREVISION=	6
11
PORTREVISION=	7
12
CATEGORIES=	math
12
CATEGORIES=	math
13
MASTER_SITES=	http://graph.seul.org/
13
MASTER_SITES=	http://graph.seul.org/
14
14
Lines 21-37 Link Here
21
USE_BZIP2=	yes
21
USE_BZIP2=	yes
22
USE_GNOME=	gtk20
22
USE_GNOME=	gtk20
23
USE_BISON=	build
23
USE_BISON=	build
24
USE_GMAKE=	yes
24
USE_WX=		2.6+
25
USE_WX=		2.6
26
WX_CONF_ARGS=	absolute
25
WX_CONF_ARGS=	absolute
26
USE_GMAKE=	yes
27
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
28
MAKEFILE=	GNUmakefile
28
MAKEFILE=	GNUmakefile
29
MAKE_JOBS_SAFE=	yes
29
30
30
PLIST_FILES=	bin/graphthing bin/gt
31
PLIST_FILES=	bin/graphthing bin/gt
31
32
32
CPPFLAGS+=	${PTHREAD_CFLAGS}
33
CPPFLAGS+=	${PTHREAD_CFLAGS}
33
LDFLAGS+=	${PTHREAD_LIBS}
34
LDFLAGS+=	${PTHREAD_LIBS}
34
35
36
post-patch:
37
	@${REINPLACE_CMD} -e \
38
		's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in
39
35
do-install:
40
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin
41
	${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin
37
	${LN} -sf graphthing ${PREFIX}/bin/gt
42
	${LN} -sf graphthing ${PREFIX}/bin/gt
(-)math/graphthing/files/patch-src__fancyfileselection.cc (+22 lines)
Line 0 Link Here
1
--- src/fancyfileselection.cc.orig	2006-09-11 10:32:12.000000000 +0900
2
+++ src/fancyfileselection.cc	2012-02-13 23:12:49.000000000 +0900
3
@@ -21,6 +21,10 @@
4
 	{ "Postscript", ".ps" }
5
 };
6
 
7
+#if !WXWIN_COMPATIBILITY_2_4
8
+# define wxHIDE_READONLY 0
9
+#endif
10
+
11
 FancyFileSelection::FancyFileSelection (wxWindow *parent, const wxString &title,
12
 					long style, bool file_types,
13
 					const wxString &mask)
14
@@ -30,7 +34,7 @@
15
 		style |= wxHIDE_READONLY;
16
 	else if (style & wxSAVE)
17
 		style |= wxOVERWRITE_PROMPT;
18
-	SetStyle (style);
19
+	SetWindowStyle (style);
20
 
21
 	if (file_types) {
22
 		wxString wc = wxT("");

Return to bug 166044