pkgsrc/audio/xmms-alarm/patches/patch-aa
wiz 549de8dd99 Initial import of xmms-alarm, provided by Michal Pasternak in PR 21875.
Changes: use SHLIBTOOL_OVERRIDE instead of obsolete LTCONFIG_OVERRIDE;
fill PLIST (!); run pkglint and fix errors.

This plugin allows your XMMS be used as an alarm clock. Various settings are
available (like, for example, volume fading-in time).
2003-08-12 07:10:07 +00:00

13 lines
522 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/08/12 07:10:07 wiz Exp $
--- src/alarm.c~ Fri Jun 13 21:51:30 2003
+++ src/alarm.c Fri Jun 13 21:56:46 2003
@@ -750,7 +750,7 @@
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED);
- pthread_attr_setschedpolicy(&attr, SCHED_OTHER);
+/* pthread_attr_setschedpolicy(&attr, SCHED_OTHER); */
pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM);
pthread_create(&tid, &attr, start_routine, args);