pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/devIL



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Aug 28 13:12:15 UTC 2019

Modified Files:
        pkgsrc/devel/devIL: distinfo
Added Files:
        pkgsrc/devel/devIL/patches: patch-src-ILU_ilur_ilur.c

Log Message:
devIL: don't look for malloc in malloc.h.

Many OSes don't have it, like OS X.

A non-ifdef version of a patch provided by clement bouvier
in PR pkg/54497


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/devIL/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/devIL/patches/patch-src-ILU_ilur_ilur.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/devIL/distinfo
diff -u pkgsrc/devel/devIL/distinfo:1.12 pkgsrc/devel/devIL/distinfo:1.13
--- pkgsrc/devel/devIL/distinfo:1.12    Fri Oct 26 10:18:49 2018
+++ pkgsrc/devel/devIL/distinfo Wed Aug 28 13:12:15 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2018/10/26 10:18:49 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2019/08/28 13:12:15 maya Exp $
 
 SHA1 (DevIL-1.7.8.tar.gz) = bc27e3e830ba666a3af03548789700d10561fcb1
 RMD160 (DevIL-1.7.8.tar.gz) = a3cdb14fcca5e75ada240a53cbdc3e749a759da5
@@ -10,5 +10,6 @@ SHA1 (patch-ac) = b540afa8baca5bb5e71edc
 SHA1 (patch-ad) = c8885607457c9af2d89dcf2d9e163fd224e0fa35
 SHA1 (patch-include_IL_il.h) = 553b2fbbd930ff6bab4b5bc790d13ebcccbfffba
 SHA1 (patch-lib_Makefile.in) = a2ae8d1a97f2cbd9c46b2f5923be06839dd6c64f
+SHA1 (patch-src-ILU_ilur_ilur.c) = 611f0068a98f4da6771c11c8b267cafbea7cb76a
 SHA1 (patch-src-IL_include_il__endian.h) = 25ed5f24fc871ceebb685e1c242a4c7b724142a2
 SHA1 (patch-src-IL_src_il__jp2.c) = 7474bdc6507f4a9daa42800fa626ec9ffe6892fe

Added files:

Index: pkgsrc/devel/devIL/patches/patch-src-ILU_ilur_ilur.c
diff -u /dev/null pkgsrc/devel/devIL/patches/patch-src-ILU_ilur_ilur.c:1.1
--- /dev/null   Wed Aug 28 13:12:15 2019
+++ pkgsrc/devel/devIL/patches/patch-src-ILU_ilur_ilur.c        Wed Aug 28 13:12:15 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-src-ILU_ilur_ilur.c,v 1.1 2019/08/28 13:12:15 maya Exp $
+
+Don't expect a malloc.h header, lots of OSes don't have one
+(freebsd, OS X).
+
+malloc is, per standard, in stdlib.h
+
+--- src-ILU/ilur/ilur.c.orig   2009-03-08 07:10:12.000000000 +0000
++++ src-ILU/ilur/ilur.c
+@@ -1,6 +1,6 @@
+ #include <string.h>
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ 
+ #include <IL/il.h>
+ #include <IL/ilu.h>



Home | Main Index | Thread Index | Old Index