Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584846
 поиск   регистрация   авторизация 
 
Группа :: Науки/Математика
Пакет: dstool_tk

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: dstooltk_2.0-4-debian-misc.patch


diff -ruN dstool_tk/config/Makedefs.linux dstooltk_2.0-4/config/Makedefs.linux
--- dstool_tk/config/Makedefs.linux	2004-04-30 18:17:38 +0300
+++ dstooltk_2.0-4/config/Makedefs.linux	1998-10-01 05:56:49 +0300
@@ -6,6 +6,7 @@
        CC = cc
    WFLAGS = -Wall
 
- TCL_INCLUDES = -I/usr/include/tcl
+# TCL_INCLUDES = -I/usr/include/tcl
+ TCL_INCLUDES = -I/usr/include
  X11_LIBS = -L/usr/X11R6/lib -lX11
  OTHER_SYS_LIBS = -ldl
diff -ruN dstool_tk/config/Makefile.defs dstooltk_2.0-4/config/Makefile.defs
--- dstool_tk/config/Makefile.defs	1997-03-18 22:50:26 +0200
+++ dstooltk_2.0-4/config/Makefile.defs	1998-10-01 05:56:47 +0300
@@ -15,8 +15,9 @@
 #
 
 
-  TCL_INCLUDES = -I/usr/local/include
-  TCL_LIBS = -L/usr/local/lib -ltk -ltcl
+#  TCL_INCLUDES = -I/usr/local/include
+#  TCL_LIBS = -L/usr/local/lib -ltk -ltcl
+  TCL_LIBS = -ltk8.0 -ltcl8.0
 
 
 #
diff -ruN dstool_tk/src/include/defaults.h dstooltk_2.0-4/src/include/defaults.h
--- dstool_tk/src/include/defaults.h	1998-03-12 07:46:18 +0200
+++ dstooltk_2.0-4/src/include/defaults.h	1998-10-01 07:57:45 +0300
@@ -41,7 +41,7 @@
 #define CONFIG_FILENAME "dstool.config"
 
 /* name of geomview executable */
-#define GEOMVIEW_EXECUTABLE "gv"
+#define GEOMVIEW_EXECUTABLE "geomview"
 
 /* multiple */
 #define MULT_RADIUS_FACTOR 0.01
diff -ruN dstool_tk/src/utilities/interrupt.c dstooltk_2.0-4/src/utilities/interrupt.c
--- dstool_tk/src/utilities/interrupt.c	2004-04-30 18:19:10 +0300
+++ dstooltk_2.0-4/src/utilities/interrupt.c	1998-10-01 05:57:07 +0300
@@ -32,11 +32,17 @@
  */
 
 #include <sys/time.h>
+#include <sys/times.h>
 
 #include <constants.h>
 #include <utilities.h>
 
 static int stop_flag;
+
+/*
+struct timeval lasttime = {0,0};
+struct timezone tz = {0, DST_NONE};
+*/
 struct timeval lasttime = {0,0};
 struct timezone tz = {0, 0};
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005