pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/gsm Add #define differences for Interix; deal wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/abf95848aca1
branches: trunk
changeset: 501814:abf95848aca1
user: tv <tv%pkgsrc.org@localhost>
date: Sat Oct 29 16:20:26 2005 +0000
description:
Add #define differences for Interix; deal with it not having utimes(3).
diffstat:
audio/gsm/distinfo | 4 +-
audio/gsm/patches/patch-aa | 88 +++++++++++++++++++++++----------------------
2 files changed, 47 insertions(+), 45 deletions(-)
diffs (107 lines):
diff -r 574be5beb81f -r abf95848aca1 audio/gsm/distinfo
--- a/audio/gsm/distinfo Sat Oct 29 16:13:23 2005 +0000
+++ b/audio/gsm/distinfo Sat Oct 29 16:20:26 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 20:39:46 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/10/29 16:20:26 tv Exp $
SHA1 (gsm-1.0.10.tar.gz) = ee47a81f4137bf3ce933dc610cb2293055ce9c02
RMD160 (gsm-1.0.10.tar.gz) = 334f93ab232c0b5c1b3090ffa551af0ee0455ed0
Size (gsm-1.0.10.tar.gz) = 65928 bytes
-SHA1 (patch-aa) = e976c2ceb5e21bc77c51830cbaef9a94c8e0baf2
+SHA1 (patch-aa) = 2c36148172e64602903e18d93e685d5bd84db5c8
SHA1 (patch-ab) = 88bc6a8d77589f0ee95fca9268ae36a8d4a8b50a
SHA1 (patch-ac) = 9e4e582cfd4f6892531578d9df25a29485e8cf32
diff -r 574be5beb81f -r abf95848aca1 audio/gsm/patches/patch-aa
--- a/audio/gsm/patches/patch-aa Sat Oct 29 16:13:23 2005 +0000
+++ b/audio/gsm/patches/patch-aa Sat Oct 29 16:20:26 2005 +0000
@@ -1,44 +1,46 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:35:56 agc Exp $
+$NetBSD: patch-aa,v 1.3 2005/10/29 16:20:26 tv Exp $
-*** inc/config.h.orig Tue Jul 2 18:32:27 1996
---- inc/config.h Fri Oct 25 17:18:49 1996
-***************
-*** 13,21 ****
- /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
-
- #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
-! /*efine HAS_LIMITS_H 1 /* /usr/include/limits.h */
- #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
-! /*efine HAS_ERRNO_DECL 1 /* errno.h declares errno */
-
- #define HAS_FSTAT 1 /* fstat syscall */
- #define HAS_FCHMOD 1 /* fchmod syscall */
---- 13,21 ----
- /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
-
- #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
-! #define HAS_LIMITS_H 1 /* /usr/include/limits.h */
- #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
-! #define HAS_ERRNO_DECL 1 /* errno.h declares errno */
-
- #define HAS_FSTAT 1 /* fstat syscall */
- #define HAS_FCHMOD 1 /* fchmod syscall */
-***************
-*** 28,35 ****
- /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
-
- #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
-! #define HAS_UTIME 1 /* POSIX utime(path, times) */
-! /*efine HAS_UTIMES 1 /* use utimes() syscall instead */
- #define HAS_UTIME_H 1 /* UTIME header file */
- /*efine HAS_UTIMBUF 1 /* struct utimbuf */
- /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
---- 28,35 ----
- /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
-
- #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
-! /*efine HAS_UTIME 1 /* POSIX utime(path, times) */
-! #define HAS_UTIMES 1 /* use utimes() syscall instead */
- #define HAS_UTIME_H 1 /* UTIME header file */
- /*efine HAS_UTIMBUF 1 /* struct utimbuf */
- /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
+--- inc/config.h.orig 1996-07-02 10:32:27.000000000 -0400
++++ inc/config.h
+@@ -10,12 +10,15 @@
+ #define CONFIG_H
+
+ /*efine SIGHANDLER_T int /* signal handlers are void */
+-/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
++
++#if defined(__INTERIX)
++#define HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
++#endif
+
+ #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
+-/*efine HAS_LIMITS_H 1 /* /usr/include/limits.h */
++#define HAS_LIMITS_H 1 /* /usr/include/limits.h */
+ #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
+-/*efine HAS_ERRNO_DECL 1 /* errno.h declares errno */
++#define HAS_ERRNO_DECL 1 /* errno.h declares errno */
+
+ #define HAS_FSTAT 1 /* fstat syscall */
+ #define HAS_FCHMOD 1 /* fchmod syscall */
+@@ -28,10 +31,19 @@
+ /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
+
+ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
+-#define HAS_UTIME 1 /* POSIX utime(path, times) */
+-/*efine HAS_UTIMES 1 /* use utimes() syscall instead */
++
++#if defined(__INTERIX)
++#define HAS_UTIME 1 /* POSIX utime(path, times) */
++#else
++#define HAS_UTIMES 1 /* use utimes() syscall instead */
++#endif
++
+ #define HAS_UTIME_H 1 /* UTIME header file */
+-/*efine HAS_UTIMBUF 1 /* struct utimbuf */
++
++#if defined(__INTERIX)
++#define HAS_UTIMBUF 1 /* struct utimbuf */
++#endif
++
+ /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
+
+ #endif /* CONFIG_H */
Home |
Main Index |
Thread Index |
Old Index