Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/libs
In directory sc8-pr-cvs1:/tmp/cvs-serv9055/libs

Added Files:
        dlcompat.info dlcompat.patch libpoll.info libpoll.patch 
Log Message:
dummy packages to stable


--- NEW FILE: dlcompat.info ---
Package: dlcompat
Version: 20030629
Revision: 15
Maintainer: Peter O'Gorman <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: a2894f76f1d277659af25a07548fb01c 
ConfigureParams: --enable-fink --mandir=%p/share/man
Patch: %n.patch
InstallScript: <<
 make install DESTDIR=%d
 rm -rf %i/include
 rm -rf %i/share/man
 rm -rf %i/lib/libdl.dylib
 rm -rf %i/lib/libdl.a
 install -d -m 755 %i/share/doc/dummy
 touch %i/share/doc/dummy/%N
 touch %i/share/doc/dummy/%N-dev
<<
Splitoff: <<
 Package: %N-shlibs
 Replaces: %N (<< 20030522-1)
 Description: shared libraries for dlcompat
 Files: lib/libdl.0.dylib
 Shlibs: %p/lib/libdl.0.dylib 0.0.0 %n (>= 20020929-1)
 DocFiles: LICENSE
<<
Splitoff2: <<
 Package: %N-dev
 Replaces: %N (<< 20030522-1)
 Depends: %N-shlibs (= %v-%r)
 Description: Dynamic loading compatibility library dev package (dummy)
 Files: share/doc/dummy/%N-dev
 DocFiles: LICENSE 
<<
DocFiles: README TODO LICENSE ChangeLog dlfcn_simple.c
#
Description: Dynamic loading compatibility library (dummy)
DescDetail: <<
dlcompat provides the dlopen() interface for dynamic loading of
modules for applications that need it. It was written by
Jorge Acereda and Peter O'Gorman.

dlcompat is no longer necessary for Panther, this package is
a placeholder to make old packages happy.
<<
DescPackaging: <<
Previous versions by Christoph Pfisterer <[EMAIL PROTECTED]>
and Max Horn <[EMAIL PROTECTED]>.
<<
Homepage: http://www.opendarwin.org/projects/dlcompat
License: OSI-Approved

--- NEW FILE: dlcompat.patch ---
diff -aurN dlcompat-20030629.orig/dlfcn.c dlcompat-20030629/dlfcn.c
--- dlcompat-20030629.orig/dlfcn.c      Mon Jun 23 23:13:21 2003
+++ dlcompat-20030629/dlfcn.c   Tue Sep 23 23:19:11 2003
@@ -164,7 +164,7 @@
 static void resetdlerror(void);
 static const struct mach_header *my_find_image(const char *name);
 static const struct mach_header *image_for_address(const void *address);
-static void dlcompat_cleanup(void);
+/* static void dlcompat_cleanup(void); */
 static inline const char *dyld_error_str(void);
 
 #if FINK_BUILD
