delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/20/22:48:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 20 Oct 2002 22:47:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: [PATCH] Re: cvs-1.11.0-1 fails to build
In-Reply-To: <Pine.GSO.4.44.0210201147580.23890-100000@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.44.0210202245480.18735-200000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

---559023410-851401618-1035168479=:18735
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 20 Oct 2002, Igor Pechtchanski wrote:

> On Sun, 20 Oct 2002, Max Bowsher wrote:
>
> > Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:
> > >> I'm having a problem building cvs-1.11.0-1.  GDBM_EXPORT is not
> > >> picked up as a macro (which I assume it is, as it's used to declare
> > >> functions), and this results in parse errors and gcc being generally
> > >> unhappy.  I'm attaching the exact error message.
> > >> This is probably because I have gdbm-1.8.0-4, and cvs lists
> > >> gdbm-1.8.0-3 in its dependences, although Chuck Wilson apparently
> > >> received no complaints during the test period (
> > >> http://www.cygwin.com/ml/cygwin/2002-02/msg01333.html ).
> >
> > I ran into this problem, and solved it by backing out Chuck's gdbm changes,
> > instead building cvs in its flat-file mode. I needed to do this so I had a
> > cvs which could act on repositories created using this method.
> >
> > [snip]
> >
> > Attatched is Chuck's patch as included in the Cygwin source package, spilt
> > into 2: cygupdate is general fixups, and gdbmify is the gdbm additions,
> > which I backed out to build a cvs_flatdbm.exe which I keep in ~/bin.
> > Max.
>
> [snip]
>
> When I have some time, I'll look into patching cvs to build with the new
> gdbm...

Attached is a patch to cvs that lets it build with the current version of
gdbm.
	Igor

ChangeLog:
2002-10-20  Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>

	* mygdbm.h: Remove macro from declarations of dbm_close, dbm_fetch,
	dbm_store, dbm_delete, dbm_firstkey, dbm_nextkey.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51

---559023410-851401618-1035168479=:18735
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="cvs-gdbm-build.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0210202247590 DOT 18735 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: attachment; filename="cvs-gdbm-build.patch"

LS0tIC4vc3JjL215Z2RibS5oCTIwMDItMTAtMjAgMTQ6NDQ6NDAuMDAwMDAw
MDAwIC0wNDAwDQorKysgLi9zcmMvbXlnZGJtLmgtb3JpZwkyMDAyLTEwLTIw
IDE0OjQ0OjM1LjAwMDAwMDAwMCAtMDQwMA0KQEAgLTEzLDEyICsxMywxMiBA
QA0KIA0KIC8qIGRlZmluaXRpb25zIGNvcGllZCBmcm9tIG5kYm0uaCAqLw0K
IHR5cGVkZWYgc3RydWN0IHtpbnQgZHVtbXlbMTBdO30gREJNOw0KLWV4dGVy
biB2b2lkIF9fY2RlY2wgZGJtX2Nsb3NlKCk7DQotZXh0ZXJuIGRhdHVtIF9f
Y2RlY2wgZGJtX2ZldGNoKCk7DQotZXh0ZXJuIGludCBfX2NkZWNsIGRibV9z
dG9yZSgpOw0KLWV4dGVybiBpbnQgX19jZGVjbCBkYm1fZGVsZXRlKCk7DQot
ZXh0ZXJuIGRhdHVtIF9fY2RlY2wgZGJtX2ZpcnN0a2V5KCk7DQotZXh0ZXJu
IGRhdHVtIF9fY2RlY2wgZGJtX25leHRrZXkoKTsNCitleHRlcm4gR0RCTV9F
WFBPUlQodm9pZCwgICAgICAgIGRibV9jbG9zZSkgKCk7DQorZXh0ZXJuIEdE
Qk1fRVhQT1JUKGRhdHVtLCAgICAgICBkYm1fZmV0Y2gpICgpOw0KK2V4dGVy
biBHREJNX0VYUE9SVChpbnQsICAgICAgICAgZGJtX3N0b3JlKSAoKTsNCitl
eHRlcm4gR0RCTV9FWFBPUlQoaW50LCAgICAgICAgIGRibV9kZWxldGUpICgp
Ow0KK2V4dGVybiBHREJNX0VYUE9SVChkYXR1bSwgICAgICAgZGJtX2ZpcnN0
a2V5KSAoKTsNCitleHRlcm4gR0RCTV9FWFBPUlQoZGF0dW0sICAgICAgIGRi
bV9uZXh0a2V5KSAoKTsNCiANCiBEQk0gKiBteV9nZGJtX29wZW4gUFJPVE8o
KGNoYXIgKmZpbGUsIGludCBmbGFncywgaW50IG1vZGUpKTsNCiAjZW5kaWYg
CQkJLyogVVNFX0dEQk0gJiYgIU1ZX05EQk0gKi8NCg==

---559023410-851401618-1035168479=:18735
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
---559023410-851401618-1035168479=:18735--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019