Upgrade to 1.2.0-3. Minor improvements. One of our patches got

incorporated.  Hey!

Submitted by:	alfred (very laconicly)
This commit is contained in:
Mikhail Teterin 2002-01-12 08:52:37 +00:00
parent fbb9944500
commit 8c1545f235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52968
3 changed files with 3 additions and 73 deletions

View File

@ -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 @@ MAINTAINER= mi@aldan.algebra.com
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>

View File

@ -1 +1 @@
MD5 (fpx-1.2.0.tar.gz) = 9e431764692083f4b11e999b257bf42a
MD5 (fpx-1.2.0-3.tar.gz) = 37dea1af585c8747c06c9845041afd51

View File

@ -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