FreeBSD Bugzilla – Attachment 196539 Details for
Bug 230897
net/linknx: Fix build with Clang 6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net__linknx.diff
net__linknx.diff (text/plain), 1.76 KB, created by
Tobias Kortkamp
on 2018-08-25 18:53:48 UTC
(
hide
)
Description:
net__linknx.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-08-25 18:53:48 UTC
Size:
1.76 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 477931) >+++ Makefile (working copy) >@@ -20,10 +20,12 @@ > BROKEN_mips= fails to configure: checking for GNU Pth... Segmentation fault > BROKEN_mips64= fails to configure: checking for GNU Pth... Segmentation fault > >-USES= gmake autoreconf pkgconfig >+USES= compiler gmake autoreconf pkgconfig > GNU_CONFIGURE= yes > CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \ > LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib" >+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} >+CXXFLAGS_clang= -Wno-c++11-narrowing > > OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL > OPTIONS_DEFAULT= LIBESMTP >Index: files/patch-src_suncalc.cpp >=================================================================== >--- files/patch-src_suncalc.cpp (nonexistent) >+++ files/patch-src_suncalc.cpp (working copy) >@@ -0,0 +1,21 @@ >+--- src/suncalc.cpp.orig 2018-08-25 18:51:49 UTC >++++ src/suncalc.cpp >+@@ -25,8 +25,6 @@ >+ #include "suncalc.h" >+ #include "services.h" >+ >+-namespace suncalc >+-{ >+ >+ /* >+ SUNRISET.C - computes Sun rise/set times, start/end of twilight, and >+@@ -49,6 +47,9 @@ Released to the public domain by Paul Schlyter, Decemb >+ #include <stdlib.h> >+ #include <getopt.h> >+ #include <string.h> >++ >++namespace suncalc >++{ >+ >+ /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */ >+ /* (which is equal to 1999 Dec 31, 0h UT) */ > >Property changes on: files/patch-src_suncalc.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 230897
: 196539