Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
ypserv
0001-use-_PATH_VARRUN-from-paths.h.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-use-_PATH_VARRUN-from-paths.h.patch of Package ypserv
From 77bde21fe32194cfe38d1b1437cfa188e2d390d4 Mon Sep 17 00:00:00 2001 From: Ruediger Meier <ruediger.meier@ga-group.nl> Date: Mon, 21 Nov 2016 20:02:12 +0100 Subject: [PATCH 1/2] use _PATH_VARRUN from paths.h Since 1e5d6333 configure we doesn't check for paths.h anymore. That's why all pidfiles went to /etc instead of /var/run. Normally I would simply add AC_CHECK_HEADERS(paths.h) again but since this project does not check for any other header I simply remove "#if HAVE_PATHS_H". Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl> --- lib/pidfile.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pidfile.h b/lib/pidfile.h index 47c2f67..d524963 100644 --- a/lib/pidfile.h +++ b/lib/pidfile.h @@ -23,9 +23,8 @@ #include "config.h" #endif -#ifdef HAVE_PATHS_H #include <paths.h> -#endif + #ifndef _PATH_VARRUN #define _PATH_VARRUN "/etc/" #endif -- 1.8.5.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor