OSSP CVS Repository

ossp - Check-in [4521]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4521
Date: 2004-Apr-22 17:46:34 (local)
2004-Apr-22 15:46:34 (UTC)
User:thl
Branch:
Comment: change devtool.conf %import of OSSP sa to inject a faked HAVE_CONFIG_H
Tickets:
Inspections:
Files:
ossp-pkg/l2/ChangeLog      1.15 -> 1.16     8 inserted, 1 deleted
ossp-pkg/l2/devtool.conf      1.15 -> 1.16     1 inserted, 1 deleted
ossp-pkg/l2/l2_ut_sa.h      1.21 -> 1.22     1 inserted, 0 deleted

ossp-pkg/l2/ChangeLog 1.15 -> 1.16

--- ChangeLog    2004/04/22 15:42:47     1.15
+++ ChangeLog    2004/04/22 15:46:34     1.16
@@ -9,7 +9,14 @@
   ChangeLog
   =========
 
-  Changes between 0.9.6 and 0.9.7 (21-Apr-2003 to 22-Apr-2004)
+  Changes between 0.9.7 and 0.9.8 (22-Apr-2004 to 22-Apr-2004)
+
+    *) Change devtool.conf %import of OSSP sa to inject a faked
+       HAVE_CONFIG_H. This unbreaks preprocessor conditions and fixes
+       building on Solaris 2.6
+       [Thomas Lotterer <thomas@lotterer.net>]
+
+  Changes between 0.9.6 and 0.9.7 (21-Apr-2004 to 22-Apr-2004)
 
     *) Replace modf(3) calls in l2_util_format.c with a hand-crafted
        inlined l2_util_modf() function to avoid dependency to external


ossp-pkg/l2/devtool.conf 1.15 -> 1.16

--- devtool.conf 2004/03/26 17:14:18     1.15
+++ devtool.conf 2004/04/22 15:46:34     1.16
@@ -35,7 +35,7 @@
     done
     awk <l2_ut_sa.h '
             BEGIN { p=1 }
-            /^#ifdef HAVE_CONFIG_H/ { print "#define SA_PREFIX l2_util_\n#include \"l2_config.h\"\n"; p=0 }
+            /^#ifdef HAVE_CONFIG_H/ { print "#define SA_PREFIX l2_util_\n#define HAVE_CONFIG_H 1\n#include \"l2_config.h\"\n"; p=0 }
             // { if (p==1) print $0 }
             /^#endif/ { p=1 }
             ' >l2_ut_sa.h.n && mv l2_ut_sa.h.n l2_ut_sa.h


ossp-pkg/l2/l2_ut_sa.h 1.21 -> 1.22

--- l2_ut_sa.h   2004/04/21 12:02:12     1.21
+++ l2_ut_sa.h   2004/04/22 15:46:34     1.22
@@ -38,6 +38,7 @@
 
 /* include optional Autoconf header */
 #define SA_PREFIX l2_util_
+#define HAVE_CONFIG_H 1
 #include "l2_config.h"
 
 

CVSTrac 2.0.1