Update of /cvsroot/fink/experimental/beren12/finkinfo/libs
In directory usw-pr-cvs1:/tmp/cvs-serv5056

Modified Files:
        openslp-ssl-1.0.9a-1.info 
Added Files:
        ncurses-5.2-9.info ncurses-5.2-9.patch 
Log Message:
Maybe this will work...

--- NEW FILE: ncurses-5.2-9.info ---
Package: ncurses
Version: 5.2
Revision: 9
GCC: 3.1
Source: gnu
Source-MD5: 464d6a49010cf2a6eb9ce59a264d4d47
Essential: yes
Depends: base-files
Patch: %f.patch
ConfigureParams: --without-ada --with-shared --without-debug --enable-termcap 
--mandir=%p/share/man --enable-widec 
--with-terminfo-dirs="%p/share/terminfo:/usr/share/terminfo" 
--with-default-terminfo-dir=%p/share/terminfo
SetCFLAGS: -no-cpp-precomp -Wno-deprecated
InstallScript: <<
make install DESTDIR=%d DYLD_LIBRARY_PATH=`pwd`/lib
mkdir -p %i/share/doc/%n
cp README ANNOUNCE NEWS %i/share/doc/%n/
cp tack/README %i/share/doc/%n/README.tack
cp tack/COPYING %i/share/doc/%n/COPYING.tack
<<
Description: Full-screen ascii drawing library
DescPort: <<
Needs heavy hacking to build shared libraries. The -no-cpp-precomp is
not strictly needed, but gets rid of the myriad of bogus error
messages. Also needs a small patch for case-insensitive file systems.
More changes by Chris Zubrzycki to be more compatable with apple's lib
<<
DescPackaging: <<
First revision by David Ross.
Previous versions by Christoph Pfisterer.
<<
License: OSI-Approved
Maintainer: Max Horn <[EMAIL PROTECTED]>

--- NEW FILE: ncurses-5.2-9.patch ---
diff -ru ncurses-5.2/c++/cursesw.cc ncurses-5.2-patched/c++/cursesw.cc
--- ncurses-5.2/c++/cursesw.cc  Sat Sep  2 20:55:31 2000
+++ ncurses-5.2-patched/c++/cursesw.cc  Thu Jun  6 20:31:51 2002
@@ -51,8 +51,9 @@
     char buf[BUFSIZ];
     int result = wgetstr(w, buf);
     if (result == OK) {
-       strstreambuf ss(buf, sizeof(buf));
-       result = ss.vscan(fmt, (_IO_va_list)args);
+//     strstreambuf ss(buf, sizeof(buf));
+//     result = ss.vscan(fmt, (_IO_va_list)args);
+       vsscanf(buf, fmt, args);
     }
     va_end(args);
     return result;
@@ -73,8 +74,9 @@
     if (result == OK) {
        result = wgetstr(w, buf);
        if (result == OK) {
-           strstreambuf ss(buf, sizeof(buf));
-           result = ss.vscan(fmt, (_IO_va_list)args);
+//         strstreambuf ss(buf, sizeof(buf));
+//         result = ss.vscan(fmt, (_IO_va_list)args);
+           vsscanf(buf, fmt, args);
        }
     }
     va_end(args);
diff -ru ncurses-5.2/configure ncurses-5.2-patched/configure
--- ncurses-5.2/configure       Sat Oct 21 00:58:49 2000
+++ ncurses-5.2-patched/configure       Thu Jun  6 16:44:29 2002
@@ -2688,6 +2688,11 @@
                        MK_SHARED_LIB='$(LD) -Bshareable -o $@'
                fi
                ;;
