FreeBSD Bugzilla – Attachment 105719 Details for
Bug 146233
[new port] graphics/apngasm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 3.31 KB, created by
swell.k
on 2010-05-02 12:50:05 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2010-05-02 12:50:05 UTC
Size:
3.31 KB
patch
obsolete
>Index: graphics/Makefile >=================================================================== >RCS file: /a/.cvsup/ports/graphics/Makefile,v >retrieving revision 1.1322 >diff -u -p -r1.1322 Makefile >--- graphics/Makefile 26 Apr 2010 19:27:01 -0000 1.1322 >+++ graphics/Makefile 2 May 2010 11:39:36 -0000 >@@ -31,6 +31,7 @@ > SUBDIR += animorph > SUBDIR += aoi > SUBDIR += aolserver-nsgd >+ SUBDIR += apngasm > SUBDIR += aqsis > SUBDIR += asciio > SUBDIR += autopano-sift >Index: graphics/apngasm/Makefile >=================================================================== >RCS file: graphics/apngasm/Makefile >diff -N graphics/apngasm/Makefile >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/apngasm/Makefile 2 May 2010 11:37:24 -0000 >@@ -0,0 +1,31 @@ >+# New ports collection makefile for: apngasm >+# Date created: 02 May 2010 >+# Whom: Anonymous <swell.k@gmail.com> >+# >+# $FreeBSD$ >+# >+ >+PORTNAME= apngasm >+PORTVERSION= 2.0 >+DISTVERSIONSUFFIX=-src >+CATEGORIES= graphics >+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} >+ >+MAINTAINER= swell.k@gmail.com >+COMMENT= Create Animated PNG from a sequence of files >+ >+LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png >+ >+USE_ZIP= yes >+EXTRACT_AFTER_ARGS=-d ${WRKSRC} >+USE_DOS2UNIX= yes >+PLIST_FILES= bin/${PORTNAME} >+ >+ALL_TARGET= ${PORTNAME} >+MAKEFILE= /dev/null >+CFLAGS+= -I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib >+ >+do-install: .SILENT >+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ >+ >+.include <bsd.port.mk> >Index: graphics/apngasm/distinfo >=================================================================== >RCS file: graphics/apngasm/distinfo >diff -N graphics/apngasm/distinfo >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/apngasm/distinfo 2 May 2010 10:41:22 -0000 >@@ -0,0 +1,3 @@ >+MD5 (apngasm-2.0-src.zip) = eacbeb064219c6e7fe490abe788ab385 >+SHA256 (apngasm-2.0-src.zip) = cc8c33c42115273dc63b7763f8c0b3ab5ec891420fb3ad794b44ade104118c19 >+SIZE (apngasm-2.0-src.zip) = 6807 >Index: graphics/apngasm/pkg-descr >=================================================================== >RCS file: graphics/apngasm/pkg-descr >diff -N graphics/apngasm/pkg-descr >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/apngasm/pkg-descr 2 May 2010 11:28:48 -0000 >@@ -0,0 +1,4 @@ >+Standalone version of the popular APNG Assembler. Simple command-line >+interface. No size limits. >+ >+WWW: http://sourceforge.net/projects/apngasm/ >Index: graphics/apngasm/files/patch-bswap >=================================================================== >RCS file: graphics/apngasm/files/patch-bswap >diff -N graphics/apngasm/files/patch-bswap >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/apngasm/files/patch-bswap 2 May 2010 11:38:21 -0000 >@@ -0,0 +1,13 @@ >+--- apngasm.c~ >++++ apngasm.c >+@@ -39,6 +39,10 @@ inline unsigned int swap32(unsigned int >+ #include <byteswap.h> >+ inline unsigned short swap16(unsigned short data) {return(bswap_16(data));} >+ inline unsigned int swap32(unsigned int data) {return(bswap_32(data));} >++#elif defined(__FreeBSD__) >++#include <sys/endian.h> >++inline unsigned short swap16(unsigned short data) {return(bswap16(data));} >++inline unsigned int swap32(unsigned int data) {return(bswap32(data));} >+ #else >+ inline unsigned short swap16(unsigned short data) {return((data >> 8) | (data << 8));} >+ inline unsigned int swap32(unsigned int data) {return((swap16(data) << 16) | swap16(data >> 16));}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146233
: 105719