summaryrefslogtreecommitdiff
path: root/mail/faces/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-25 16:11:27 +0000
committeragc <agc@pkgsrc.org>1998-02-25 16:11:27 +0000
commitb2cd63b75b899554edb5b1e9ac321a0b59bb6aaf (patch)
treea31af41903208840124f5a4aba85e15722f82fb0 /mail/faces/patches
parentd5a9ebf446beba3b36ce2b1dc156ae2497b10edc (diff)
downloadpkgsrc-b2cd63b75b899554edb5b1e9ac321a0b59bb6aaf.tar.gz
Silence some compiler warnings.
Diffstat (limited to 'mail/faces/patches')
-rw-r--r--mail/faces/patches/patch-ae32
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/faces/patches/patch-ae b/mail/faces/patches/patch-ae
new file mode 100644
index 00000000000..595fe41e467
--- /dev/null
+++ b/mail/faces/patches/patch-ae
@@ -0,0 +1,32 @@
+--- filters/rs2icon.c 1998/02/25 13:51:18 1.1
++++ filters/rs2icon.c 1998/02/25 13:51:55
+@@ -21,7 +21,7 @@
+ */
+
+ #include <stdio.h>
+-#ifdef SYSV32 || hpux
++#if defined(SYSV32) || defined(hpux)
+ #include <string.h>
+ #else
+ #include <strings.h>
+--- filters/ikon2icon.c 1998/02/25 13:51:11 1.1
++++ filters/ikon2icon.c 1998/02/25 13:57:09
+@@ -13,12 +13,17 @@
+ * either to the comments or the code of this program, but if reported
+ * to me, then an attempt will be made to fix them.
+ */
++#include <sys/param.h>
+
+ #include <stdio.h>
+
+ #define PATCHLEVEL 1
+
+-#define GETS (void) gets /* To make lint happy. */
++#if (defined(BSD) && BSD >= 199306)
++#define GETS(s) { (void)fgets(s, sizeof(s), stdin); s[sizeof(s) - 1] = 0; }
++#else
++#define GETS(s) (void) gets(s) /* To make lint happy. */
++#endif
+ #define PRINTF (void) printf
+ #define SPRINTF (void) sprintf
+ #define SSCANF (void) sscanf