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-1.86-configure-ac.patch asymptote-1.86-xdg-utils.patch asymptote-1.83-configure-ac.patch asymptote-1.83-xdg-utils.patch
Date: Mon, 07 Sep 2009 11:02:37
Message-Id: E1MkbzX-0005X4-74@stork.gentoo.org
1 grozin 09/09/07 11:02:35
2
3 Added: asymptote-1.86-configure-ac.patch
4 asymptote-1.86-xdg-utils.patch
5 Removed: asymptote-1.83-configure-ac.patch
6 asymptote-1.83-xdg-utils.patch
7 Log:
8 Version bump
9 (Portage version: 2.2_rc40/cvs/Linux i686)
10
11 Revision Changes Path
12 1.1 media-gfx/asymptote/files/asymptote-1.86-configure-ac.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.86-configure-ac.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.86-configure-ac.patch?rev=1.1&content-type=text/plain
16
17 Index: asymptote-1.86-configure-ac.patch
18 ===================================================================
19 Index: asymptote-1.86/configure.ac
20 ===================================================================
21 --- asymptote-1.86.orig/configure.ac
22 +++ asymptote-1.86/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 @@ -217,7 +217,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-1.86-xdg-utils.patch
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.86-xdg-utils.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.86-xdg-utils.patch?rev=1.1&content-type=text/plain
58
59 Index: asymptote-1.86-xdg-utils.patch
60 ===================================================================
61 Index: asymptote-1.86/settings.cc
62 ===================================================================
63 --- asymptote-1.86.orig/settings.cc
64 +++ asymptote-1.86/settings.cc
65 @@ -82,14 +82,14 @@ mode_t mask;
66 bool msdos=false;
67 string HOME="HOME";
68 const char pathSeparator=':';
69 -string defaultPSViewer="gv";
70 +string defaultPSViewer="xdg-open";
71 #ifdef __APPLE__
72 string defaultPDFViewer="open";
73 #else
74 -string defaultPDFViewer="acroread";
75 +string defaultPDFViewer="xdg-open";
76 #endif
77 string defaultGhostscript="gs";
78 -string defaultDisplay="display";
79 +string defaultDisplay="xdg-open";
80 string defaultAnimate="animate";
81 string systemDir=ASYMPTOTE_SYSDIR;
82 string docdir=ASYMPTOTE_DOCDIR;