diff options
author | lukem <lukem@pkgsrc.org> | 2001-08-07 11:23:56 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2001-08-07 11:23:56 +0000 |
commit | 3428c99cdaa43d9703939f5abfbfb98b7dcff018 (patch) | |
tree | 0f2df68b2068c6457026e3f52e96026aa97a7f35 /sysutils/cdrecord-devel | |
parent | 106009f3d9890ccfcc852f353c4fcb2d22d9dc7c (diff) | |
download | pkgsrc-3428c99cdaa43d9703939f5abfbfb98b7dcff018.tar.gz |
Package of the development version of sysutils/cdrecord
The stable version is currently 1.10, this is 1.11a34
Diffstat (limited to 'sysutils/cdrecord-devel')
-rw-r--r-- | sysutils/cdrecord-devel/patches/patch-bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/cdrecord-devel/patches/patch-bb b/sysutils/cdrecord-devel/patches/patch-bb new file mode 100644 index 00000000000..3949d9e450e --- /dev/null +++ b/sysutils/cdrecord-devel/patches/patch-bb @@ -0,0 +1,19 @@ +$NetBSD: patch-bb,v 1.1.1.1 2001/08/07 11:23:57 lukem Exp $ + +--- mkisofs/mkisofs.c.orig Fri Apr 20 17:45:50 2001 ++++ mkisofs/mkisofs.c Mon Aug 6 10:46:21 2001 +@@ -2072,11 +2072,11 @@ + } + } + /* We don't need root privilleges anymore. */ +-#ifdef HAVE_SETREUID +- if (setreuid(-1, getuid()) < 0) +-#else + #ifdef HAVE_SETEUID + if (seteuid(getuid()) < 0) ++#else ++#ifdef HAVE_SETREUID ++ if (setreuid(-1, getuid()) < 0) + #else + if (setuid(getuid()) < 0) + #endif |