Package: src:pygame
Version: 1.9.1release+dfsg-3
Severity: important
Tags: patch
Hi!
I've written a patch to make pygame work on kfreebsd
Regards
Christoph
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-0-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- pygame-1.9.1release+dfsg.orig/src/camera.h
+++ pygame-1.9.1release+dfsg/src/camera.h
@@ -37,8 +37,9 @@
#include <sys/mman.h>
#include <sys/ioctl.h>
+#ifdef __linux__
#include <asm/types.h> /* for videodev2.h */
-
+#endif
#include <linux/videodev2.h>
#endif