mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
comms/gnuradio: Missing patches
I double checked but still missed adding these patches. *sigh*
This commit is contained in:
parent
78b9c1298e
commit
2e7a368c73
3 changed files with 44 additions and 0 deletions
23
comms/gnuradio/files/grc_setup_freedesktop.in
Normal file
23
comms/gnuradio/files/grc_setup_freedesktop.in
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/usr/bin/sh
|
||||||
|
ICON_SIZES="16 24 32 48 64 128 256"
|
||||||
|
if [ -n "$2" ]; then
|
||||||
|
SRCDIR="$2"
|
||||||
|
else
|
||||||
|
SRCDIR="@CMAKE_CURRENT_SOURCE_DIR@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Begin freedesktop install..."
|
||||||
|
for size in ${ICON_SIZES}; do \
|
||||||
|
echo "Install icon: ${size}x${size}"
|
||||||
|
xdg-icon-resource install --noupdate --context mimetypes --theme gnome --size ${size} ${SRCDIR}/grc-icon-${size}.png application-gnuradio-grc; \
|
||||||
|
xdg-icon-resource install --noupdate --context mimetypes --size ${size} ${SRCDIR}/grc-icon-${size}.png application-gnuradio-grc; \
|
||||||
|
xdg-icon-resource install --noupdate --context apps --theme gnome --size ${size} ${SRCDIR}/grc-icon-${size}.png gnuradio-grc; \
|
||||||
|
xdg-icon-resource install --noupdate --context apps --size ${size} ${SRCDIR}/grc-icon-${size}.png gnuradio-grc; \
|
||||||
|
done
|
||||||
|
echo "Install mime type"
|
||||||
|
install ${SRCDIR}/gnuradio-grc.xml
|
||||||
|
echo "Install menu items"
|
||||||
|
install ${SRCDIR}/*.desktop
|
||||||
|
echo "Done!"
|
||||||
|
echo ""
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- gnuradio-runtime/lib/thread/thread.cc.orig 2025-04-10 17:29:44 UTC
|
||||||
|
+++ gnuradio-runtime/lib/thread/thread.cc
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
|
#define __GR_TARGET_BSD__
|
||||||
|
#include <pthread.h>
|
||||||
|
-#ifdef __OpenBSD__
|
||||||
|
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||||
|
#include <pthread_np.h>
|
||||||
|
#endif
|
||||||
|
#else
|
|
@ -0,0 +1,10 @@
|
||||||
|
--- grc/scripts/freedesktop/grc_setup_freedesktop.in.orig 2024-02-06 00:51:19 UTC
|
||||||
|
+++ grc/scripts/freedesktop/grc_setup_freedesktop.in
|
||||||
|
@@ -25,6 +25,7 @@ case "$1" in
|
||||||
|
case "$1" in
|
||||||
|
'install')
|
||||||
|
echo "Begin freedesktop install..."
|
||||||
|
+ exit 0
|
||||||
|
for size in ${ICON_SIZES}; do \
|
||||||
|
echo "Install icon: ${size}x${size}"
|
||||||
|
xdg-icon-resource install --noupdate --context mimetypes --theme gnome --size ${size} ${SRCDIR}/grc-icon-${size}.png application-gnuradio-grc; \
|
Loading…
Add table
Reference in a new issue