diff options
Diffstat (limited to 'media-libs/libpano12/files/libpano12-2.8.3-insertfilename.patch')
-rw-r--r-- | media-libs/libpano12/files/libpano12-2.8.3-insertfilename.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/media-libs/libpano12/files/libpano12-2.8.3-insertfilename.patch b/media-libs/libpano12/files/libpano12-2.8.3-insertfilename.patch deleted file mode 100644 index d0cd1eec42b4..000000000000 --- a/media-libs/libpano12/files/libpano12-2.8.3-insertfilename.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- PTcommon.c 2006/06/04 21:43:30 1.17 -+++ PTcommon.c 2006/06/06 19:55:49 1.18 -@@ -52,6 +52,18 @@ - - int ptQuietFlag = 0; - -+void InsertFileName( fullPath *fp, char *fname ){ -+#ifdef __Mac__ -+ strcpy( (char*)(fp->name), fname ); -+ c2pstr( (char*)(fp->name)); -+#else -+ char *c = strrchr((char*)(fp->name), PATH_SEP); -+ if(c != NULL) c++; -+ else c = fp->name; -+ strcpy( c, fname ); -+#endif -+} -+ - void tiffErrorHandler(const char* module, const char* fmt, va_list ap) - { - PrintError("Error in TIFF file (%s) ", module); ---- ptpicker.c 2005/05/07 15:17:07 1.9 -+++ ptpicker.c 2006/06/06 19:55:49 1.10 -@@ -11,7 +11,6 @@ - int loadProject( fullPath *fspec ); - int writeProject( AlignInfo *g, fullPath *pFile); - int jpathTofullPath( const char* jpath, fullPath *fp ); --void InsertFileName( fullPath *fp, char *fname ); - void BackUp(); - void Restore(); - void SetAlignInfoDefaults( AlignInfo *a); -@@ -975,18 +974,6 @@ - return result; - } - --void InsertFileName( fullPath *fp, char *fname ){ --#ifdef __Mac__ -- strcpy( (char*)(fp->name), fname ); -- c2pstr( (char*)(fp->name)); --#else -- char *c = strrchr((char*)(fp->name), PATH_SEP); -- if(c != NULL) c++; -- else c = fp->name; -- strcpy( c, fname ); --#endif --} -- - void BackUp() - { - int i; |