summaryrefslogtreecommitdiff
path: root/sci-biology/emboss/files/emboss-6.6.0_plplot-declarations.patch
blob: 15f5f967a07ddaf14a57c39e1143011c70a463bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- EMBOSS-6.6.0/ajax/graphics/ajgraph.c
+++ EMBOSS-6.6.0/ajax/graphics/ajgraph.c
@@ -49,7 +49,7 @@
 
 #define GRAPH_DEBUG 1
 
-#include "plplotP.h"
+#include <plplotP.h>
 
 
 static void     GraphArray(ajuint numofpoints,
@@ -964,10 +964,10 @@
     if(!thys->ready)
     {
 #if GRAPH_DEBUG
-        ajDebug("=g= plxsfnam ('%S', '%s')\n", txt, ext);
+        ajDebug("=g= plsfnam ('%S')\n", txt);
 #endif
 
-        plxsfnam(ajStrGetPtr(txt), ext);
+        plsfnam(ajStrGetPtr(txt));
         ajStrAssignS(&graphBasename, txt);
         ajStrAssignC(&graphExtension, ext);
         if(ajStrGetCharFirst(graphExtension) == '.')
@@ -1213,10 +1213,10 @@
 void ajGraphicsSetPenwidth(float penwidth)
 {
 #if GRAPH_DEBUG
-    ajDebug("=g= plwid(%.2f) [width]\n", penwidth);
+    ajDebug("=g= c_plwidth(%.2f) [width]\n", penwidth);
 #endif
 
-    plwid((PLINT)penwidth);
+    c_plwidth((PLINT)penwidth);
 
     return;
 }
@@ -1538,10 +1538,10 @@
 static void GraphSetPen(ajint colour)
 {
 #if GRAPH_DEBUG
-    ajDebug("=g= plcol(%d '%s') [colour]\n", colour, graphColourName[colour]);
+    ajDebug("=g= plcol0(%d '%s') [colour]\n", colour, graphColourName[colour]);
 #endif
 
-    plcol((PLINT)colour);
+    plcol0((PLINT)colour);
 
     return;
 }
--- EMBOSS-6.6.0/ajax/graphics/ajgraph.h
+++ EMBOSS-6.6.0/ajax/graphics/ajgraph.h
@@ -32,7 +32,7 @@
 /* ========================================================================= */
 
 #include "ajdefine.h"
-#include "plplot.h"
+#include <plplot.h>
 #include "ajgraphstruct.h"
 #include "ajdefine.h"
 #include "ajstr.h"