From 663b6919fb370647e365bf73a369211c90e8eda6 Mon Sep 17 00:00:00 2001 From: reinoud Date: Mon, 20 Feb 2012 15:40:55 +0000 Subject: Forgot to add the new patches for allegro-4.2.2 --- devel/allegro/patches/patch-CMakeLists.txt | 12 ++++++++++++ devel/allegro/patches/patch-docs_CMakeLists.txt | 13 +++++++++++++ devel/allegro/patches/patch-xdga2-include | 13 +++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 devel/allegro/patches/patch-CMakeLists.txt create mode 100644 devel/allegro/patches/patch-docs_CMakeLists.txt create mode 100644 devel/allegro/patches/patch-xdga2-include (limited to 'devel') diff --git a/devel/allegro/patches/patch-CMakeLists.txt b/devel/allegro/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..c9326ad3a2e --- /dev/null +++ b/devel/allegro/patches/patch-CMakeLists.txt @@ -0,0 +1,12 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2012/02/20 15:40:55 reinoud Exp $ + +--- CMakeLists.txt.orig 2011-03-24 23:18:50.000000000 +0000 ++++ CMakeLists.txt +@@ -434,6 +434,7 @@ if(ALLEGRO_UNIX) # not MACOSX + set(ALLEGRO_WITH_OSSDIGI 1) + set(ALLEGRO_WITH_OSSMIDI 1) + include_directories(SYSTEM ${OSS_INCLUDE_DIR}) ++ list(APPEND PLATFORM_LIBS ossaudio) + endif(OSS_FOUND) + endif(WANT_OSS) + diff --git a/devel/allegro/patches/patch-docs_CMakeLists.txt b/devel/allegro/patches/patch-docs_CMakeLists.txt new file mode 100644 index 00000000000..26ce5c9e087 --- /dev/null +++ b/devel/allegro/patches/patch-docs_CMakeLists.txt @@ -0,0 +1,13 @@ +$NetBSD: patch-docs_CMakeLists.txt,v 1.1 2012/02/20 15:40:55 reinoud Exp $ + +--- docs/CMakeLists.txt.orig 2009-10-30 23:05:30.000000000 +0000 ++++ docs/CMakeLists.txt +@@ -8,7 +8,7 @@ if(NOT WANT_DOCS OR CMAKE_CROSSCOMPILING + return() + endif() + +-set(DOCDIR "doc" CACHE STRING "Install docs into $DOCDIR/allegro-$VERSION") ++set(DOCDIR "share/doc" CACHE STRING "Install docs into $DOCDIR/allegro-$VERSION") + set(ACTUAL_DOC_DIR "${DOCDIR}/allegro-${ALLEGRO_VERSION}") + + add_executable(makedoc diff --git a/devel/allegro/patches/patch-xdga2-include b/devel/allegro/patches/patch-xdga2-include new file mode 100644 index 00000000000..8c16402ab96 --- /dev/null +++ b/devel/allegro/patches/patch-xdga2-include @@ -0,0 +1,13 @@ +$NetBSD: patch-xdga2-include,v 1.1 2012/02/20 15:40:55 reinoud Exp $ + +--- src/x/xdga2.c.orig 2007-03-24 15:02:01.000000000 +0000 ++++ src/x/xdga2.c +@@ -23,7 +23,7 @@ + #if (defined ALLEGRO_XWINDOWS_WITH_XF86DGA2) && ((!defined ALLEGRO_WITH_MODULES) || (defined ALLEGRO_MODULE)) + + #include +-#include ++#include + + + #define RESYNC() XDGASync(_xwin.display, _xwin.screen); -- cgit v1.2.3