@@ -451,7 +451,7 @@
 {
        if (dls)
        {
-               if (dls->module == MAGIC_DYLIB_MOD && !isFlagSet(mode, RTLD_GLOBAL))
+               if (dls->module == MAGIC_DYLIB_MOD && isFlagSet(mode, RTLD_LOCAL))
                {
                        warning("trying to open a .dylib with RTLD_LOCAL");
                        error("unable to open a .dylib with RTLD_LOCAL");
@@ -699,7 +699,7 @@
                case NSObjectFileImageInappropriateFile:
                        if (dyld_NSAddImage && dyld_NSIsSymbolNameDefinedInImage && 
dyld_NSLookupSymbolInImage)
                        {
-                               if (!isFlagSet(mode, RTLD_GLOBAL))
+                               if (isFlagSet(mode, RTLD_LOCAL))
                                {
                                        warning("trying to open a .dylib with 
RTLD_LOCAL");
                                        error("unable to open this file with 
RTLD_LOCAL");
@@ -812,12 +812,13 @@
                if (pthread_key_create(&dlerror_key, &dlerrorfree))
                        exit(1);
                /* And be neat and tidy and clean up after ourselves */ 
-               atexit(dlcompat_cleanup);
+               /* atexit(dlcompat_cleanup); */
+                /* This does not work, we can not guarantee the order atexit 
functions will be called */
        }
 }
 
 #pragma CALL_ON_LOAD dlcompat_init_func
-
+/*
 static void dlcompat_cleanup(void)
 {
        struct dlstatus *dls;
@@ -839,7 +840,7 @@
                free(dls);
        }
 }
-
+*/
 static void resetdlerror()
 {
        struct dlthread *tss;

--- NEW FILE: libpoll.info ---
Package: libpoll
Version: 1.4
Revision: 11
Depends: %n-shlibs (= %v-%r)
Replaces: %n (<< 1.1-4)
BuildDepends: fink (>= 0.9.9)
BuildDependsOnly: true
Source: http://www.clapper.org/software/poll/poll-emulator-%v.tar.gz
Source-MD5: b00a85c5c46873dc1c1078cdd3c101f3
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: make PREFIX=%p
InstallScript: <<
  make install PREFIX=%i
  rm -rf %i/lib/libpoll.1.dylib
  (cd %i/lib; ln -s libpoll.1.3.dylib libpoll.1.dylib)
  (cd %i/lib; ln -s libpoll.1.dylib libpoll.1.1.dylib)
  (cd %i/lib; ln -s libpoll.1.dylib libpoll.1.2.dylib)
  rm -rf %i/include
  rm -rf %i/lib/libpoll.dylib
  rm -rf %i/lib/libpoll.a
  install -d %i/share/doc/dummy
  touch %i/share/doc/dummy/%N
<<
SplitOff: <<
  Package: %N-shlibs
  Replaces: %N (<< 1.1-4)
  Files: lib/%N.*.dylib
  DocFiles: INSTALL LICENSE README
<<
DocFiles: INSTALL LICENSE README
Description: SysV poll(2) Emulation Library
DescDetail: <<
The libpoll package provides System V <sys/poll.h> compatibility for
BSD-like OSes.

libpoll is no longer necessary for Panther, this package is
a placeholder to make old packages happy.
<<
DescPackaging: <<
Had to redefine a few things to build but it worked just fine.

Copyright (c) 1995-2002 Brian M. Clapper
All rights reserved.

Redistribution and use in source and binary forms are permitted provided
that:

  (1) source distributions retain this entire copyright notice and comment;
  (2) modifications made to the software are prominently mentioned, and a
      copy of the original software (or a pointer to its location) are
      included; and
  (3) distributions including binaries display the following
      acknowledgement: "This product includes software developed by Brian M.
      Clapper, <bmc @ clapper . org>" in the documentation or other materials
      provided with the distribution.  The name of the author may not be used
      to endorse or promote products derived from this software without
      specific prior written permission.

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
<<
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.clapper.org/software/poll/

--- NEW FILE: libpoll.patch ---
diff -uNbr poll-emulator-1.3/Makefile poll-emulator-1.3-new/Makefile
--- poll-emulator-1.3/Makefile  Mon Sep 30 07:48:00 2002
+++ poll-emulator-1.3-new/Makefile      Sun Nov 10 12:39:55 2002
@@ -18,21 +18,21 @@
 # Platform-specific bits
 #
 # For GNU CC on *BSD. Should work for FreeBSD, NetBSD, OpenBSD and BSD/OS
-LINK_SHARED    = $(CC) -shared
-SHLIB_EXT      = so
-SHLIB_NOVER    = $(LIB_NAME).$(SHLIB_EXT)
-SHLIB          = $(LIB_NAME).$(SHLIB_EXT).$(VERSION)
-SHLIB_INSTALLED = $(LIBDIR)/$(LIB_NAME).$(SHLIB_EXT).$(MAJOR)
+#LINK_SHARED   = $(CC) -shared
+#SHLIB_EXT     = so
+#SHLIB_NOVER   = $(LIB_NAME).$(SHLIB_EXT)
+#SHLIB         = $(LIB_NAME).$(SHLIB_EXT).$(VERSION)
+#SHLIB_INSTALLED = $(LIBDIR)/$(LIB_NAME).$(SHLIB_EXT).$(MAJOR)
 
 # Benjamin Reed <[EMAIL PROTECTED]>:
 # On Mac OS X, comment out the above lines, and uncomment these instead.
-#LINK_SHARED   = $(CC) -install_name $(PREFIX)/lib/$(SHLIB) \
-#                      -compatibility_version $(COMPAT_VERSION) \
-#                      -current_version $(VERSION) -dynamiclib
-#SHLIB_EXT     = dylib
-#SHLIB_NOVER   = $(LIB_NAME).$(SHLIB_EXT)
-#SHLIB         = $(LIB_NAME).$(VERSION).$(SHLIB_EXT)
-#SHLIB_INSTALLED= $(LIBDIR)/$(LIB_NAME).$(MAJOR).$(SHLIB_EXT)
+LINK_SHARED    = $(CC) -install_name $(PREFIX)/lib/$(LIB_NAME).1.$(SHLIB_EXT) \
+                       -compatibility_version $(COMPAT_VERSION) \
+                       -current_version $(VERSION) -dynamiclib
+SHLIB_EXT      = dylib
+SHLIB_NOVER    = $(LIB_NAME).$(SHLIB_EXT)
+SHLIB          = $(LIB_NAME).$(VERSION).$(SHLIB_EXT)
+SHLIB_INSTALLED= $(LIBDIR)/$(LIB_NAME).$(MAJOR).$(SHLIB_EXT)
 
 # If you have a BSD-compatible install(1), use:
 INSTALL                = install -c
@@ -46,7 +46,7 @@
 MAJOR          = 1
 MINOR          = 4
 VERSION                = $(MAJOR).$(MINOR)
-COMPAT_VERSION = $(MAJOR)
+COMPAT_VERSION = 1.1
 CC             = cc
 LIB_NAME       = libpoll
 LIB            = $(LIB_NAME).a




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to