Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/asymptote/files: asymptote-2.10-configure-ac.patch asymptote-2.10-info.patch asymptote-2.10-xdg-utils.patch
Date: Sun, 29 May 2011 19:39:48
Message-Id: 20110529193936.B1F0A20054@flycatcher.gentoo.org
1 grozin 11/05/29 19:39:36
2
3 Added: asymptote-2.10-configure-ac.patch
4 asymptote-2.10-info.patch
5 asymptote-2.10-xdg-utils.patch
6 Log:
7 Version bump
8
9 (Portage version: 2.2.0_alpha37/cvs/Linux i686)
10
11 Revision Changes Path
12 1.1 media-gfx/asymptote/files/asymptote-2.10-configure-ac.patch
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-configure-ac.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-configure-ac.patch?rev=1.1&content-type=text/plain
16
17 Index: asymptote-2.10-configure-ac.patch
18 ===================================================================
19 Index: asymptote-2.10/configure.ac
20 ===================================================================
21 --- asymptote-2.10.orig/configure.ac
22 +++ asymptote-2.10/configure.ac
23 @@ -150,7 +150,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
24 fi
25 CPPFLAGS_SAVE=$CPPFLAGS
26 CPPFLAGS=$CPPFLAGS" $INCL"
27 - AC_CHECK_HEADER(gc.h,
28 + AC_CHECK_HEADER([gc/gc.h],
29 AC_CHECK_LIB([gc],[GC_malloc],[
30 LIBS=$LIBS"-lgc "
31 AC_MSG_NOTICE([enabling system $GCNAME])],[
32 @@ -218,7 +218,17 @@ AC_MSG_ERROR([*** Please install libm on
33 AC_CHECK_LIB([z], [deflate],,
34 AC_MSG_ERROR([*** Please install libz on your system ***]))
35 AC_CHECK_LIB([pthread], [pthread_create])
36 -AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
37 +
38 +AC_ARG_WITH(sigsegv,
39 + [ --with-sigsegv use libsigsegv],
40 + [with_sigsegv=$withval],
41 + [with_sigsegv="no"])
42 +if test "$with_sigsegv" = "yes"; then
43 +AC_CHECK_HEADER([sigsegv.h],
44 + AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
45 + AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
46 +fi
47 +
48 AC_CHECK_LIB([rt], [sched_yield])
49
50 AC_ARG_ENABLE(readline,
51
52
53
54 1.1 media-gfx/asymptote/files/asymptote-2.10-info.patch
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-info.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-info.patch?rev=1.1&content-type=text/plain
58
59 Index: asymptote-2.10-info.patch
60 ===================================================================
61 Index: asymptote-2.10/doc/asymptote.texi
62 ===================================================================
63 --- asymptote-2.10.orig/doc/asymptote.texi
64 +++ asymptote-2.10/doc/asymptote.texi
65 @@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
66
67 @dircategory Languages
68 @direntry
69 -* asymptote: (asymptote/asymptote). Vector graphics language.
70 +* asymptote: (asymptote). Vector graphics language.
71 @end direntry
72
73 @titlepage
74
75
76
77 1.1 media-gfx/asymptote/files/asymptote-2.10-xdg-utils.patch
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-xdg-utils.patch?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/files/asymptote-2.10-xdg-utils.patch?rev=1.1&content-type=text/plain
81
82 Index: asymptote-2.10-xdg-utils.patch
83 ===================================================================
84 Index: asymptote-2.10/settings.cc
85 ===================================================================
86 --- asymptote-2.10.orig/settings.cc
87 +++ asymptote-2.10/settings.cc
88 @@ -89,14 +89,14 @@ bool msdos=false;
89 string HOME="HOME";
90 string docdir=ASYMPTOTE_DOCDIR;
91 const char pathSeparator=':';
92 -string defaultPSViewer="gv";
93 +string defaultPSViewer="xdg-open";
94 #ifdef __APPLE__
95 string defaultPDFViewer="open";
96 #else
97 -string defaultPDFViewer="acroread";
98 +string defaultPDFViewer="xdg-open";
99 #endif
100 string defaultGhostscript="gs";
101 -string defaultDisplay="display";
102 +string defaultDisplay="xdg-open";
103 string defaultAnimate="animate";
104 void queryRegistry() {}
105 const string dirsep="/";