Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2012 07:08:36 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/171366: [PATCH] devel/allegro-devel: Update to recent 4.4.2 Version
Message-ID:  <20120906050840.ABE49106564A@hub.freebsd.org>
Resent-Message-ID: <201209060510.q865A28J040961@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171366
>Category:       ports
>Synopsis:       [PATCH] devel/allegro-devel: Update to recent 4.4.2 Version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 05:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Update to recent 4.4.2 Version, which is needed for some Applications.


Removed file(s):
- files/patch-loadpng.c

In this file is zlib.h and patch isn't more needed

#include <zlib.h>

Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- allegro-devel-4.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/allegro-devel/Makefile ./Makefile
--- /usr/ports/devel/allegro-devel/Makefile	2012-08-16 06:58:18.000000000 +0200
+++ ./Makefile	2012-09-06 06:01:24.000000000 +0200
@@ -6,14 +6,13 @@
 #
 
 PORTNAME=	allegro
-DISTVERSION=	4.4.1.1
-PORTREVISION=	2
+DISTVERSION=	4.4.2
 CATEGORIES=	devel
 MASTER_SITES=	SF/alleg/allegro/${PORTVERSION}
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A cross-platform library for games and multimedia programming
+COMMENT=	Cross-platform library for games and multimedia programming
 
 USE_GMAKE=	yes
 USE_CMAKE=	yes
@@ -32,7 +31,7 @@
 PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"
 CMAKE_ARGS+=	-DDOCDIR="${DOCSDIR}"
 
-SHLIB_VER=	4.4.1
+SHLIB_VER=	4.4.2
 
 PORTSCOUT=	limit:^4\.3\.[0-9]*
 
@@ -44,6 +43,6 @@
 		png15:${PORTSDIR}/graphics/png
 post-install:
 		@cd ${WRKSRC}/docs/man/ && \
-		    ${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
+			${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/allegro-devel/distinfo ./distinfo
--- /usr/ports/devel/allegro-devel/distinfo	2011-01-19 14:06:54.000000000 +0100
+++ ./distinfo	2012-09-06 05:43:36.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (allegro-4.4.1.1.tar.gz) = 4e29884cba88b289da5b22da93e8760d68a197d093b23f61e994f3594760d782
-SIZE (allegro-4.4.1.1.tar.gz) = 4625438
+SHA256 (allegro-4.4.2.tar.gz) = 1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
+SIZE (allegro-4.4.2.tar.gz) = 4674902
diff -ruN --exclude=CVS /usr/ports/devel/allegro-devel/files/patch-CMakeLists.txt ./files/patch-CMakeLists.txt
--- /usr/ports/devel/allegro-devel/files/patch-CMakeLists.txt	2011-08-21 01:03:58.000000000 +0200
+++ ./files/patch-CMakeLists.txt	2012-09-06 05:52:17.000000000 +0200
@@ -1,15 +1,15 @@
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
+--- CMakeLists.txt.orig	2011-03-25 00:18:50.000000000 +0100
++++ CMakeLists.txt	2012-09-06 05:47:14.000000000 +0200
 @@ -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
diff -ruN --exclude=CVS /usr/ports/devel/allegro-devel/files/patch-docs_CMakeLists.txt ./files/patch-docs_CMakeLists.txt
--- /usr/ports/devel/allegro-devel/files/patch-docs_CMakeLists.txt	2011-01-19 14:06:54.000000000 +0100
+++ ./files/patch-docs_CMakeLists.txt	2012-09-06 05:53:22.000000000 +0200
@@ -1,5 +1,5 @@
---- docs/CMakeLists.txt.orig	2010-12-15 13:29:42.000000000 +0600
-+++ docs/CMakeLists.txt	2010-12-15 13:29:49.000000000 +0600
+--- docs/CMakeLists.txt.orig	2009-10-31 00:05:30.000000000 +0100
++++ docs/CMakeLists.txt	2012-09-06 05:48:18.000000000 +0200
 @@ -9,7 +9,7 @@
  endif()
  
diff -ruN --exclude=CVS /usr/ports/devel/allegro-devel/files/patch-loadpng.c ./files/patch-loadpng.c
--- /usr/ports/devel/allegro-devel/files/patch-loadpng.c	2012-06-01 07:17:19.000000000 +0200
+++ ./files/patch-loadpng.c	1970-01-01 01:00:00.000000000 +0100
@@ -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"
--- allegro-devel-4.4.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120906050840.ABE49106564A>