SOURCES: dwg2dxf-2.1-shared-files.patch (NEW) - initial

cieciwa cieciwa at pld-linux.org
Thu Jun 16 12:27:48 CEST 2005


Author: cieciwa                      Date: Thu Jun 16 10:27:48 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial

---- Files affected:
SOURCES:
   dwg2dxf-2.1-shared-files.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dwg2dxf-2.1-shared-files.patch
diff -u /dev/null SOURCES/dwg2dxf-2.1-shared-files.patch:1.1
--- /dev/null	Thu Jun 16 12:27:48 2005
+++ SOURCES/dwg2dxf-2.1-shared-files.patch	Thu Jun 16 12:27:43 2005
@@ -0,0 +1,16 @@
+diff -uNr dwg2dxf-2.1.orig/dwg2dxf/main.cpp dwg2dxf-2.1/dwg2dxf/main.cpp
+--- dwg2dxf-2.1.orig/dwg2dxf/main.cpp	2002-08-18 00:49:37.000000000 +0200
++++ dwg2dxf-2.1/dwg2dxf/main.cpp	2005-06-16 11:40:59.000000000 +0200
+@@ -254,10 +254,10 @@
+ 
+   strcpy(initfilepath,argv0);
+   if ((cptr=strrchr(initfilepath,PATHCHAR))==NULL) {
+-    strcpy(initfilepath,"adinit.dat");  /* current dir only */
++    strcpy(initfilepath,"/usr/share/dwg2dxf/adinit.dat");  /* current dir only */
+     return(1);
+   }
+-  strcpy(&cptr[1],"adinit.dat");
++  strcpy(&cptr[1],"/usr/share/dwg2dxf/adinit.dat"); /* thanks to agaran */
+   return(1);
+ }
+ 
================================================================



More information about the pld-cvs-commit mailing list