ports/148773: [PATCH] graphics/aaphoto: update to 0.38

Horvath Andras han at log69.com
Mon Jul 19 21:00:06 UTC 2010


The following reply was made to PR ports/148773; it has been noted by GNATS.

From: Horvath Andras <han at log69.com>
To: bug-followup at FreeBSD.org
Cc: edwin at FreeBSD.org, Mark Linimon <linimon at lonesome.com>
Subject: Re: ports/148773: [PATCH] graphics/aaphoto: update to 0.38
Date: Mon, 19 Jul 2010 22:53:50 +0200

 --MP_/1=YILoH61CZ=f4bFq.R.YqX
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I created a second patch to test it before i upload. I attach it to
 this e-mail too.
 
 The only thing to change compared to the original would be to apply the
 OpenMP directive and switch only on amd64 and i386 platforms and above
 OS 7.0, otherwise not. If i'm correct, then that should take care of
 other platforms too, where GCC 4.2 is not available with OpenMP support.
 
 
 On Mon, 19 Jul 2010 20:00:22 UT
 Edwin Groothuis <edwin at FreeBSD.org> wrote:
 
 > Maintainer of graphics/aaphoto,
 > 
 > Please note that PR ports/148773 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148773
 > 
 
 --MP_/1=YILoH61CZ=f4bFq.R.YqX
 Content-Type: text/plain; name=patch.txt
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=patch.txt
 
 diff -ru aaphoto.old/Makefile aaphoto/Makefile
 --- aaphoto.old/Makefile	2010-06-03 09:56:16.000000000 +0200
 +++ aaphoto/Makefile	2010-07-19 09:25:46.000000000 +0200
 @@ -6,8 +6,7 @@
  #
  
  PORTNAME=	aaphoto
 -PORTVERSION=	0.37
 -PORTREVISION=	1
 +PORTVERSION=	0.38
  CATEGORIES=	graphics
  MASTER_SITES=	http://log69.com/downloads/
  DISTNAME=	${PORTNAME}_sources_v${PORTVERSION}
 @@ -15,6 +14,8 @@
  MAINTAINER=	han at log69.com
  COMMENT=	Auto Adjust Photo, automatic color correction of photos
  
 +LICENSE=	GPLv3
 +
  LIB_DEPENDS=	jasper:${PORTSDIR}/graphics/jasper \
  		jpeg:${PORTSDIR}/graphics/jpeg \
  		png:${PORTSDIR}/graphics/png
 @@ -31,11 +32,11 @@
  
  .include <bsd.port.pre.mk>
  
 -.if ${ARCH} != "amd64" && ${ARCH} != "i386"
 -BROKEN=		Does not compile on !amd64 and !i386
 -.endif
 -
 -.if ${OSVERSION} >= 700000
 +.if ${OSVERSION} >= 700000 && \
 +	${ARCH} != "ia64" && \
 +	${ARCH} != "powerpc" && \
 +	${ARCH} != "powerpc64" && \
 +	${ARCH} != "sparc64"
  CFLAGS+=	-fopenmp -D__OPENMP__
  .endif
  
 diff -ru aaphoto.old/distinfo aaphoto/distinfo
 --- aaphoto.old/distinfo	2010-05-10 15:16:39.000000000 +0200
 +++ aaphoto/distinfo	2010-07-19 09:16:07.000000000 +0200
 @@ -1,3 +1,3 @@
 -MD5 (aaphoto_sources_v0.37.tar.gz) = f9cfaf7112713cb937f7b3ac1236d077
 -SHA256 (aaphoto_sources_v0.37.tar.gz) = 2efe35c406ea5bd0b8a05a6eab02437c6b3eefbff38d4d74c0f200023c4f7ae4
 -SIZE (aaphoto_sources_v0.37.tar.gz) = 134442
 +MD5 (aaphoto_sources_v0.38.tar.gz) = 99c07a650eda444e753cb611dd0c9d36
 +SHA256 (aaphoto_sources_v0.38.tar.gz) = e2a4de457d957bb80925beb18c79b4128982941dec24f506dfa2d495830ce63e
 +SIZE (aaphoto_sources_v0.38.tar.gz) = 134661
 diff -ru aaphoto.old/files/patch-Makefile.in aaphoto/files/patch-Makefile.in
 --- aaphoto.old/files/patch-Makefile.in	2010-05-23 15:21:24.000000000 +0200
 +++ aaphoto/files/patch-Makefile.in	2010-07-19 09:14:44.000000000 +0200
 @@ -5,7 +5,7 @@
   top_builddir = @top_builddir@
   top_srcdir = @top_srcdir@
  -AM_CFLAGS = -Wall -O2 -D__OPENMP__ -fopenmp
 -+AM_CFLAGS = -Wall -O2 -Wno-unknown-pragmas
 ++AM_CFLAGS = -Wall -O2
   AM_LDFLAGS = -ljasper -ljpeg -lpng -lm
   aaphoto_SOURCES = aaphoto.c
   INCLUDES = 
 
 --MP_/1=YILoH61CZ=f4bFq.R.YqX--



More information about the freebsd-ports-bugs mailing list