pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/freetype-lib
Module Name: pkgsrc
Committed By: prlw1
Date: Sun Dec 21 13:51:26 UTC 2025
Modified Files:
pkgsrc/graphics/freetype-lib: distinfo
Added Files:
pkgsrc/graphics/freetype-lib/patches: patch-configure
Log Message:
freetype-lib: Fix build:
- C compiler cannot create executables
- checking size of int... 0
- checking size of long... 0
- checking for working mmap... no
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/freetype-lib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/freetype-lib/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/freetype-lib/distinfo
diff -u pkgsrc/graphics/freetype-lib/distinfo:1.15 pkgsrc/graphics/freetype-lib/distinfo:1.16
--- pkgsrc/graphics/freetype-lib/distinfo:1.15 Tue Oct 26 10:46:08 2021
+++ pkgsrc/graphics/freetype-lib/distinfo Sun Dec 21 13:51:26 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:46:08 nia Exp $
+$NetBSD: distinfo,v 1.16 2025/12/21 13:51:26 prlw1 Exp $
BLAKE2s (freetype1_1.4pre.20030402.orig.tar.gz) = 56faba16f3a9850edd7739abbfba627725d722e6757fc3df97c7fab174598914
SHA512 (freetype1_1.4pre.20030402.orig.tar.gz) = 8eec1102ee67f4ac63d9ed3086431d454e773f584d20630f056c299de7acf9a2942e3cceebaae7145de1fe950c31ea5cac354e667749ea1cec24d28a6a5d27da
@@ -7,6 +7,7 @@ SHA1 (patch-aa) = b75fc2d414c2bab0c4abf2
SHA1 (patch-ab) = d15513455534873cdbccc01d011c1c82b25de2f7
SHA1 (patch-ac) = 0d15e23f3dbdb6d6a55f114f0b05774356e43a85
SHA1 (patch-ae) = 62aa38ccb5498321687b81fbe0b070cc7e613736
+SHA1 (patch-configure) = 08f8432383177905ab351be979a4956671b02ec1
SHA1 (patch-ttf2pk-aa) = 89ed737e5cfdb4e38538f4782940b2c7c4482dac
SHA1 (patch-ttf2pk-ab) = 64816d93a0b3f1d38a3dcd9c051433165aa0f1c3
SHA1 (patch-ttf2pk-ac) = 6e80f39b704dcbf06bc25cbc23c3a1ca5f978e74
Added files:
Index: pkgsrc/graphics/freetype-lib/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/freetype-lib/patches/patch-configure:1.1
--- /dev/null Sun Dec 21 13:51:26 2025
+++ pkgsrc/graphics/freetype-lib/patches/patch-configure Sun Dec 21 13:51:26 2025
@@ -0,0 +1,56 @@
+$NetBSD: patch-configure,v 1.1 2025/12/21 13:51:26 prlw1 Exp $
+
+Fix build:
+- C compiler cannot create executables
+- checking size of int... 0
+- checking size of long... 0
+- checking for working mmap... no
+
+--- configure.orig 2002-12-20 16:33:29.000000000 +0000
++++ configure
+@@ -855,7 +855,7 @@ cat > conftest.$ac_ext << EOF
+ #line 856 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
+@@ -1746,7 +1746,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1747 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
+@@ -4118,7 +4118,8 @@ else
+ #line 4119 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+-main()
++#include <stdlib.h>
++int main()
+ {
+ FILE *f=fopen("conftestval", "w");
+ if (!f) exit(1);
+@@ -4157,7 +4158,8 @@ else
+ #line 4158 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+-main()
++#include <stdlib.h>
++int main()
+ {
+ FILE *f=fopen("conftestval", "w");
+ if (!f) exit(1);
+@@ -4317,6 +4319,7 @@ else
+ #include <sys/types.h>
+ #include <fcntl.h>
+ #include <sys/mman.h>
++#include <stdlib.h>
+
+ /* This mess was copied from the GNU getpagesize.h. */
+ #ifndef HAVE_GETPAGESIZE
Home |
Main Index |
Thread Index |
Old Index