mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
media. Kaa modules are based on parts from Freevo and modules created for MeBox. Kaa exists to encourage code sharing between these projects, and to serve as an umbrella for several previously disparate media-related modules in order to make them available from one (unique) namespace. Kaa provides a base module that implements the common features needed for application development, such as mainloop management, timers, signals, callbacks, file descriptor monitors, etc. Kaa's other modules provide specific media-related functionality, such as retrieving metadata on arbitrary media files (kaa.metadata, previously called mmpython), Python wrappers for Imlib2, Xine, and Evas, and many other high level APIs for easily creating applications that deal with video and audio. Kaa is named after the python character in the Jungle Book by Rudyard Kipling. WWW: http://doc.freevo.org/2.0/Kaa PR: ports/130522 Submitted by: J.R. Oldroyd <fbsd at opal.com>
17 lines
583 B
C
17 lines
583 B
C
--- src/extensions/shmmodule.c.orig Sat Mar 10 11:49:38 2007
|
|
+++ src/extensions/shmmodule.c Sat Mar 10 16:59:55 2007
|
|
@@ -114,12 +114,13 @@
|
|
|
|
/* Uncomment the following line if <sys/sem.h> defines "union semun" */
|
|
|
|
-/* #define HAVE_UNION_SEMUN */
|
|
+#define HAVE_UNION_SEMUN
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
#include "Python.h"
|
|
#include "structmember.h"
|
|
|
|
+#include <machine/param.h>
|
|
#include <sys/types.h>
|
|
#include <sys/ipc.h> /* for system's IPC_xxx definitions */
|
|
#include <sys/shm.h> /* for shmget, shmat, shmdt, shmctl */
|