SOURCES: libpano12-build.patch (NEW) - fix build without java
qboosh
qboosh at pld-linux.org
Sat Mar 4 22:55:56 CET 2006
Author: qboosh Date: Sat Mar 4 21:55:56 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build without java
---- Files affected:
SOURCES:
libpano12-build.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libpano12-build.patch
diff -u /dev/null SOURCES/libpano12-build.patch:1.1
--- /dev/null Sat Mar 4 22:55:56 2006
+++ SOURCES/libpano12-build.patch Sat Mar 4 22:55:51 2006
@@ -0,0 +1,35 @@
+--- libpano12-2.8.0/tools/PTcommon.c.orig 2006-02-27 21:37:20.000000000 +0100
++++ libpano12-2.8.0/tools/PTcommon.c 2006-03-04 22:29:56.546068000 +0100
+@@ -1170,12 +1170,10 @@
+
+ }
+
+-#ifdef __Win__
+ void InsertFileName( fullPath *fp, char *fname ){
+ char *c = strrchr((char*)(fp->name), PATH_SEP);
+ if(c != NULL) c++;
+ else c = fp->name;
+ strcpy( c, fname );
+ }
+-#endif
+
+--- libpano12-2.8.0/ptpicker.c.orig 2005-05-07 17:17:07.000000000 +0200
++++ libpano12-2.8.0/ptpicker.c 2006-03-04 22:29:52.805834250 +0100
+@@ -11,7 +11,7 @@
+ int loadProject( fullPath *fspec );
+ int writeProject( AlignInfo *g, fullPath *pFile);
+ int jpathTofullPath( const char* jpath, fullPath *fp );
+-void InsertFileName( fullPath *fp, char *fname );
++static void InsertFileName( fullPath *fp, char *fname );
+ void BackUp();
+ void Restore();
+ void SetAlignInfoDefaults( AlignInfo *a);
+@@ -975,7 +975,7 @@
+ return result;
+ }
+
+-void InsertFileName( fullPath *fp, char *fname ){
++static void InsertFileName( fullPath *fp, char *fname ){
+ #ifdef __Mac__
+ strcpy( (char*)(fp->name), fname );
+ c2pstr( (char*)(fp->name));
================================================================
More information about the pld-cvs-commit
mailing list