[Pkg-ace-commits] [pkg-ace] r527 - in trunk/debian: . patches

tgg at alioth.debian.org tgg at alioth.debian.org
Tue Sep 4 20:25:55 UTC 2007


Author: tgg
Date: 2007-09-04 20:25:55 +0000 (Tue, 04 Sep 2007)
New Revision: 527

Removed:
   trunk/debian/patches/11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix.dpatch
Modified:
   trunk/debian/changelog
   trunk/debian/patches/00list
   trunk/debian/patches/12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test.dpatch
Log:
adapt patches to ACE 5.6


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-09-04 18:36:56 UTC (rev 526)
+++ trunk/debian/changelog	2007-09-04 20:25:55 UTC (rev 527)
@@ -6,6 +6,7 @@
     o tao-sonames-release-am.sh
   * Reenable IPv6 and enable IPv4/IPv6 migration.
   * Fix DEB_BUILD_OPTIONS=noopt.
+  * Add zlib1g-dev and libzzip-dev build dependencies.
 
  -- Thomas Girard <thomas.g.girard at free.fr>  Tue, 04 Sep 2007 12:34:03 +0000
 

Modified: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list	2007-09-04 18:36:56 UTC (rev 526)
+++ trunk/debian/patches/00list	2007-09-04 20:25:55 UTC (rev 527)
@@ -1,11 +1,9 @@
 01-change-tao-sonames
 02-fltk-no-gl
 02-qt4
-#03-g++-new-throws
 04-reduce-opt
 08-fix-perl-shebang
-#11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix
-#12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test
+12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test
 15-fix-fltk-include
 34-bts386713
 50-prepatch-dummy-mark

Deleted: trunk/debian/patches/11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix.dpatch
===================================================================
--- trunk/debian/patches/11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix.dpatch	2007-09-04 18:36:56 UTC (rev 526)
+++ trunk/debian/patches/11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix.dpatch	2007-09-04 20:25:55 UTC (rev 527)
@@ -1,18 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 11-autoconf_ACE_LACKS_NAMED_POSIX_SEM_fix.dpatch
-##
-## DP: do not fail if the sem_open test is run twice
-
- at DPATCH@
---- ACE_wrappers.orig/configure.ac
-+++ ACE_wrappers/configure.ac
-@@ -4313,6 +4313,9 @@
-   if (sem_close (s) != 0)
-     return -1;  /* Something went wrong! */
- 
-+  /* ignore error here */
-+  sem_unlink("ace_semaphore_foo");
-+
-   return 0;
- }
-              ]])],[

Modified: trunk/debian/patches/12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test.dpatch
===================================================================
--- trunk/debian/patches/12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test.dpatch	2007-09-04 18:36:56 UTC (rev 526)
+++ trunk/debian/patches/12-autoconf-ACE_HAS_POSIX_SEM_TIMEOUT_test.dpatch	2007-09-04 20:25:55 UTC (rev 527)
@@ -6,92 +6,14 @@
 @DPATCH@
 --- ACE_wrappers.orig/configure.ac
 +++ ACE_wrappers/configure.ac
-@@ -4332,6 +4332,73 @@
- 
- fi dnl check for POSIX Semaphore functions
- 
-+dnl If we have POSIX semaphores available, check to see if we also have
-+dnl the timed wait capability.
-+if test "$ac_cv_func_sem_open"   = yes &&
-+   test "$ac_cv_func_sem_close"  = yes &&
-+   test "$ac_cv_func_sem_unlink" = yes; then
-+     dnl Check if sem_timedwait() works - often it compiles and will run
-+     dnl but if called return ENOTSUP. In that case, we don't want it.
-+     ACE_CACHE_CHECK([if sem_timedwait works],
-+       [ace_cv_sem_timedwait_works],
-+       [
-+        AC_RUN_IFELSE([AC_LANG_SOURCE([[
-+#ifndef ACE_LACKS_SYS_TYPES_H
-+#include <sys/types.h>
-+#endif
-+
-+#include <sys/stat.h>
-+#include <fcntl.h>
-+#include <time.h>
-+#include <stddef.h>  /* for definition of "NULL" */
-+
-+#include <semaphore.h>
-+
-+#ifndef SEM_FAILED
-+# define SEM_FAILED ((sem_t *) -1)
-+#endif
-+
-+#include <errno.h>
-+
-+int
-+main ()
-+{
-+  sem_t *s = 0;
-+  struct timespec tmo;
-+  int status = 0;
-+  s = sem_open ("ace_semaphore_foo", O_CREAT, 0600, 1);
-+  if (s == SEM_FAILED)
-+    return -1;  /* FAILURE */
-+
-+  /* Don't care about the time, only whether the call works */
-+  tmo.tv_sec = 0;
-+  tmo.tv_nsec = 0;
-+  if (sem_timedwait (s, &tmo) == -1)
-+    {
-+      if (errno == ENOTSUP)
-+        status = -1;
-+    }
-+  else
-+    sem_post (s);
-+
-+  sem_unlink ("ace_semaphore_foo");
-+  sem_close (s);
-+
-+  return status;
-+}
-+        ]])],[
-+          ace_cv_sem_timedwait_works=yes
-+          ],[
-+          ace_cv_sem_timedwait_works=no
-+          ],[
-+          dnl action if cross-compiling
-+          ace_cv_sem_timedwait_works=yes
-+         ])
+@@ -4422,7 +4422,9 @@
+           dnl action if cross-compiling
+           ace_cv_sem_timedwait_works=yes
+          ])
+-       ],,)
 +       ],
-+       [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT])],
-+       [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION])])
-+fi
-+
++        [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT])],
++        [AC_DEFINE([ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION])])
+ fi
  
- dnl The following tests are performed only when the user has enabled
- dnl support for threads.
---- ACE_wrappers.orig/m4/config_h.m4
-+++ ACE_wrappers/m4/config_h.m4
-@@ -516,6 +516,12 @@
- [Platform supports POSIX real-time semaphores (e.g., VxWorks and
-    Solaris)])
  
-+AH_TEMPLATE([ACE_HAS_POSIX_SEM_TIMEOUT],
-+[Platform supports timed POSIX semaphore acquisitions (sem_timedwait()).])
-+
-+AH_TEMPLATE([ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION],
-+[Timed POSIX semaphore acquisitions will be emulated.])
-+
- AH_TEMPLATE([ACE_HAS_POSIX_TIME],
- [Platform supports the POSIX struct timespec type])
- 




More information about the Pkg-ace-commits mailing list