Date: Tue, 5 Jul 2011 12:03:50 +0200 (CEST) From: Guido Falsi <mad@madpilot.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158664: archivers/unadf: Fix build with clang Message-ID: <20110705100350.140FD1510@megatron.madpilot.net> Resent-Message-ID: <201107051010.p65AAB3K043365@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158664 >Category: ports >Synopsis: archivers/unadf: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 05 10:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 8.2-STABLE amd64 >Organization: none >Environment: System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64 >Description: Fix build with clang on 9-CURRENT. >How-To-Repeat: >Fix: diff -ruN unadf.old/files/patch-Lib::myconf unadf/files/patch-Lib::myconf --- unadf.old/files/patch-Lib::myconf 2011-07-05 11:43:04.000000000 +0200 +++ unadf/files/patch-Lib::myconf 2011-07-05 11:50:54.000000000 +0200 @@ -1,7 +1,11 @@ ---- Lib/myconf Sat Aug 19 03:08:08 2000 -+++ Lib/myconf.new Mon Jun 23 01:32:48 2003 -@@ -31,17 +31,17 @@ - gcc myctest.c -o myctest +--- Lib/myconf.orig 2000-08-19 03:08:08.000000000 +0200 ++++ Lib/myconf 2011-07-05 11:45:16.000000000 +0200 +@@ -28,20 +28,20 @@ + + END + +-gcc myctest.c -o myctest ++$CC myctest.c -o myctest rm myctest.c -if [ `myctest |cut -d' ' -f 1` != 4 ] @@ -22,4 +26,3 @@ then echo "#ifndef LITT_ENDIAN" >defendian.h echo "#define LITT_ENDIAN 1" >>defendian.h - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110705100350.140FD1510>