Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
kerneloops
kerneloops-0.12-capability.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kerneloops-0.12-capability.patch of Package kerneloops
diff -urp kerneloops-0.12.orig/kerneloops.c kerneloops-0.12/kerneloops.c --- kerneloops-0.12.orig/kerneloops.c 2009-08-15 17:15:07.000000000 -0400 +++ kerneloops-0.12/kerneloops.c 2009-08-15 17:21:57.000000000 -0400 @@ -36,7 +36,7 @@ #include <dbus/dbus.h> #include <dbus/dbus-glib.h> #include <dbus/dbus-glib-lowlevel.h> - +#include <cap-ng.h> /* @@ -172,6 +172,8 @@ int main(int argc, char**argv) return EXIT_FAILURE; } sched_yield(); + capng_clear(CAPNG_SELECT_BOTH); + capng_apply(CAPNG_SELECT_BOTH); loop = g_main_loop_new(NULL, FALSE); dbus_error_init(&error); diff -urp kerneloops-0.12.orig/Makefile kerneloops-0.12/Makefile --- kerneloops-0.12.orig/Makefile 2009-08-15 17:15:07.000000000 -0400 +++ kerneloops-0.12/Makefile 2009-08-15 17:16:25.000000000 -0400 @@ -19,7 +19,7 @@ MY_CFLAGS := `pkg-config --cflags libnot # and that makes the applet load faster and use less memory. # LDF_A := -Wl,--as-needed `pkg-config --libs libnotify gtk+-2.0` -LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -Wl,"-z relro" -Wl,"-z now" +LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -lcap-ng -Wl,"-z relro" -Wl,"-z now" all: kerneloops kerneloops-applet kerneloops.8.gz
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