Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 04:04:26 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        ports@freebsd.org
Subject:   (forw) libfpx update
Message-ID:  <20020111040426.B7984@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
Update to 1.2.0-3

----- Forwarded message from Alfred Perlstein <bright@mu.org> -----

From: Alfred Perlstein <bright@mu.org>
To: mi@aldan.algebra.com
Subject: libfpx update
Date: Fri, 11 Jan 2002 04:03:07 -0800
Message-ID: <20020111040307.A7984@elvis.mu.org>
User-Agent: Mutt/1.2.5i


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/libfpx/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	22 Dec 2001 20:09:48 -0000	1.2
+++ Makefile	11 Jan 2002 12:08:02 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	fpx
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.0-3
 CATEGORIES=	graphics
 MASTER_SITES=	http://imagemagick.sourceforge.net/http/delegates/ \
 		ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/%SUBDIR%/ \
@@ -31,7 +31,7 @@
 
 LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
 
-WRKSRC=		${WRKDIR}/lib${DISTNAME}
+WRKSRC=		${WRKDIR}/lib${DISTNAME:C/-[^-]*$//}
 
 post-patch:
 	# Replacing references to <malloc.h> with <stdlib.h>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/libfpx/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	10 Mar 2001 20:35:18 -0000	1.1
+++ distinfo	11 Jan 2002 11:50:24 -0000
@@ -1 +1 @@
-MD5 (fpx-1.2.0.tar.gz) = 9e431764692083f4b11e999b257bf42a
+MD5 (fpx-1.2.0-3.tar.gz) = 37dea1af585c8747c06c9845041afd51
Index: files/patch-basics::a_file.h
===================================================================
RCS file: files/patch-basics::a_file.h
diff -N files/patch-basics::a_file.h
--- files/patch-basics::a_file.h	10 Mar 2001 20:35:18 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,70 +0,0 @@
---- basics/a_file.h	Sat Dec 23 17:10:00 2000
-+++ basics/a_file.h	Thu Jan 18 11:41:58 2001
-@@ -46,12 +46,10 @@
- //  Global Functions
- //  ________________
- 
--#ifdef _WINDOWS
- uint16          shortswap(uint16);  // Swap for Big/Little Endian
- uint32          longswap(uint32);   // Swap for Big/Little Endian
- #  define int32swap   longswap
- #  define int16swap   shortswap
--#endif
- 
- //  Classes Declarations
- //  --------------------
-@@ -310,7 +308,6 @@
- 
- #ifdef DEFINE_INT32_FUNCTIONS
- 
--#ifdef _WINDOWS
- inline uint32   longswap( uint32 x )
- {
-   uint32 a, b;
-@@ -318,7 +315,6 @@
-   b = x & 0x0000ffff;
-   return ( ((uint32)shortswap((uint16)b) << 16) | (uint32)shortswap((uint16)a) );
- }
--#endif
- 
- inline Boolean Fichier::Ecriture(int32 ceLong)
- {
-@@ -376,7 +372,6 @@
- 
- 
- // Added by GDN
--#ifdef _WINDOWS
- inline uint16   shortswap( uint16 x )
- {
-   uint16 a, b;
-@@ -384,7 +379,6 @@
-   b = x & 0x00ff;
-   return ( (b << 8) | a );
- }
--#endif
- 
- inline Boolean Fichier::Ecriture(short ceShort)
- {
-@@ -487,9 +481,9 @@
- inline Boolean Fichier::EcritureTableau(short *array, int32 nshort)
- {
-   Boolean ret;
--
-+  int32 i;
- #ifndef __bigEndian
--  for (int32 i = 0; i < nshort; i++)
-+  for (i = 0; i < nshort; i++)
-     array[i] = shortswap (array[i]);
- #endif
- 
-@@ -509,8 +503,9 @@
- inline Boolean Fichier::EcritureTableau( int32 *array, int32 t)
- {
-   Boolean ret;
-+  int32 i;
- #ifndef __bigEndian
--  for (int32 i = 0; i < t; i++)
-+  for (i = 0; i < t; i++)
-     array[i] = int32swap (array[i]);
- #endif
- 

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/

----- End forwarded message -----

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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