From 394b9b1621e4656c4f446de1bda5a155066b37fb Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 22 Aug 2024 14:18:34 +0200 Subject: [PATCH] Remove ag port. It fails on modern gcc and I have no need for this port myself. --- ports/ag/ag.patch | 60 --------------------------------------------- ports/ag/ag.port | 15 ------------ ports/ag/ag.rmpatch | 1 - 3 files changed, 76 deletions(-) delete mode 100644 ports/ag/ag.patch delete mode 100644 ports/ag/ag.port delete mode 100644 ports/ag/ag.rmpatch diff --git a/ports/ag/ag.patch b/ports/ag/ag.patch deleted file mode 100644 index b98b3238..00000000 --- a/ports/ag/ag.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Paur --no-dereference -- ag.upstream/config.sub ag/config.sub ---- ag.upstream/config.sub -+++ ag/config.sub -@@ -1373,7 +1373,7 @@ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ -- | -aos* | -aros* \ -+ | -aos* | -aros* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ -diff -Paur --no-dereference -- ag.upstream/configure ag/configure ---- ag.upstream/configure -+++ ag/configure -@@ -4992,8 +4992,7 @@ - pthread_create(&th, 0, start_routine, 0); - pthread_join(th, 0); - pthread_attr_init(&attr); -- pthread_cleanup_push(routine, 0); -- pthread_cleanup_pop(0) /* ; */ -+ /* ; */ - ; - return 0; - } -@@ -5216,7 +5215,7 @@ - - - # Run CFLAGS="-pg" ./configure if you want debug symbols --CFLAGS="$CFLAGS $PTHREAD_CFLAGS $PCRE_CFLAGS -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -O2" -+CFLAGS="$CFLAGS $PTHREAD_CFLAGS $PCRE_CFLAGS -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE" - LDFLAGS="$LDFLAGS" - - case $host in -diff -Paur --no-dereference -- ag.upstream/src/main.c ag/src/main.c ---- ag.upstream/src/main.c -+++ ag/src/main.c -@@ -69,8 +69,10 @@ - GetSystemInfo(&si); - num_cores = si.dwNumberOfProcessors; - } --#else -+#elif defined(_SC_NPROCESSORS_ONLN) - num_cores = (int)sysconf(_SC_NPROCESSORS_ONLN); -+#else -+ num_cores = 1; - #endif - - workers_len = num_cores < 8 ? num_cores : 8; -diff -Paur --no-dereference -- ag.upstream/src/options.c ag/src/options.c ---- ag.upstream/src/options.c -+++ ag/src/options.c -@@ -4,7 +4,6 @@ - #include - #include - #include --#include - #include - #include - diff --git a/ports/ag/ag.port b/ports/ag/ag.port deleted file mode 100644 index 04aacc05..00000000 --- a/ports/ag/ag.port +++ /dev/null @@ -1,15 +0,0 @@ -NAME=ag -BUILD_LIBRARIES='libpcre libz liblzma' -VERSION=0.33.0 -DISTNAME=the_silver_searcher-$VERSION -COMPRESSION=tar.gz -ARCHIVE=$DISTNAME.$COMPRESSION -SHA256SUM=8ca680399df5ee8846a509c8a67c10ee1d5fc1a94456806a0ff9dd913b961db3 -UPSTREAM_SITE=https://geoff.greer.fm/ag/releases -UPSTREAM_ARCHIVE=$ARCHIVE -RUNTIME_PROGRAMS=git -BUILD_SYSTEM=configure -CONFIGURE_ARGS= -MAKE_VARS='V=1' -POST_INSTALL=tix-eradicate-libtool-la -RELEASE_SEARCH_PAGE=https://geoff.greer.fm/ag/ diff --git a/ports/ag/ag.rmpatch b/ports/ag/ag.rmpatch deleted file mode 100644 index 96f57a98..00000000 --- a/ports/ag/ag.rmpatch +++ /dev/null @@ -1 +0,0 @@ -rm -rf -- 'the_silver_searcher.spec'