PSARC/2013/188 Clang/LLVM
15777690 clang/llvm compiler infrastructure in Solaris
21851513 severe memory corruption in the LLVM command-line parsing module
22031298 toxic bugs in LLVM ilist/plist end up eliminating entire MachineBasicBlocks
22065707 LLVM SPARC assembler generator emits wrong ELF Section flags
22346218 LLVM's assembler printer on SPARC needs a lot of work
21870061 partial template specializations in CommandLine.h are buggy
21874261 the Google Test Harness doesn't know how to count threads in Solaris
21697459 memory corruption in LLVM IR Code Generator
21341968 llc on SPARC should not need to be passed -march=sparc or -march=sparcv9
21870103 TableGen makes incorrect assumptions about anonymous namespace instantiation
21870087 naming convention for the InputFile key is inconsistent across LLVM utilities
21870099 128 bytes for a filesystem path is definitely not enough
21870067 lli makes incorrect assumptions about anonymous namespace instantiation order
21870065 llc makes incorrect assumptions about anonymous namespace instantiation order
21870283 llvm::sys::Process::GetArgumentVector should overload for std::vector
21874221 clang C++ does not properly initialize the C++ Standard Library's iostreams
This patch does the customization for the Solaris way
of installing things. There is a method for doing this
with the configure scripts, but these last few file
paths have not been converted. When they are, this patch
can go away.
--- include/ntp_config.h.orig Thu May 14 06:34:41 2009
+++ include/ntp_config.h Thu May 14 06:15:12 2009
@@ -10,7 +10,7 @@
*/
#ifndef CONFIG_FILE
# ifndef SYS_WINNT
-# define CONFIG_FILE "/etc/ntp.conf"
+# define CONFIG_FILE "/etc/inet/ntp.conf"
# else /* SYS_WINNT */
# define CONFIG_FILE "%windir%\\system32\\drivers\\etc\\ntp.conf"
# define ALT_CONFIG_FILE "%windir%\\ntp.conf"
--- libntp/audio.c.orig Thu May 14 06:34:41 2009
+++ libntp/audio.c Thu May 14 06:15:12 2009
@@ -53,7 +53,7 @@
static struct audio_device device; /* audio device ident */
#endif /* HAVE_SYS_AUDIOIO_H */
#ifdef PCM_STYLE_SOUND
-# define INIT_FILE "/etc/ntp.audio"
+# define INIT_FILE "/etc/inet/ntp.audio"
int agc = SOUND_MIXER_WRITE_RECLEV; /* or IGAIN or LINE */
int monitor = SOUND_MIXER_WRITE_VOLUME; /* or OGAIN */
int devmask = 0;
--- ntpdate/ntpdate.c.orig Thu May 14 06:34:41 2009
+++ ntpdate/ntpdate.c Thu May 14 06:15:12 2009
@@ -179,7 +179,7 @@
#ifndef KEYFILE
# ifndef SYS_WINNT
-#define KEYFILE "/etc/ntp.keys"
+#define KEYFILE "/etc/inet/ntp.keys"
# else
#define KEYFILE "%windir%\\ntp.keys"
# endif /* SYS_WINNT */
--- ntpd/refclock_oncore.c
+++ ntpd/refclock_oncore.c
@@ -1211,7 +1211,7 @@ oncore_read_config(
FILE *fd;
char *cc, *ca, line[100], units[2], device[64];
- const char *dirs[] = { "/etc/ntp", "/etc", 0 };
+ const char *dirs[] = { "/etc/inet/ntp", "/etc/inet", 0 };
const char *cp, **cpp;
int i, sign, lat_flg, long_flg, ht_flg, mode, mask;
double f1, f2, f3;