pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/netmask/patches
Module Name: pkgsrc
Committed By: nia
Date: Thu Oct 10 17:47:42 UTC 2024
Added Files:
pkgsrc/sysutils/netmask/patches: patch-main.c
Log Message:
netmask: cvs add patch for previous
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/netmask/patches/patch-main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/netmask/patches/patch-main.c
diff -u /dev/null pkgsrc/sysutils/netmask/patches/patch-main.c:1.1
--- /dev/null Thu Oct 10 17:47:42 2024
+++ pkgsrc/sysutils/netmask/patches/patch-main.c Thu Oct 10 17:47:42 2024
@@ -0,0 +1,25 @@
+$NetBSD: patch-main.c,v 1.1 2024/10/10 17:47:42 nia Exp $
+
+Use standard types.
+
+--- main.c.orig 2024-10-10 17:46:30.119357320 +0000
++++ main.c
+@@ -23,6 +23,7 @@
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/socket.h>
+@@ -35,8 +36,8 @@
+ #include "config.h"
+
+ struct addrmask {
+- u_int32_t neta;
+- u_int32_t mask;
++ uint32_t neta;
++ uint32_t mask;
+ struct addrmask *next;
+ struct addrmask *prev;
+ };
Home |
Main Index |
Thread Index |
Old Index