openbsd-ports/devel/plib/patches/patch-src_sl_slPortability_h
ajacoutot 5d414bd321 Import plib-1.8.5
PLIB is a suite of portable game librairies.

PLIB includes sound effects, music, a complete 3D engine, font
rendering, a simple Windowing library, a game scripting language, a GUI,
networking, 3D math library and a collection of handy utility functions.
All are 100% portable across nearly all modern computing platforms.
Each library component is fairly independent of the others - so if you
want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing
library, you can.

Based on a submission from Gallon Sylvestre (MAINTAINER)
2008-11-10 22:10:22 +00:00

13 lines
455 B
Plaintext

$OpenBSD: patch-src_sl_slPortability_h,v 1.1.1.1 2008/11/10 22:10:22 ajacoutot Exp $
--- src/sl/slPortability.h.orig Tue Mar 11 03:06:24 2008
+++ src/sl/slPortability.h Sun Nov 9 12:22:37 2008
@@ -51,7 +51,7 @@
#include <limits.h>
#include <math.h>
-#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__)
+#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__) && !defined(__OpenBSD__)
#define SL_USING_OSS_AUDIO 1
#endif