ports/159270: [PATCH] multimedia/smpeg: fix build with clang

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Jul 28 20:20:08 UTC 2011


>Number:         159270
>Category:       ports
>Synopsis:       [PATCH] multimedia/smpeg: 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:   Thu Jul 28 20:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar  8 09:48:52 MSK
>Description:
This fixes configure error when smpeg is build with clang:

http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/smpeg-0.4.4_8.log

Port maintainer (acm at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- smpeg-0.4.4_8.patch begins here ---
Index: files/patch-configure
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/smpeg/files/patch-configure,v
retrieving revision 1.1
diff -u -u -r1.1 patch-configure
--- files/patch-configure	2 Jul 2002 12:43:46 -0000	1.1
+++ files/patch-configure	28 Jul 2011 20:07:14 -0000
@@ -3,6 +3,15 @@
 
 --- configure	2002/07/02 12:33:37	1.1
 +++ configure	2002/07/02 12:34:01
+@@ -1055,7 +1055,7 @@
+ #line 1056 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
 @@ -2335,6 +2335,7 @@
  
  CFLAGS="$CFLAGS $SDL_CFLAGS"
--- smpeg-0.4.4_8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list