FreeBSD Bugzilla – Attachment 138235 Details for
Bug 184150
Patch to Allow irc/unreal to Run When Compiled with Clang/LLVM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.87 KB, created by
Ryan Frederick
on 2013-11-21 21:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ryan Frederick
Created:
2013-11-21 21:10:00 UTC
Size:
1.87 KB
patch
obsolete
>diff -ruN unreal.old/files/patch-configure unreal/files/patch-configure >--- unreal.old/files/patch-configure 1969-12-31 18:00:00.000000000 -0600 >+++ unreal/files/patch-configure 2013-11-21 14:38:32.673603000 -0600 >@@ -0,0 +1,20 @@ >+--- configure 2013-04-05 09:29:24.000000000 -0500 >++++ configure 2013-11-21 14:14:43.831143243 -0600 >+@@ -6356,7 +6356,7 @@ >+ >+ >+ hold_cflags=$CFLAGS >+-CFLAGS="$CFLAGS -export-dynamic" >++CFLAGS="$CFLAGS -Wl,-export-dynamic" >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need the -export-dynamic flag" >&5 >+ $as_echo_n "checking if we need the -export-dynamic flag... " >&6; } >+ if ${ac_cv_export_dynamic+:} false; then : >+@@ -6395,7 +6395,7 @@ >+ else >+ >+ if test "$ac_cv_c_compiler_gnu" = "yes"; then >+- ac_cv_pic="-fPIC -DPIC -shared" >++ ac_cv_pic="-std=gnu89 -fPIC -DPIC -shared" >+ case `uname -s` in >+ Darwin*) >+ ac_cv_pic="-bundle -flat_namespace -undefined suppress" >diff -ruN unreal.old/files/patch-configure.ac unreal/files/patch-configure.ac >--- unreal.old/files/patch-configure.ac 1969-12-31 18:00:00.000000000 -0600 >+++ unreal/files/patch-configure.ac 2013-11-21 14:38:56.017645000 -0600 >@@ -0,0 +1,20 @@ >+--- configure.ac 2013-04-05 09:29:24.000000000 -0500 >++++ configure.ac 2013-11-21 14:15:13.421756932 -0600 >+@@ -107,7 +107,7 @@ >+ ])]) >+ >+ hold_cflags=$CFLAGS >+-CFLAGS="$CFLAGS -export-dynamic" >++CFLAGS="$CFLAGS -Wl,-export-dynamic" >+ AC_CACHE_CHECK(if we need the -export-dynamic flag, ac_cv_export_dynamic, [ >+ AC_TRY_LINK(, [int i];, ac_cv_export_dynamic=yes, ac_cv_export_dynamic=no)]) >+ if test "$ac_cv_export_dynamic" = "no"; then >+@@ -116,7 +116,7 @@ >+ >+ AC_CACHE_CHECK(for compiler option to produce PIC,ac_cv_pic,[ >+ if test "$ac_cv_prog_gcc" = "yes"; then >+- ac_cv_pic="-fPIC -DPIC -shared" >++ ac_cv_pic="-std=gnu89 -fPIC -DPIC -shared" >+ case `uname -s` in >+ Darwin*[)] >+ ac_cv_pic="-bundle -flat_namespace -undefined suppress"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184150
: 138235