pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/csound5 Fixed the build for unprivileged users.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b0cc3750123
branches:  trunk
changeset: 523113:9b0cc3750123
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 02 12:53:55 2007 +0000

description:
Fixed the build for unprivileged users.

The SConsignFile() function creates a temporary file whose name is based
on the given argument. Since unprivileged processes cannot create files
in /dev, the argument cannot be /dev/null for them.

diffstat:

 audio/csound5/distinfo         |  4 ++--
 audio/csound5/patches/patch-ac |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 9d7b1d278a1f -r 9b0cc3750123 audio/csound5/distinfo
--- a/audio/csound5/distinfo    Tue Jan 02 12:48:15 2007 +0000
+++ b/audio/csound5/distinfo    Tue Jan 02 12:53:55 2007 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2006/10/17 21:32:37 rillig Exp $
+$NetBSD: distinfo,v 1.4 2007/01/02 12:53:55 rillig Exp $
 
 SHA1 (Csound5.01_src.tar.gz) = b387da9b6c24961397e89ddcedd1229cdfebffe7
 RMD160 (Csound5.01_src.tar.gz) = 24652f8f650464d886f6d537ae991654f475ad4a
 Size (Csound5.01_src.tar.gz) = 2031426 bytes
-SHA1 (patch-ac) = 0488928265427da9ee292130088ac5a48448ea07
+SHA1 (patch-ac) = 0ece70604a7d71ece78b5af65420a53adc381d3c
 SHA1 (patch-ad) = 343b5767584cf4ddfbc7664e3234577fe22ff03a
 SHA1 (patch-ae) = 705d56ce7a03cd10763542a9ec71b393474c0595
 SHA1 (patch-af) = 4444b8efe47a401e01718c21197c2b6e19ec548c
diff -r 9d7b1d278a1f -r 9b0cc3750123 audio/csound5/patches/patch-ac
--- a/audio/csound5/patches/patch-ac    Tue Jan 02 12:48:15 2007 +0000
+++ b/audio/csound5/patches/patch-ac    Tue Jan 02 12:53:55 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2006/05/29 19:44:24 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2007/01/02 12:53:55 rillig Exp $
 
---- SConstruct.orig    2006-03-15 15:22:43.000000000 +0000
-+++ SConstruct
+--- SConstruct.orig    2006-03-15 16:22:43.000000000 +0100
++++ SConstruct 2007-01-02 13:32:42.000000000 +0100
 @@ -50,6 +50,10 @@ def today():
  def getPlatform():
      if sys.platform[:5] == 'linux':
@@ -25,7 +25,7 @@
 +    pythonLinkFlags = []
 +    pythonLibraryPath = []
 +    pythonLibs = []
-+    SConsignFile("/dev/null")
++    SConsignFile("unused-consign-file")
  
  # Check for prerequisites.
  # We check only for headers; checking for libs may fail



Home | Main Index | Thread Index | Old Index