pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/povray Added a patch that fixes the build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ce8ee040ac8
branches:  trunk
changeset: 518790:2ce8ee040ac8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Sep 17 22:33:36 2006 +0000

description:
Added a patch that fixes the build on Solaris with SunPro.

diffstat:

 graphics/povray/distinfo         |   3 ++-
 graphics/povray/patches/patch-ag |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 1a77cb1755e1 -r 2ce8ee040ac8 graphics/povray/distinfo
--- a/graphics/povray/distinfo  Sun Sep 17 19:53:05 2006 +0000
+++ b/graphics/povray/distinfo  Sun Sep 17 22:33:36 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2006/09/08 08:28:06 joerg Exp $
+$NetBSD: distinfo,v 1.13 2006/09/17 22:33:36 rillig Exp $
 
 SHA1 (povray-3.6.1.tar.bz2) = 1fab3ccbdedafbf77e3a66087709bbdf60bc643d
 RMD160 (povray-3.6.1.tar.bz2) = 84ba679da66089f192cc1bfcf8bdd498e736a9a3
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 351e2eb509cdb3e95c788de5f9ff41c993d4363d
 SHA1 (patch-ad) = fa4056ca956cb2872960fcb649e259aad1f065e4
 SHA1 (patch-af) = b941ffe6f1f54b5bc6139ec2b7fba480f6393bf1
+SHA1 (patch-ag) = 67ad332366614e60b0842572d7d07debe8b6e8f2
diff -r 1a77cb1755e1 -r 2ce8ee040ac8 graphics/povray/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/povray/patches/patch-ag  Sun Sep 17 22:33:36 2006 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ag,v 1.1 2006/09/17 22:33:36 rillig Exp $
+
+SunPro is a little picky about the places in which the "const" qualifier
+is significant, so make sure that the function prototypes match their
+declarations in the header file.
+
+--- unix/unix.cpp.orig 2006-09-18 00:17:03.513608780 +0200
++++ unix/unix.cpp      2006-09-18 00:20:40.589099772 +0200
+@@ -1892,7 +1892,7 @@ static bool unix_subdir (const char *Fil
+ *
+ ******************************************************************************/
+ 
+-int UNIX_allow_file_read (const char *Filename, const unsigned int FileType)
++int UNIX_allow_file_read (const char *Filename, unsigned int FileType)
+ {
+   char       *filename;
+   const char *errormsg;
+@@ -1966,7 +1966,7 @@ int UNIX_allow_file_read (const char *Fi
+ *
+ ******************************************************************************/
+ 
+-int UNIX_allow_file_write (const char *Filename, const unsigned int FileType)
++int UNIX_allow_file_write (const char *Filename, unsigned int FileType)
+ {
+   char       *filename;
+   const char *errormsg;



Home | Main Index | Thread Index | Old Index