ports/162919: [patch] devel/zziplib: unbreak build with clang

Jan Beich jbeich at tormail.net
Mon Nov 28 10:00:26 UTC 2011


>Number:         162919
>Category:       ports
>Synopsis:       [patch] devel/zziplib: unbreak build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 28 10:00:24 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111122163211.pointyhat-west/zziplib-0.13.60.log
>Fix:
--- clang.diff begins here ---
Index: devel/zziplib/files/patch-configure
===================================================================
RCS file: /a/.csup/ports/devel/zziplib/files/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- devel/zziplib/files/patch-configure	27 Aug 2009 14:46:47 -0000	1.5
+++ devel/zziplib/files/patch-configure	28 Nov 2011 09:34:32 -0000
@@ -18,6 +18,15 @@
    VERSION_INFO="-version-info $MINOR_VERSION:$MICRO_VERSION"
  { $as_echo "$as_me:$LINENO: result: /$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&5
  $as_echo "/$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&6; }
+@@ -13713,7 +13713,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking link options" >&5
+ $as_echo_n "checking link options... " >&6; }
+ ZZIPLIB_LDFLAGS=""
+-test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic"
++test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="${wl}--export-dynamic"
+ RESOLVES=" # "
+ case "$host_os" in mingw*)
+     ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"
 @@ -19280,7 +19280,7 @@ s/:.*/:/
  _EOF
      test ".$USE_MAINTAINER_MODE" = ".no" || \
--- clang.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list