+       darwin*)
+               CC_SHARED_OPTS='-fno-common'
+               test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
+               MK_SHARED_LIB='$(CC) -dynamiclib -install_name $(libdir)/`basename $@ 
+.$(REL_VERSION)`.$(ABI_VERSION) -compatibility_version $(ABI_VERSION) 
+-current_version $(REL_VERSION) -o $@'
+               ;;
        osf*|mls+*)
                # tested with OSF/1 V3.2 and 'cc'
                # tested with OSF/1 V3.2 and gcc 2.6.3 (but the c++ demo didn't
@@ -7057,8 +7062,10 @@
        shared)
                case $cf_cv_system_name in
                hpux*)  DFT_DEP_SUFFIX='.sl'  ;;
+               darwin*) DFT_DEP_SUFFIX='.dylib'  ;;
                *)      DFT_DEP_SUFFIX='.so'  ;;
                esac
+               DFT_DEP_SUFFIX="${DFT_DEP_SUFFIX}."'$(REL_VERSION)'
        esac
        test -n "$LIB_SUFFIX" && DFT_DEP_SUFFIX="${LIB_SUFFIX}${DFT_DEP_SUFFIX}"
 echo "$ac_t""$DFT_DEP_SUFFIX" 1>&6
@@ -7091,6 +7098,7 @@
        shared)
                case $cf_cv_system_name in
                hpux*)  CXX_LIB_SUFFIX='.sl'  ;;
+               darwin*) CXX_LIB_SUFFIX='.dylib'  ;;
                *)      CXX_LIB_SUFFIX='.so'  ;;
                esac
        esac
@@ -7767,6 +7775,7 @@
        shared)
                case $cf_cv_system_name in
                hpux*)  cf_suffix='.sl'  ;;
+               darwin*) cf_suffix='.dylib'  ;;
                *)      cf_suffix='.so'  ;;
                esac
        esac
@@ -7818,6 +7827,7 @@
        shared)
                case $cf_cv_system_name in
                hpux*)  cf_suffix='.sl'  ;;
+               darwin*) cf_suffix='.dylib'  ;;
                *)      cf_suffix='.so'  ;;
                esac
        esac
diff -ru ncurses-5.2/misc/terminfo.src ncurses-5.2-patched/misc/terminfo.src
--- ncurses-5.2/misc/terminfo.src       Sun Sep 24 04:29:16 2000
+++ ncurses-5.2-patched/misc/terminfo.src       Thu Jun  6 16:44:29 2002
@@ -12955,7 +12955,7 @@
        kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
        use=ncr260vt300an, 
-NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
+ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
        cols#132, 
        cup=\E[%i%p1%d;%p2%dH$<30>, 
        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
diff -ru ncurses-5.2/ncurses/tinfo/write_entry.c 
ncurses-5.2-patched/ncurses/tinfo/write_entry.c
--- ncurses-5.2/ncurses/tinfo/write_entry.c     Wed Oct  4 04:32:14 2000
+++ ncurses-5.2-patched/ncurses/tinfo/write_entry.c     Thu Jun  6 16:44:29 2002
@@ -319,6 +319,9 @@
 #endif
            if (code != 0 && errno == ENOENT)
                code = 0;
+           if (code != 0) {
+             printf("error from remove/unlink: code %d, errno %d\n", code, errno);
+           }
 #if USE_SYMLINKS
            if (symlink(symlinkname, linkname) < 0)
 #else
@@ -331,6 +334,7 @@
                 * target, then the source must be on a filesystem
                 * that uses caseless filenames, such as Win32, etc.
                 */
+               printf("error from link/symlink: code %d, errno %d\n", code, errno);
                if (code == 0 && errno == EEXIST)
                    _nc_warning("can't link %s to %s", filename, linkname);
                else if (code == 0 && errno == EPERM)

Index: openslp-ssl-1.0.9a-1.info
===================================================================
RCS file: /cvsroot/fink/experimental/beren12/finkinfo/libs/openslp-ssl-1.0.9a-1.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openslp-ssl-1.0.9a-1.info   28 Oct 2002 14:20:51 -0000      1.1
+++ openslp-ssl-1.0.9a-1.info   30 Oct 2002 03:00:22 -0000      1.2
@@ -1,8 +1,10 @@
 Package: openslp-ssl
 Version: 1.0.9a
 Revision: 1
-Depends: 
-Source: mirror:sourceforge:/%n/%n-%v.tar.gz
+BuildDepends: openssl-dev
+Depends: openssl-shlibs
+Replaces: openslp
+Source: mirror:sourceforge:/openslp/openslp-%v.tar.gz
 Source-MD5: 6e0262a0135360e1fd2e24c3fb84d80e
 Patch: %f.patch
 UpdateLibtool: true



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to