RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: neon Date: 30-Aug-2013 23:30:02 Branch: rpm-5_4 HEAD Handle: 2013083021300100 Modified files: neon/test Makefile.am Modified files: (Branch: rpm-5_4) neon/test .cvsignore largefile.c Log: - neon: simple hackcks to compile largefile. Summary: Revision Changes Path 1.4.4.3 +1 -1 neon/test/.cvsignore 1.5 +2 -2 neon/test/Makefile.am 1.2.4.1 +9 -0 neon/test/largefile.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: neon/test/.cvsignore ============================================================================ $ cvs diff -u -r1.4.4.2 -r1.4.4.3 .cvsignore --- neon/test/.cvsignore 4 Aug 2013 21:08:20 -0000 1.4.4.2 +++ neon/test/.cvsignore 30 Aug 2013 21:30:01 -0000 1.4.4.3 @@ -74,6 +74,7 @@ foobar.txt justmail.cert justmail.csr +largefile lock makekeys.out missingcn.cert @@ -122,4 +123,3 @@ wrongcn.csr xml xmlreq - @@ . patch -p0 <<'@@ .' Index: neon/test/Makefile.am ============================================================================ $ cvs diff -u -r1.4 -r1.5 Makefile.am --- neon/test/Makefile.am 20 Aug 2013 05:51:17 -0000 1.4 +++ neon/test/Makefile.am 30 Aug 2013 21:30:01 -0000 1.5 @@ -151,8 +151,8 @@ # Recompile socket.c with SOCKET_SSL defined # XXX $(HDRS)? socket_ssl_SOURCES = $(srcdir)/socket.c -socket_ssl_CFLAGS = -DSOCKET_SSL $(CFLAGS) -socket_ssl_LDADD = $(LDADD) +socket_ssl_CFLAGS = -DNE_HAVE_SSL $(CFLAGS) +socket_ssl_LDADD = $(LIBNEON) $(LDADD) resolve_LDADD = $(LIBNEON) @@ . patch -p0 <<'@@ .' Index: neon/test/largefile.c ============================================================================ $ cvs diff -u -r1.2 -r1.2.4.1 largefile.c --- neon/test/largefile.c 6 May 2010 19:28:01 -0000 1.2 +++ neon/test/largefile.c 30 Aug 2013 21:30:01 -0000 1.2.4.1 @@ -39,6 +39,15 @@ #define INT64_C(x) x ## LL #endif +#if defined(__APPLE__) +typedef __darwin_off_t off64_t; +#define open64 open +#define lseek64 lseek +#endif +#if !defined(NE_FMT_OFF64_T) +#define NE_FMT_OFF64_T NE_FMT_OFF_T +#endif + static const char data[] = "Hello, world.\n"; static off64_t point = INT64_C(2) << 32; #define SPARSE "sparse.bin" @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org