Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2005 01:37:02 -0300 (BRT)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danfe@FreeBSD.org
Subject:   ports/83543: Update port: archivers/dzip fix build on 4.x pointed by pointyhat
Message-ID:  <20050716043702.322585626@corp.grupos.com.br>
Resent-Message-ID: <200507160440.j6G4eEJa042883@freefall.freebsd.org>

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

>Number:         83543
>Category:       ports
>Synopsis:       Update port: archivers/dzip fix build on 4.x pointed by pointyhat
>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:   Sat Jul 16 04:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Jul 11 10:07:29 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386


	
>Description:

- Fix build on 4.x pointed by pointyhat.

	
>How-To-Repeat:
	
>Fix:

	

--- dzip.patch begins here ---
diff -ruN dzip.orig/Makefile dzip/Makefile
--- dzip.orig/Makefile	Tue Jun  7 15:15:25 2005
+++ dzip/Makefile	Sat Jul 16 01:34:31 2005
@@ -27,8 +27,8 @@
 post-extract:
 	@${FIND} -E ${WRKDIR} -type f -print0 | \
 		${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
-	@${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if _BYTE_ORDER == _BIG_ENDIAN/' \
-		-e 's/ifndef BIG_ENDIAN/if _BYTE_ORDER == _LITTLE_ENDIAN/' \
+	@${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \
+		-e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \
 		${WRKSRC}/dzip.h ${WRKSRC}/conmain.c ${WRKSRC}/dzip.h
 	@${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${WRKSRCK}/${MAKEFILE}
 
--- dzip.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?20050716043702.322585626>