- apply patches for files/, that I forgot in previous commit, to fix build

Reported by:	beatmail (pointyhat)
This commit is contained in:
Ruslan Makhmatkhanov 2012-09-21 07:09:29 +00:00
parent ac54f274cc
commit 55c99b07ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304609
2 changed files with 2 additions and 12 deletions

View file

@ -3,13 +3,13 @@
@@ -66,7 +66,7 @@
endif(WIN32)
set(ALLEGRO_VERSION 4.4.1)
set(ALLEGRO_VERSION 4.4.2)
-string(REGEX MATCH "^[0-9]+[.][0-9]+" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
+string(REGEX MATCH "^[0-9]" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
# Mac OS X -compatibility_version.
# XXX doesn't seem to work
@@ -884,7 +884,7 @@
@@ -961,7 +961,7 @@
@ONLY
)
install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc

View file

@ -1,10 +0,0 @@
--- addons/loadpng/loadpng.c.orig 2010-03-03 04:18:36.000000000 +0100
+++ addons/loadpng/loadpng.c 2012-04-25 19:36:29.000000000 +0200
@@ -6,6 +6,7 @@
#include <png.h>
+#include <zlib.h>
#include <allegro.h>
#include <allegro/internal/aintern.h>
#include "loadpng.h"