Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735658
en ru br
ALT Linux repos
S:0.60-alt36
5.0: 0.60-alt26
4.1: 0.60-alt25
4.0: 0.60-alt25
3.0: 0.60-alt22

Group :: System/Base
RPM: SimplePAMApps

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: SimplePAMApps-0.60-alt-_BSD_SOURCE.patch
Download


--- SimplePAMApps/common/lib/login_indep.c
+++ SimplePAMApps/common/lib/login_indep.c
@@ -1,4 +1,3 @@
-#define _BSD_SOURCE
 #include <string.h>
 #include <stdio.h>
 #include <unistd.h>
--- SimplePAMApps/common/lib/su_indep.c
+++ SimplePAMApps/common/lib/su_indep.c
@@ -1,6 +1,5 @@
 #define ROOT_UID                  0
 
-#define _BSD_SOURCE                  /* for setgroups() and other calls */
 #include <stdlib.h>
 #include <signal.h>
 #include <termios.h>
--- SimplePAMApps/pamapps/login/login.c
+++ SimplePAMApps/pamapps/login/login.c
@@ -20,7 +20,6 @@ static const char rcsid[] =
 " - Login application. <saw@msu.ru>"
 ;
 
-#define _BSD_SOURCE
 #include <ctype.h>
 #include <fcntl.h>
 #include <grp.h>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin