pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/qterm
Module Name: pkgsrc
Committed By: nia
Date: Fri Aug 30 14:17:07 UTC 2019
Modified Files:
pkgsrc/misc/qterm: distinfo
Added Files:
pkgsrc/misc/qterm/patches: patch-qterm.h
Log Message:
qterm: Fix building terrifying K&R C with compilers made in this decade.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/misc/qterm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/qterm/patches/patch-qterm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/qterm/distinfo
diff -u pkgsrc/misc/qterm/distinfo:1.8 pkgsrc/misc/qterm/distinfo:1.9
--- pkgsrc/misc/qterm/distinfo:1.8 Thu Apr 21 16:11:16 2016
+++ pkgsrc/misc/qterm/distinfo Fri Aug 30 14:17:07 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2016/04/21 16:11:16 jperkin Exp $
+$NetBSD: distinfo,v 1.9 2019/08/30 14:17:07 nia Exp $
SHA1 (qterm-ac-1.0.tar.gz) = 2603f57265f62b144418ff4a283fc3454f9dcb4c
RMD160 (qterm-ac-1.0.tar.gz) = 6234e96caff468ba5dd13babb6a0b2e33dcbd3d4
@@ -6,3 +6,4 @@ SHA512 (qterm-ac-1.0.tar.gz) = 3bbebf368
Size (qterm-ac-1.0.tar.gz) = 42415 bytes
SHA1 (patch-aa) = c4ea95bc88749f71c6b54ff7bf1721cde4154310
SHA1 (patch-ab) = 49c741feed2bab08084fba6c9880a4e29e2db62c
+SHA1 (patch-qterm.h) = 736872931cddaf3e2d7b9704d099091a6cf04647
Added files:
Index: pkgsrc/misc/qterm/patches/patch-qterm.h
diff -u /dev/null pkgsrc/misc/qterm/patches/patch-qterm.h:1.1
--- /dev/null Fri Aug 30 14:17:07 2019
+++ pkgsrc/misc/qterm/patches/patch-qterm.h Fri Aug 30 14:17:07 2019
@@ -0,0 +1,36 @@
+$NetBSD: patch-qterm.h,v 1.1 2019/08/30 14:17:07 nia Exp $
+
+Fix build with modern C compilers.
+
+--- qterm.h.orig 1997-04-11 13:25:04.000000000 +0000
++++ qterm.h
+@@ -10,6 +10,7 @@
+
+ #ifndef __qterm_h__
+ #define __qterm_h__
++#include <string.h>
+
+ #ifndef TABFILE
+ # define TABFILE "/usr/local/etc/qtermtab" /* Default qtermtab file */
+@@ -77,7 +78,6 @@ char *strerror();
+ char *xmalloc();
+ extern char *ProgName;
+ extern char *TermFile;
+-extern char *strcpy();
+ extern int Debug;
+ extern int DoSysTabFile;
+ extern int DoUsrTabFile;
+@@ -87,7 +87,12 @@ void AlarmOff();
+ void Done();
+ void MakeTable();
+ void SetupSignals();
+-
++int ReadTabFile();
++int SetTtyModes();
++int UnSetTtyModes();
++char *FixCntrl();
++int StrToArgs();
++int RegExMatch();
+ #ifdef HAVE_STDARG_H
+ void Error(char *fmt, ...);
+ void dprintf(char *fmt, ...);
Home |
Main Index |
Thread Index |
Old Index