drop kmem privileges like solaris does, required for gtk+-1.2.10p1
bump pkgname from dan weeks <danimal at danimal.org>
This commit is contained in:
parent
bd5de27813
commit
2b8c942378
@ -1,6 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2002/07/29 03:46:28 jcs Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2002/11/20 01:51:42 jcs Exp $
|
||||
|
||||
DISTNAME= gkrellm-1.2.13
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
HOMEPAGE= http://www.gkrellm.net/
|
||||
COMMENT= "single process stack of system monitors"
|
||||
|
||||
|
17
sysutils/gkrellm/patches/patch-src_main_c
Normal file
17
sysutils/gkrellm/patches/patch-src_main_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1 2002/11/20 01:51:42 jcs Exp $
|
||||
--- src/main.c.orig Tue Nov 19 19:47:46 2002
|
||||
+++ src/main.c Tue Nov 19 19:48:35 2002
|
||||
@@ -1904,12 +1904,12 @@
|
||||
* the folowing function should be performed here just for that reason.
|
||||
*/
|
||||
solaris_list_harddisks();
|
||||
+#endif /* __solaris__ */
|
||||
|
||||
if (setgid(getgid()) != 0) {
|
||||
perror("Failed to drop setgid privilege");
|
||||
return 1;
|
||||
}
|
||||
-#endif /* __solaris__ */
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
gtk_set_locale();
|
Loading…
Reference in New Issue
Block a user