]> git.pld-linux.org Git - packages/newt.git/commitdiff
- fixes from Conectiva. newt-0_50_35-1
authorkloczek <kloczek@pld-linux.org>
Fri, 18 Jan 2002 08:39:04 +0000 (08:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    newt-gpm-fix.diff -> 1.1
    newt-install_sh.patch -> 1.1
    newt-textbox.patch -> 1.1

newt-gpm-fix.diff [new file with mode: 0644]
newt-install_sh.patch [new file with mode: 0644]
newt-textbox.patch [new file with mode: 0644]

diff --git a/newt-gpm-fix.diff b/newt-gpm-fix.diff
new file mode 100644 (file)
index 0000000..8c75c45
--- /dev/null
@@ -0,0 +1,10 @@
+--- newt-0.50.34/form.c.orig   Sat Mar  6 00:27:57 1999
++++ newt-0.50.34/form.c        Tue Dec 14 12:18:16 1999
+@@ -304,6 +304,7 @@
+     sock_name = 0;
+   } /*if*/
+   gpm_flag=0;
++  gpm_fd=-1;
+   return -1;
+ }
diff --git a/newt-install_sh.patch b/newt-install_sh.patch
new file mode 100644 (file)
index 0000000..e8da920
--- /dev/null
@@ -0,0 +1,12 @@
+--- newt-0.50.34/Makefile.in.orig      Thu Dec 27 11:32:11 2001
++++ newt-0.50.34/Makefile.in   Thu Dec 27 11:33:23 2001
+@@ -110,7 +110,8 @@
+ install-sh: sharedlib whiptcl.so _snackmodule.so
+       [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
+       install -s -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
+-      ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so
++      ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
++      ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
+       install -s -m 755 whiptcl.so $(instroot)/$(libdir)
+       [ -d $(instroot)/$(pythonbindir) ] || install -m 755 -d $(instroot)/$(pythonbindir)
+       install -s -m 755 _snackmodule.so $(instroot)/$(pythonbindir)
diff --git a/newt-textbox.patch b/newt-textbox.patch
new file mode 100644 (file)
index 0000000..908b008
--- /dev/null
@@ -0,0 +1,17 @@
+diff -Nur newt-0.50.5.ORIG/textbox.c newt-0.50.5/textbox.c
+--- newt-0.50.5.ORIG/textbox.c Sun Oct 22 15:17:17 2000
++++ newt-0.50.5/textbox.c      Sun Oct 22 15:19:39 2000
+@@ -332,7 +332,12 @@
+    
+     for (i = 0; (i + tb->topLine) < tb->numLines && i < c->height; i++) {
+       newtGotorc(c->top + i, c->left);
+-      SLsmg_write_string(tb->lines[i + tb->topLine]);
++      SLsmg_write_nstring(tb->lines[i + tb->topLine], c->width);
++    }
++
++    for ( ; i < c->height; i++) {
++          newtGotorc (c->top + i, c->left);
++          SLsmg_write_nstring (" ", c->width);
+     }
+ }
This page took 0.045773 seconds and 4 git commands to generate.