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.75-configure-ac.patch asymptote-1.75-xdg-utils.patch asymptote-1.72-configure-ac.patch asymptote-1.72-xdg-utils.patch
Date: Tue, 02 Jun 2009 23:05:22
Message-Id: E1MBd2m-0005U0-MO@stork.gentoo.org
1 grozin 09/06/02 23:05:20
2
3 Added: asymptote-1.75-configure-ac.patch
4 asymptote-1.75-xdg-utils.patch
5 Removed: asymptote-1.72-configure-ac.patch
6 asymptote-1.72-xdg-utils.patch
7 Log:
8 Version bump
9 (Portage version: 2.2_rc33/cvs/Linux i686)
10
11 Revision Changes Path
12 1.1 media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch?rev=1.1&content-type=text/plain
16
17 Index: asymptote-1.75-configure-ac.patch
18 ===================================================================
19 Index: asymptote-1.75/configure.ac
20 ===================================================================
21 --- asymptote-1.75.orig/configure.ac
22 +++ asymptote-1.75/configure.ac
23 @@ -145,7 +145,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 @@ -212,7 +212,17 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC
33 AC_CHECK_LIB([m], [sqrt])
34 AC_CHECK_LIB([z], [deflate])
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.75-xdg-utils.patch
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch?rev=1.1&content-type=text/plain
58
59 Index: asymptote-1.75-xdg-utils.patch
60 ===================================================================
61 Index: asymptote-1.75/settings.cc
62 ===================================================================
63 --- asymptote-1.75.orig/settings.cc
64 +++ asymptote-1.75/settings.cc
65 @@ -81,15 +81,15 @@ const bool haveglut=false;
66 bool msdos=false;
67 const char *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 defaultPython;
79 -string defaultDisplay="display";
80 +string defaultDisplay="xdg-open";
81 string systemDir=ASYMPTOTE_SYSDIR;
82 string docdir=ASYMPTOTE_DOCDIR;
83 void queryRegistry() {}