1 |
grozin 09/10/01 06:47:16 |
2 |
|
3 |
Added: asymptote-1.87-xdg-utils.patch |
4 |
asymptote-1.87-configure-ac.patch |
5 |
Removed: asymptote-1.85-configure-ac.patch |
6 |
asymptote-1.85-xdg-utils.patch |
7 |
Log: |
8 |
Version bump |
9 |
(Portage version: 2.2_rc42/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.87-xdg-utils.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: asymptote-1.87-xdg-utils.patch |
18 |
=================================================================== |
19 |
Index: asymptote-1.87/settings.cc |
20 |
=================================================================== |
21 |
--- asymptote-1.87.orig/settings.cc |
22 |
+++ asymptote-1.87/settings.cc |
23 |
@@ -82,14 +82,14 @@ mode_t mask; |
24 |
bool msdos=false; |
25 |
string HOME="HOME"; |
26 |
const char pathSeparator=':'; |
27 |
-string defaultPSViewer="gv"; |
28 |
+string defaultPSViewer="xdg-open"; |
29 |
#ifdef __APPLE__ |
30 |
string defaultPDFViewer="open"; |
31 |
#else |
32 |
-string defaultPDFViewer="acroread"; |
33 |
+string defaultPDFViewer="xdg-open"; |
34 |
#endif |
35 |
string defaultGhostscript="gs"; |
36 |
-string defaultDisplay="display"; |
37 |
+string defaultDisplay="xdg-open"; |
38 |
string defaultAnimate="animate"; |
39 |
string systemDir=ASYMPTOTE_SYSDIR; |
40 |
string docdir=ASYMPTOTE_DOCDIR; |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-gfx/asymptote/files/asymptote-1.87-configure-ac.patch |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.87-configure-ac.patch?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.87-configure-ac.patch?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: asymptote-1.87-configure-ac.patch |
50 |
=================================================================== |
51 |
Index: asymptote-1.87/configure.ac |
52 |
=================================================================== |
53 |
--- asymptote-1.87.orig/configure.ac |
54 |
+++ asymptote-1.87/configure.ac |
55 |
@@ -148,7 +148,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then |
56 |
fi |
57 |
CPPFLAGS_SAVE=$CPPFLAGS |
58 |
CPPFLAGS=$CPPFLAGS" $INCL" |
59 |
- AC_CHECK_HEADER(gc.h, |
60 |
+ AC_CHECK_HEADER([gc/gc.h], |
61 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
62 |
LIBS=$LIBS"-lgc " |
63 |
AC_MSG_NOTICE([enabling system $GCNAME])],[ |
64 |
@@ -215,7 +215,17 @@ AC_MSG_ERROR([*** Please install libm on |
65 |
AC_CHECK_LIB([z], [deflate],, |
66 |
AC_MSG_ERROR([*** Please install libz on your system ***])) |
67 |
AC_CHECK_LIB([pthread], [pthread_create]) |
68 |
-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) |
69 |
+ |
70 |
+AC_ARG_WITH(sigsegv, |
71 |
+ [ --with-sigsegv use libsigsegv], |
72 |
+ [with_sigsegv=$withval], |
73 |
+ [with_sigsegv="no"]) |
74 |
+if test "$with_sigsegv" = "yes"; then |
75 |
+AC_CHECK_HEADER([sigsegv.h], |
76 |
+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), |
77 |
+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) |
78 |
+fi |
79 |
+ |
80 |
AC_CHECK_LIB([rt], [sched_yield]) |
81 |
|
82 |
AC_ARG_ENABLE(readline, |