pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/devIL devIL: Support SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6d02a2c02d2
branches:  trunk
changeset: 314375:a6d02a2c02d2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 26 10:18:49 2018 +0000

description:
devIL: Support SunOS.

diffstat:

 devel/devIL/distinfo         |   4 ++--
 devel/devIL/patches/patch-aa |  16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (73 lines):

diff -r dec52a8d684f -r a6d02a2c02d2 devel/devIL/distinfo
--- a/devel/devIL/distinfo      Fri Oct 26 10:10:48 2018 +0000
+++ b/devel/devIL/distinfo      Fri Oct 26 10:18:49 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.11 2016/12/17 14:15:27 joerg Exp $
+$NetBSD: distinfo,v 1.12 2018/10/26 10:18:49 jperkin Exp $
 
 SHA1 (DevIL-1.7.8.tar.gz) = bc27e3e830ba666a3af03548789700d10561fcb1
 RMD160 (DevIL-1.7.8.tar.gz) = a3cdb14fcca5e75ada240a53cbdc3e749a759da5
 SHA512 (DevIL-1.7.8.tar.gz) = a67e1488d6cb366431d9fcb460b8fe5b8a1dd79426ac77f8abd0db4a5aad7512697f72ef0c49ddb0e806469cc37ba1319e10ccd2ebd73942332df2c3c507458e
 Size (DevIL-1.7.8.tar.gz) = 2051993 bytes
-SHA1 (patch-aa) = 2784234ee79ada44f04219c5f49d5ea2c9e6bf4c
+SHA1 (patch-aa) = fe93aa27da5878377dfe57aeef226a639e51d2c0
 SHA1 (patch-ab) = 995f402fa98cbfe96d43b98f6c409e484a53bf09
 SHA1 (patch-ac) = b540afa8baca5bb5e71edc63291ce49eb2fafd23
 SHA1 (patch-ad) = c8885607457c9af2d89dcf2d9e163fd224e0fa35
diff -r dec52a8d684f -r a6d02a2c02d2 devel/devIL/patches/patch-aa
--- a/devel/devIL/patches/patch-aa      Fri Oct 26 10:10:48 2018 +0000
+++ b/devel/devIL/patches/patch-aa      Fri Oct 26 10:18:49 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.3 2009/10/30 20:02:54 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2018/10/26 10:18:50 jperkin Exp $
 
---- src-ILUT/src/ilut_opengl.c.orig    2009-08-30 23:51:10 +0300
-+++ src-ILUT/src/ilut_opengl.c 2009-08-30 23:53:28 +0300
+--- src-ILUT/src/ilut_opengl.c.orig    2009-03-08 07:10:11.000000000 +0000
++++ src-ILUT/src/ilut_opengl.c
 @@ -58,7 +58,7 @@ void *aglGetProcAddress( const GLubyte *
  //    #pragma comment(lib, "freeglut.lib")
  #endif
  
 -#ifdef linux
-+#if defined(linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun)
        // fix for glXGetProcAddressARB
        #define GLX_GLXEXT_PROTOTYPES
        #include <GL/glx.h>
@@ -16,7 +16,7 @@
  static ILboolean HasCubemapHardware = IL_FALSE;
  static ILboolean HasNonPowerOfTwoHardware = IL_FALSE;
 -#if defined(_WIN32) || defined(_WIN64) || defined(linux) || defined(__APPLE__)
-+#if defined(_WIN32) || defined(_WIN64) || defined(linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(_WIN32) || defined(_WIN64) || defined(linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun)
        ILGLTEXIMAGE3DARBPROC                   ilGLTexImage3D = NULL;
        ILGLTEXSUBIMAGE3DARBPROC                ilGLTexSubImage3D = NULL;
        ILGLCOMPRESSEDTEXIMAGE2DARBPROC ilGLCompressed2D = NULL;
@@ -25,7 +25,7 @@
                                ilGLCompressed3D = (ILGLCOMPRESSEDTEXIMAGE3DARBPROC)wglGetProcAddress("glCompressedTexImage3DARB");
                }
 -      #elif linux
-+      #elif defined(linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD) || defined(__OpenBSD__)
++      #elif defined(linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD) || defined(__OpenBSD__) || defined(__sun)
                if (IsExtensionSupported("GL_ARB_texture_compression") &&
                        IsExtensionSupported("GL_EXT_texture_compression_s3tc")) {
                                ilGLCompressed2D = (ILGLCOMPRESSEDTEXIMAGE2DARBPROC)
@@ -34,7 +34,7 @@
  {
        ILimage *ImageCopy, *OldImage;
 -#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__)
-+#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun)
        ILenum  DXTCFormat;
        ILuint  Size;
        ILubyte *Buffer;
@@ -43,7 +43,7 @@
        OldImage = ilGetCurImage();
  
 -#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__)
-+#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined (_MSC_VER) || defined (linux) || defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun)
        if (ilutGetBoolean(ILUT_GL_USE_S3TC) && ilGLCompressed2D != NULL) {
                if (Image->DxtcData != NULL && Image->DxtcSize != 0) {
                        DXTCFormat = GLGetDXTCNum(Image->DxtcFormat);



Home | Main Index | Thread Index | Old Index