|
|
@ -1,13 +1,11 @@
|
|
|
|
diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0-fedora-new/swig/java/add_javadoc.c
|
|
|
|
diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/add_javadoc.c gdal-3.4.3-fedora-new/swig/java/add_javadoc.c
|
|
|
|
--- gdal-3.4.0-fedora/swig/java/add_javadoc.c 2021-11-04 12:55:39.000000000 +0100
|
|
|
|
--- gdal-3.4.3-fedora/swig/java/add_javadoc.c 2022-04-22 11:02:06.000000000 +0200
|
|
|
|
+++ gdal-3.4.0-fedora-new/swig/java/add_javadoc.c 2021-11-09 11:58:36.600261974 +0100
|
|
|
|
+++ gdal-3.4.3-fedora-new/swig/java/add_javadoc.c 2022-05-04 16:04:11.092237798 +0200
|
|
|
|
@@ -133,22 +133,22 @@ int main(int argc, char* argv[])
|
|
|
|
@@ -142,21 +142,21 @@ int main(int argc, char* argv[])
|
|
|
|
FILE* fDst;
|
|
|
|
|
|
|
|
JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000);
|
|
|
|
JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000);
|
|
|
|
int nInstances = 0;
|
|
|
|
int nInstances = 0;
|
|
|
|
- char szLine[256];
|
|
|
|
char szLine[512];
|
|
|
|
- char szClass[256];
|
|
|
|
- char szClass[256];
|
|
|
|
+ char szLine[512];
|
|
|
|
|
|
|
|
+ char szClass[512];
|
|
|
|
+ char szClass[512];
|
|
|
|
char javadoc[16384];
|
|
|
|
char javadoc[16384];
|
|
|
|
szClass[0] = 0;
|
|
|
|
szClass[0] = 0;
|
|
|
@ -29,9 +27,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (szLine[0] == 10)
|
|
|
|
if (szLine[0] == 10)
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
@@ -188,10 +188,10 @@ begin:
|
|
|
|
@@ -209,10 +209,10 @@ begin:
|
|
|
|
fDst = fopen(szDstName, "wt");
|
|
|
|
continue;
|
|
|
|
if (fDst == NULL) continue;
|
|
|
|
}
|
|
|
|
szClass[0] = 0;
|
|
|
|
szClass[0] = 0;
|
|
|
|
- char szPackage[256];
|
|
|
|
- char szPackage[256];
|
|
|
|
+ char szPackage[512];
|
|
|
|
+ char szPackage[512];
|
|
|
@ -42,48 +40,36 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/add_javadoc.c gdal-3.4.0
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char szMethodName[1024];
|
|
|
|
char szMethodName[1024];
|
|
|
|
char* szOriLine = strdup(szLine);
|
|
|
|
char* szOriLine = strdup(szLine);
|
|
|
|
@@ -224,8 +224,10 @@ begin:
|
|
|
|
@@ -255,7 +255,7 @@ begin:
|
|
|
|
if (strstr(szLine, "synchronized "))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
char* c = strstr(szLine, "synchronized ");
|
|
|
|
|
|
|
|
+ char rest[512];
|
|
|
|
|
|
|
|
+ strcpy(rest, c + 13);
|
|
|
|
|
|
|
|
*c = 0;
|
|
|
|
|
|
|
|
- strcat(szLine, c + 13);
|
|
|
|
|
|
|
|
+ strcat(szLine, rest);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (strstr(szLine, "public") && !strstr(szLine, "native"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
@@ -234,7 +236,7 @@ begin:
|
|
|
|
|
|
|
|
strcpy(szMethodName, szLine);
|
|
|
|
strcpy(szMethodName, szLine);
|
|
|
|
do
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
- fgets(szLine, 255, fSrc);
|
|
|
|
- ignore_ret(fgets(szLine, 255, fSrc));
|
|
|
|
+ fgets(szLine, 511, fSrc);
|
|
|
|
+ ignore_ret(fgets(szLine, 511, fSrc));
|
|
|
|
strcpy(szMethodName + strlen(szMethodName) - 1, szLine);
|
|
|
|
strcpy(szMethodName + strlen(szMethodName) - 1, szLine);
|
|
|
|
} while (!strchr(szMethodName,')'));
|
|
|
|
} while (!strchr(szMethodName,')'));
|
|
|
|
strcpy(szLine, szMethodName);
|
|
|
|
strcpy(szLine, szMethodName);
|
|
|
|
@@ -261,7 +263,7 @@ begin:
|
|
|
|
@@ -282,7 +282,7 @@ begin:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
do
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
- fgets(szLine, 255, fSrc);
|
|
|
|
- ignore_ret(fgets(szLine, 255, fSrc));
|
|
|
|
+ fgets(szLine, 511, fSrc);
|
|
|
|
+ ignore_ret(fgets(szLine, 511, fSrc));
|
|
|
|
} while (!strchr(szLine,'}'));
|
|
|
|
} while (!strchr(szLine,'}'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
@@ -289,7 +291,7 @@ begin:
|
|
|
|
@@ -310,7 +310,7 @@ begin:
|
|
|
|
nBrackets --;
|
|
|
|
nBrackets --;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
- fgets(szLine, 255, fSrc);
|
|
|
|
- ignore_ret(fgets(szLine, 255, fSrc));
|
|
|
|
+ fgets(szLine, 511, fSrc);
|
|
|
|
+ ignore_ret(fgets(szLine, 511, fSrc));
|
|
|
|
} while(bFoundOpen == FALSE || nBrackets > 0);
|
|
|
|
} while(bFoundOpen == FALSE || nBrackets > 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/javadoc.java gdal-3.4.0-fedora-new/swig/java/javadoc.java
|
|
|
|
diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/javadoc.java gdal-3.4.3-fedora-new/swig/java/javadoc.java
|
|
|
|
--- gdal-3.4.0-fedora/swig/java/javadoc.java 2021-11-04 12:55:40.000000000 +0100
|
|
|
|
--- gdal-3.4.3-fedora/swig/java/javadoc.java 2022-04-22 11:02:07.000000000 +0200
|
|
|
|
+++ gdal-3.4.0-fedora-new/swig/java/javadoc.java 2021-11-09 11:58:36.602262013 +0100
|
|
|
|
+++ gdal-3.4.3-fedora-new/swig/java/javadoc.java 2022-05-04 16:04:11.094237621 +0200
|
|
|
|
@@ -11982,12 +11982,12 @@ public interface osrConstants:public fin
|
|
|
|
@@ -11982,12 +11982,12 @@ public interface osrConstants:public fin
|
|
|
|
public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM
|
|
|
|
public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM
|
|
|
|
|
|
|
|
|
|
|
@ -99,9 +85,9 @@ diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/javadoc.java gdal-3.4.0-
|
|
|
|
* or iterative convergence method failed.
|
|
|
|
* or iterative convergence method failed.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN
|
|
|
|
public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN
|
|
|
|
diff -rupN --no-dereference gdal-3.4.0-fedora/swig/java/java.opt gdal-3.4.0-fedora-new/swig/java/java.opt
|
|
|
|
diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/java.opt gdal-3.4.3-fedora-new/swig/java/java.opt
|
|
|
|
--- gdal-3.4.0-fedora/swig/java/java.opt 2021-11-04 12:55:38.000000000 +0100
|
|
|
|
--- gdal-3.4.3-fedora/swig/java/java.opt 2022-04-22 11:02:04.000000000 +0200
|
|
|
|
+++ gdal-3.4.0-fedora-new/swig/java/java.opt 2021-11-09 11:58:36.602262013 +0100
|
|
|
|
+++ gdal-3.4.3-fedora-new/swig/java/java.opt 2022-05-04 16:04:11.094237621 +0200
|
|
|
|
@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc
|
|
|
|
@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc
|
|
|
|
JAVAC=$(JAVA_HOME)/bin/javac
|
|
|
|
JAVAC=$(JAVA_HOME)/bin/javac
|
|
|
|
JAVA=$(JAVA_HOME)/bin/java
|
|
|
|
JAVA=$(JAVA_HOME)/bin/java
|
|
|
|