pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/mini_httpd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Dec 18 09:56:03 UTC 2025

Modified Files:
        pkgsrc/www/mini_httpd: Makefile distinfo
        pkgsrc/www/mini_httpd/patches: patch-ac

Log Message:
mini_httpd: Fix build on SunOS (and probably others) with recent gcc


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/www/mini_httpd/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/mini_httpd/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/mini_httpd/patches/patch-ac

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

Modified files:

Index: pkgsrc/www/mini_httpd/Makefile
diff -u pkgsrc/www/mini_httpd/Makefile:1.32 pkgsrc/www/mini_httpd/Makefile:1.33
--- pkgsrc/www/mini_httpd/Makefile:1.32 Tue Oct 24 22:11:30 2023
+++ pkgsrc/www/mini_httpd/Makefile      Thu Dec 18 09:56:02 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2023/10/24 22:11:30 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2025/12/18 09:56:02 nia Exp $
 
 DISTNAME=      mini_httpd-1.30
 PKGREVISION=   2
@@ -25,6 +25,8 @@ MAKE_ENV+=            CRYPT_LIB=-lcrypt
 
 MAKE_ENV.SunOS+=       SYSV_LIBS="-lnsl -lsocket -lsendfile"
 
+CFLAGS.SunOS+=         -D__EXTENSIONS__
+
 SUBST_CLASSES=         htpasswd
 SUBST_MESSAGE.htpasswd=        Fix name of (m)htpasswd in manual pages.
 SUBST_STAGE.htpasswd=  pre-build

Index: pkgsrc/www/mini_httpd/distinfo
diff -u pkgsrc/www/mini_httpd/distinfo:1.14 pkgsrc/www/mini_httpd/distinfo:1.15
--- pkgsrc/www/mini_httpd/distinfo:1.14 Tue Oct 26 11:29:39 2021
+++ pkgsrc/www/mini_httpd/distinfo      Thu Dec 18 09:56:02 2025
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 11:29:39 nia Exp $
+$NetBSD: distinfo,v 1.15 2025/12/18 09:56:02 nia Exp $
 
 BLAKE2s (mini_httpd-1.30/mini_httpd-1.30.tar.gz) = bccad21905c46b3d3e193eca6d926b44b790cf3577590c94d0a7805e5125b57e
 SHA512 (mini_httpd-1.30/mini_httpd-1.30.tar.gz) = c7464bbd6f9b18ad15f662978ca68fab7db1eea5247d2598134869f098c273b745c7bb0ef9a2841acefb94a369937111858aa84028ed08e9b07d9c6fc257a04c
 Size (mini_httpd-1.30/mini_httpd-1.30.tar.gz) = 43889 bytes
 SHA1 (patch-aa) = 9156d0f4a7d8b727db34bdf8b7691509f51f9e31
 SHA1 (patch-ab) = bf0f1cc373c0b7da4c4f4f4f0001ba357c16510a
-SHA1 (patch-ac) = c0587f2efa9a349cf739eafdeb2ee54f1fa44629
+SHA1 (patch-ac) = 8b3eae827fde72687f32ba5dea26bea8b033d3ca

Index: pkgsrc/www/mini_httpd/patches/patch-ac
diff -u pkgsrc/www/mini_httpd/patches/patch-ac:1.2 pkgsrc/www/mini_httpd/patches/patch-ac:1.3
--- pkgsrc/www/mini_httpd/patches/patch-ac:1.2  Sat Apr 11 16:16:54 2015
+++ pkgsrc/www/mini_httpd/patches/patch-ac      Thu Dec 18 09:56:02 2025
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.2 2015/04/11 16:16:54 schwarz Exp $
+$NetBSD: patch-ac,v 1.3 2025/12/18 09:56:02 nia Exp $
 
---- mini_httpd.c.orig  2014-10-19 08:33:10.000000000 +0200
-+++ mini_httpd.c       2015-04-11 17:54:03.000000000 +0200
-@@ -833,6 +833,10 @@
+--- mini_httpd.c.orig  2018-10-26 19:47:50.000000000 +0000
++++ mini_httpd.c
+@@ -41,6 +41,7 @@
+ #include <sys/mman.h>
+ #include <time.h>
+ #include <pwd.h>
++#include <grp.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <signal.h>
+@@ -841,6 +842,10 @@ main( int argc, char** argv )
            if ( errno == EPROTO )
                continue;       /* try again */
  #endif /* EPROTO */



Home | Main Index | Thread Index | Old Index