pkgsrc/mail/smtpfeed/patches/patch-ak
taca eb4e3f21ac Add patches for reduce/resolve compile problem with gcc-4, especially
on NetBSD/powerpc reported by Makoto Fujiwara.

These patches are slightly aggressive adding most of proto type.
So, please report me if there is any problem.

No PKGREVISION bump since it should change nothing for binary package.
2006-07-23 15:00:41 +00:00

23 lines
496 B
Text

$NetBSD: patch-ak,v 1.1 2006/07/23 15:00:41 taca Exp $
--- proctitle.c.orig 2002-01-20 23:19:43.000000000 +0900
+++ proctitle.c
@@ -156,6 +156,8 @@
#endif /* SPT_TYPE != SPT_NONE && SPT_TYPE != SPT_BUILTIN */
+#if SPT_TYPE != SPT_BUILTIN
+
/*
** Pointers for setproctitle.
** This allows "ps" listings to give more useful information.
@@ -211,9 +213,6 @@
LastArgv = argv[argc - 1] + strlen(argv[argc - 1]);
}
-#if SPT_TYPE != SPT_BUILTIN
-
-
/*VARARGS1*/
void
# ifdef __STDC__