1 |
grozin 09/07/03 11:47:44 |
2 |
|
3 |
Added: asymptote-1.79-xdg-utils.patch |
4 |
asymptote-1.79-configure-ac.patch |
5 |
Removed: asymptote-1.77-configure-ac.patch |
6 |
asymptote-1.77-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.79-xdg-utils.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.79-xdg-utils.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: asymptote-1.79-xdg-utils.patch |
18 |
=================================================================== |
19 |
Index: asymptote-1.79/settings.cc |
20 |
=================================================================== |
21 |
--- asymptote-1.79.orig/settings.cc |
22 |
+++ asymptote-1.79/settings.cc |
23 |
@@ -80,15 +80,15 @@ const bool haveglut=false; |
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 defaultPython; |
37 |
-string defaultDisplay="display"; |
38 |
+string defaultDisplay="xdg-open"; |
39 |
string systemDir=ASYMPTOTE_SYSDIR; |
40 |
string docdir=ASYMPTOTE_DOCDIR; |
41 |
void queryRegistry() {} |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-gfx/asymptote/files/asymptote-1.79-configure-ac.patch |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.79-configure-ac.patch?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/files/asymptote-1.79-configure-ac.patch?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: asymptote-1.79-configure-ac.patch |
51 |
=================================================================== |
52 |
Index: asymptote-1.79/configure.ac |
53 |
=================================================================== |
54 |
--- asymptote-1.79.orig/configure.ac |
55 |
+++ asymptote-1.79/configure.ac |
56 |
@@ -148,7 +148,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then |
57 |
fi |
58 |
CPPFLAGS_SAVE=$CPPFLAGS |
59 |
CPPFLAGS=$CPPFLAGS" $INCL" |
60 |
- AC_CHECK_HEADER(gc.h, |
61 |
+ AC_CHECK_HEADER([gc/gc.h], |
62 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
63 |
LIBS=$LIBS"-lgc " |
64 |
AC_MSG_NOTICE([enabling system $GCNAME])],[ |
65 |
@@ -213,7 +213,17 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC |
66 |
AC_CHECK_LIB([m], [sqrt]) |
67 |
AC_CHECK_LIB([z], [deflate]) |
68 |
AC_CHECK_LIB([pthread], [pthread_create]) |
69 |
-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) |
70 |
+ |
71 |
+AC_ARG_WITH(sigsegv, |
72 |
+ [ --with-sigsegv use libsigsegv], |
73 |
+ [with_sigsegv=$withval], |
74 |
+ [with_sigsegv="no"]) |
75 |
+if test "$with_sigsegv" = "yes"; then |
76 |
+AC_CHECK_HEADER([sigsegv.h], |
77 |
+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), |
78 |
+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) |
79 |
+fi |
80 |
+ |
81 |
AC_CHECK_LIB([rt], [sched_yield]) |
82 |
|
83 |
AC_ARG_ENABLE(readline, |