bicatali    14/06/09 22:09:14

  Added:                yacas-1.3.4-java-version.patch
  Log:
  Fixed missing include version file for java option and forced -j1 until 
proper fix (bug #511856)
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 
0x13CB1360)

Revision  Changes    Path
1.1                  sci-mathematics/yacas/files/yacas-1.3.4-java-version.patch

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
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

Index: yacas-1.3.4-java-version.patch
===================================================================
--- JavaYacas/dumpversion.cpp.orig      2014-06-09 12:10:15.095959491 -0700
+++ JavaYacas/dumpversion.cpp   2014-06-09 12:11:09.565339056 -0700
@@ -1,11 +1,11 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include "version.h"
+#include "yacas/yacas_version.h"
 
 int main(int argc, char** argv)
 {
   printf("package net.sf.yacas;\n");
-  printf("class CVersion { static String VERSION = \"%s\"; }\n", VERSION);
+  printf("class CVersion { static String VERSION = \"%s\"; }\n", 
YACAS_VERSION);
   return 0;
 }
 
--- JavaYacas/makefile.yacas.orig       2014-06-09 12:11:47.516603467 -0700
+++ JavaYacas/makefile.yacas    2014-06-09 15:03:17.329987079 -0700
@@ -32,8 +32,8 @@
 .java.class:
        $(JAVAC) $(JAVACFLAGS) $*.java 
 
-net/sf/yacas/CVersion.java: ../src/version.h dumpversion.cpp
-       $(CXX) $(CXXFLAGS) -I ../src dumpversion.cpp -o dumpversion
+net/sf/yacas/CVersion.java: ../include/yacas/yacas_version.h dumpversion.cpp
+       $(CXX) $(CXXFLAGS) -I ../include dumpversion.cpp -o dumpversion
        ./dumpversion > net/sf/yacas/CVersion.java
 
 




Reply via email to