pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/vorbisgain
Module Name: pkgsrc
Committed By: nia
Date: Mon Mar 16 12:17:19 UTC 2026
Modified Files:
pkgsrc/audio/vorbisgain: Makefile distinfo
Added Files:
pkgsrc/audio/vorbisgain/patches: patch-misc.c
Log Message:
vorbisgain: Fix implicit function declarations.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/audio/vorbisgain/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/vorbisgain/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/vorbisgain/patches/patch-misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/vorbisgain/Makefile
diff -u pkgsrc/audio/vorbisgain/Makefile:1.8 pkgsrc/audio/vorbisgain/Makefile:1.9
--- pkgsrc/audio/vorbisgain/Makefile:1.8 Fri Dec 29 01:07:34 2023
+++ pkgsrc/audio/vorbisgain/Makefile Mon Mar 16 12:17:18 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2023/12/29 01:07:34 zafer Exp $
+# $NetBSD: Makefile,v 1.9 2026/03/16 12:17:18 nia Exp $
DISTNAME= vorbisgain-0.37
PKGREVISION= 1
@@ -13,5 +13,11 @@ LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
+TOOL_DEPENDS+= dos2unix-[0-9]*:../../converters/dos2unix
+
+pre-patch:
+ find ${WRKSRC} -name "*.c" -type f | xargs dos2unix
+ find ${WRKSRC} -name "*.h" -type f | xargs dos2unix
+
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/vorbisgain/distinfo
diff -u pkgsrc/audio/vorbisgain/distinfo:1.4 pkgsrc/audio/vorbisgain/distinfo:1.5
--- pkgsrc/audio/vorbisgain/distinfo:1.4 Tue Oct 26 09:59:35 2021
+++ pkgsrc/audio/vorbisgain/distinfo Mon Mar 16 12:17:18 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 09:59:35 nia Exp $
+$NetBSD: distinfo,v 1.5 2026/03/16 12:17:18 nia Exp $
BLAKE2s (vorbisgain-0.37.tar.gz) = 65fbd20026ac3906914f19b1a93e5e37fef8afe3880ac37597ac1e7a63b842b5
SHA512 (vorbisgain-0.37.tar.gz) = 67181834e1a0d7c6e1ccd984e2d30ebf1dcdff84caa77f75e5e771de8414904810e966a43852b7184e075d2428fd8b431124835efc370ce6504b8b2756746e04
Size (vorbisgain-0.37.tar.gz) = 208977 bytes
+SHA1 (patch-misc.c) = 2e6ddb3e0a63b71f3fe086c830c8976fee566f41
Added files:
Index: pkgsrc/audio/vorbisgain/patches/patch-misc.c
diff -u /dev/null pkgsrc/audio/vorbisgain/patches/patch-misc.c:1.1
--- /dev/null Mon Mar 16 12:17:19 2026
+++ pkgsrc/audio/vorbisgain/patches/patch-misc.c Mon Mar 16 12:17:18 2026
@@ -0,0 +1,30 @@
+$NetBSD: patch-misc.c,v 1.1 2026/03/16 12:17:18 nia Exp $
+
+Fix implicit function declarations.
+
+--- misc.c.orig 2026-03-16 12:02:57.932421804 +0000
++++ misc.c
+@@ -10,10 +10,12 @@
+ #include "config.h"
+ #endif
+
++#include <sys/ioctl.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <vorbis/codec.h>
+ #include "i18n.h"
+ #include "misc.h"
+@@ -30,10 +32,6 @@
+ #include <termios.h>
+ #endif
+
+-#if GWINSZ_IN_SYS_IOCTL
+-#include <sys/ioctl.h>
+-#endif
+-
+ #endif /* DISABLE_WINSIZE */
+ #endif /* WIN32 */
+
Home |
Main Index |
Thread Index |
Old Index