summaryrefslogtreecommitdiff
path: root/devel/bglibs/patches/patch-aa
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-08-18 19:20:34 +0000
committerschmonz <schmonz@pkgsrc.org>2005-08-18 19:20:34 +0000
commit4879c3a912ceec7bfab66277abc43a54fea52766 (patch)
tree6b16cc924e96feb4dc41468993cf791ac69b27c1 /devel/bglibs/patches/patch-aa
parentf2899259897300b1ccb328cc2231bca7f16275c2 (diff)
downloadpkgsrc-4879c3a912ceec7bfab66277abc43a54fea52766.tar.gz
Update to 1.025. From the changelog:
- Added the capability to bg-installer to handle multiple destinations within the same source list. - Renamed the "setmode" function in bg-installer that was causing compile problems on *BSD systems. - Added a sysdep for struct timespec and clock_gettime, which are defined if not present.
Diffstat (limited to 'devel/bglibs/patches/patch-aa')
-rw-r--r--devel/bglibs/patches/patch-aa31
1 files changed, 0 insertions, 31 deletions
diff --git a/devel/bglibs/patches/patch-aa b/devel/bglibs/patches/patch-aa
deleted file mode 100644
index f42833fbc88..00000000000
--- a/devel/bglibs/patches/patch-aa
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/07/15 05:45:00 schmonz Exp $
-
---- bg-installer.c.orig 2005-07-11 00:47:35.000000000 -0400
-+++ bg-installer.c
-@@ -151,7 +151,7 @@ static void show(char type, unsigned uid
- obuf_endl(&outbuf);
- }
-
--static void setmode(const char* filename,
-+static void bgsetmode(const char* filename,
- unsigned uid, unsigned gid, unsigned mode)
- {
- if (chown(filename, uid, gid) != 0)
-@@ -201,7 +201,7 @@ static void c(unsigned uid, unsigned gid
- if (!ibuf_copytofd(&in, out)
- || close(out) != 0)
- diefsys(1, "{Could not write '}s{'}", pathtmp.s);
-- setmode(pathtmp.s, uid, gid, mode);
-+ bgsetmode(pathtmp.s, uid, gid, mode);
- if (rename(pathtmp.s, path.s) != 0)
- diefsys(1, "{Could not rename '}s{' to '}s{'}", pathtmp.s, path.s);
- ibuf_close(&in);
-@@ -224,7 +224,7 @@ static void d(unsigned uid, unsigned gid
- }
- else if (!S_ISDIR(st.st_mode))
- dief(1, "{Path '}s{' exists but is not a directory}", path.s);
-- setmode(path.s, uid, gid, mode);
-+ bgsetmode(path.s, uid, gid, mode);
- }
-
- if (opt_check) {