pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install Try hard to get 64bit offsets in ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c27cdd38ff75
branches: trunk
changeset: 531682:c27cdd38ff75
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Aug 04 12:32:01 2007 +0000
description:
Try hard to get 64bit offsets in all modules, fixing misunderstandings
between libarchive and pkg_create e.g. on HP-UX.
Add my copyright to build.c, it is almost completely rewritten.
diffstat:
pkgtools/pkg_install/Makefile | 5 +++-
pkgtools/pkg_install/files/create/build.c | 35 +++++++++++++++++++++++++++++-
2 files changed, 37 insertions(+), 3 deletions(-)
diffs (71 lines):
diff -r ed8fbcf5f65a -r c27cdd38ff75 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Sat Aug 04 12:19:23 2007 +0000
+++ b/pkgtools/pkg_install/Makefile Sat Aug 04 12:32:01 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2007/08/03 15:12:43 joerg Exp $
+# $NetBSD: Makefile,v 1.139 2007/08/04 12:32:01 joerg Exp $
# Notes to package maintainers:
#
@@ -50,6 +50,9 @@
USE_NATIVE_GCC= yes
PKG_DELETE= ${WRKSRC}/delete/pkg_delete
+CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
+CPPFLAGS+= -D_FILE_OFFSET_BITS=64
+
CPPFLAGS+= -DDEF_UMASK=${DEF_UMASK}
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
CPPFLAGS+= -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
diff -r ed8fbcf5f65a -r c27cdd38ff75 pkgtools/pkg_install/files/create/build.c
--- a/pkgtools/pkg_install/files/create/build.c Sat Aug 04 12:19:23 2007 +0000
+++ b/pkgtools/pkg_install/files/create/build.c Sat Aug 04 12:32:01 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: build.c,v 1.2 2007/08/03 15:44:18 joerg Exp $ */
+/* $NetBSD: build.c,v 1.3 2007/08/04 12:32:01 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,10 +11,41 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
#else
-__RCSID("$NetBSD: build.c,v 1.2 2007/08/03 15:44:18 joerg Exp $");
+__RCSID("$NetBSD: build.c,v 1.3 2007/08/04 12:32:01 joerg Exp $");
#endif
#endif
+/*-
+ * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
+ * All rights reserved.
+ *
+ * This code was developed as part of Google's Summer of Code 2007 program.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
/*
* FreeBSD install - a package for the installation and maintainance
* of non-core utilities.
Home |
Main Index |
Thread Index |
Old Index