ports/158664: archivers/unadf: Fix build with clang

Guido Falsi mad at madpilot.net
Tue Jul 5 10:10:11 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list