Skip to content

Instantly share code, notes, and snippets.

View 0001-x11-konsole-Add-upstream-bug-fix.patch
From abe09c036f6709e823756bc7ad33f36edbbe1aea Mon Sep 17 00:00:00 2001
From: Li-Wen Hsu <lwhsu@FreeBSD.org>
Date: Mon, 4 Jul 2022 10:31:54 +0800
Subject: [PATCH] x11/konsole: Add upstream bug fix
Fix z-modem detection by using proper string index.
Obtained from: https://invent.kde.org/utilities/konsole/-/merge_requests/685
---
x11/konsole/Makefile | 5 ++++-
View wtap.diff
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
index d860fad601bd..309b19f2d02d 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -446,7 +446,7 @@ wtap_rx_proc(void *arg, int npending)
struct ieee80211com *ic = &sc->sc_ic;
struct mbuf *m;
struct ieee80211_node *ni;
- int type;
+ //int type;
View mana-osreldate.diff
diff --git a/sys/dev/mana/gdma_main.c b/sys/dev/mana/gdma_main.c
index aa5d5fd5b50..b21a66d0d56 100644
--- a/sys/dev/mana/gdma_main.c
+++ b/sys/dev/mana/gdma_main.c
@@ -1060,9 +1060,6 @@ mana_gd_destroy_queue(struct gdma_context *gc, struct gdma_queue *queue)
free(queue, M_DEVBUF);
}
-#define OS_MAJOR_DIV 100000
-#define OS_BUILD_MOD 1000
View chronograf
#!/bin/sh
# PROVIDE: chronograf
# REQUIRE: DAEMON NETWORKING
# BEFORE: LOGIN
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable chronograf:
# chronograf_enable="YES"
#
View Makefile
PORTNAME= chronograf
DISTVERSIONPREFIX= v
DISTVERSION= 1.9.1
CATEGORIES= net-mgmt
MASTER_SITES+= https://nodejs.org/download/release/v${NODEJS_VERSION}/:node
DISTFILES= yarn-cache-${PKGNAME}.tar.xz:prefetch \
node-v${NODEJS_VERSION}-headers.tar.gz:node
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= lwhsu@FreeBSD.org
View chronograf.shar
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# chronograf
# chronograf/pkg-descr
# chronograf/Makefile
View chronograf.shar
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# chronograf
# chronograf/pkg-descr
# chronograf/Makefile
View chronograf.shar
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# chronograf
# chronograf/pkg-descr
# chronograf/Makefile
View chronograf.shar
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# chronograf
# chronograf/pkg-descr
# chronograf/Makefile
View chronograf.shar
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# chronograf
# chronograf/pkg-descr
# chronograf/Makefile