1 |
bicatali 14/06/09 22:09:14 |
2 |
|
3 |
Added: yacas-1.3.4-java-version.patch |
4 |
Log: |
5 |
Fixed missing include version file for java option and forced -j1 until proper fix (bug #511856) |
6 |
|
7 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-mathematics/yacas/files/yacas-1.3.4-java-version.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/files/yacas-1.3.4-java-version.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/files/yacas-1.3.4-java-version.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: yacas-1.3.4-java-version.patch |
16 |
=================================================================== |
17 |
--- JavaYacas/dumpversion.cpp.orig 2014-06-09 12:10:15.095959491 -0700 |
18 |
+++ JavaYacas/dumpversion.cpp 2014-06-09 12:11:09.565339056 -0700 |
19 |
@@ -1,11 +1,11 @@ |
20 |
#include <stdio.h> |
21 |
#include <stdlib.h> |
22 |
-#include "version.h" |
23 |
+#include "yacas/yacas_version.h" |
24 |
|
25 |
int main(int argc, char** argv) |
26 |
{ |
27 |
printf("package net.sf.yacas;\n"); |
28 |
- printf("class CVersion { static String VERSION = \"%s\"; }\n", VERSION); |
29 |
+ printf("class CVersion { static String VERSION = \"%s\"; }\n", YACAS_VERSION); |
30 |
return 0; |
31 |
} |
32 |
|
33 |
--- JavaYacas/makefile.yacas.orig 2014-06-09 12:11:47.516603467 -0700 |
34 |
+++ JavaYacas/makefile.yacas 2014-06-09 15:03:17.329987079 -0700 |
35 |
@@ -32,8 +32,8 @@ |
36 |
.java.class: |
37 |
$(JAVAC) $(JAVACFLAGS) $*.java |
38 |
|
39 |
-net/sf/yacas/CVersion.java: ../src/version.h dumpversion.cpp |
40 |
- $(CXX) $(CXXFLAGS) -I ../src dumpversion.cpp -o dumpversion |
41 |
+net/sf/yacas/CVersion.java: ../include/yacas/yacas_version.h dumpversion.cpp |
42 |
+ $(CXX) $(CXXFLAGS) -I ../include dumpversion.cpp -o dumpversion |
43 |
./dumpversion > net/sf/yacas/CVersion.java |