summaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authorrillig <rillig>2006-09-17 22:33:36 +0000
committerrillig <rillig>2006-09-17 22:33:36 +0000
commita38fbb6991be250720bb446529a256aa395f2b03 (patch)
tree474778daade7e5e075f0442fad1e57cefed887d4 /graphics/povray
parentd2948128b4776822a6155eb2062e5c0ec37158dd (diff)
downloadpkgsrc-a38fbb6991be250720bb446529a256aa395f2b03.tar.gz
Added a patch that fixes the build on Solaris with SunPro.
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/distinfo3
-rw-r--r--graphics/povray/patches/patch-ag26
2 files changed, 28 insertions, 1 deletions
diff --git a/graphics/povray/distinfo b/graphics/povray/distinfo
index 7ad0928bfb1..a7d218e93e9 100644
--- a/graphics/povray/distinfo
+++ b/graphics/povray/distinfo
@@ -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 @@ Size (povray-3.6.1.tar.bz2) = 8200160 bytes
SHA1 (patch-aa) = 351e2eb509cdb3e95c788de5f9ff41c993d4363d
SHA1 (patch-ad) = fa4056ca956cb2872960fcb649e259aad1f065e4
SHA1 (patch-af) = b941ffe6f1f54b5bc6139ec2b7fba480f6393bf1
+SHA1 (patch-ag) = 67ad332366614e60b0842572d7d07debe8b6e8f2
diff --git a/graphics/povray/patches/patch-ag b/graphics/povray/patches/patch-ag
new file mode 100644
index 00000000000..9848324fd2e
--- /dev/null
+++ b/graphics/povray/patches/patch-ag
@@ -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;