aboutsummaryrefslogtreecommitdiff
path: root/htop-vim
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-19 01:47:44 +0300
committerCem Keylan <cem@ckyln.com>2020-06-19 01:47:44 +0300
commit706c708b5aac148cd323a7f6b40513ba756ef45e (patch)
tree2a9c963283378af3c7e04ba2e4683ccbd220b978 /htop-vim
parentc05ab7845f241547ab8607a91db1942617bc3d4e (diff)
downloadrepository-706c708b5aac148cd323a7f6b40513ba756ef45e.tar.gz
move to personal
Diffstat (limited to 'htop-vim')
-rwxr-xr-xhtop-vim/build8
-rw-r--r--htop-vim/checksums2
-rw-r--r--htop-vim/patches/fix-major-undefined.patch82
-rw-r--r--htop-vim/sources2
-rw-r--r--htop-vim/version1
5 files changed, 0 insertions, 95 deletions
diff --git a/htop-vim/build b/htop-vim/build
deleted file mode 100755
index 807b6b3..0000000
--- a/htop-vim/build
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh -e
-
-patch -p1 < fix-major-undefined.patch
-
-./autogen.sh
-./configure --prefix=/usr
-make
-make DESTDIR="$1" install
diff --git a/htop-vim/checksums b/htop-vim/checksums
deleted file mode 100644
index 3a2f087..0000000
--- a/htop-vim/checksums
+++ /dev/null
@@ -1,2 +0,0 @@
-git git+https://github.com/KoffeinFlummi/htop-vim
-ab76006aecaee57a2ba7f111a0a4f01ed69501fdcff3b4a4c571943cabdf3d73 fix-major-undefined.patch
diff --git a/htop-vim/patches/fix-major-undefined.patch b/htop-vim/patches/fix-major-undefined.patch
deleted file mode 100644
index 374a550..0000000
--- a/htop-vim/patches/fix-major-undefined.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From c121a8de96ce06595ab13cad386f1f01e732f590 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Kang-Che=20Sung=20=28=E5=AE=8B=E5=B2=A1=E5=93=B2=29?=
- <Explorer09@gmail.com>
-Date: Mon, 26 Feb 2018 21:15:05 +0800
-Subject: [PATCH] Fix build failure ('major' undefined) in glibc 2.28. (#746)
-
-glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and
-requires us to include <sys/sysmacros.h>. (glibc 2.25 starts
-deprecating the macros in <sys/types.h>.) Now do include the latter if
-found on the system.
-
-At the moment, let's also utilize AC_HEADER_MAJOR in configure script.
-However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro
-to reflect the glibc change [1], so add a workaround code.
-
-Fixes #663. Supersedes pull request #729.
-
-Reference:
-[1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974
-
-Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
----
- Process.c | 6 ++++++
- configure.ac | 10 ++++++++++
- linux/LinuxProcessList.c | 6 ++++++
- 3 files changed, 22 insertions(+)
-
-diff --git a/Process.c b/Process.c
-index 18360802..5ec46bc4 100644
---- a/Process.c
-+++ b/Process.c
-@@ -28,6 +28,12 @@ in the source distribution for its full text.
- #include <time.h>
- #include <assert.h>
- #include <math.h>
-+#ifdef MAJOR_IN_MKDEV
-+#include <sys/mkdev.h>
-+#elif defined(MAJOR_IN_SYSMACROS) || \
-+ (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
-+#include <sys/sysmacros.h>
-+#endif
-
- #ifdef __ANDROID__
- #define SYS_ioprio_get __NR_ioprio_get
-diff --git a/configure.ac b/configure.ac
-index df922e07..481c3f0b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -61,6 +61,16 @@ AC_CHECK_HEADERS([stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h],[
- ])
- AC_CHECK_HEADERS([execinfo.h],[:],[:])
-
-+AC_HEADER_MAJOR
-+dnl glibc 2.25 deprecates 'major' and 'minor' in <sys/types.h> and requires to
-+dnl include <sys/sysmacros.h>. However the logic in AC_HEADER_MAJOR has not yet
-+dnl been updated in Autoconf 2.69, so use a workaround:
-+m4_version_prereq([2.70], [],
-+[if test $ac_cv_header_sys_mkdev_h = no; then
-+ AC_CHECK_HEADER(sys/sysmacros.h, [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
-+ [Define to 1 if `major', `minor', and `makedev' are declared in <sys/sysmacros.h>.])])
-+fi])
-+
- # Checks for typedefs, structures, and compiler characteristics.
- # ----------------------------------------------------------------------
- AC_HEADER_STDBOOL
-diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
-index 6f2631af..77c12262 100644
---- a/linux/LinuxProcessList.c
-+++ b/linux/LinuxProcessList.c
-@@ -26,6 +26,12 @@ in the source distribution for its full text.
- #include <assert.h>
- #include <sys/types.h>
- #include <fcntl.h>
-+#ifdef MAJOR_IN_MKDEV
-+#include <sys/mkdev.h>
-+#elif defined(MAJOR_IN_SYSMACROS) || \
-+ (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
-+#include <sys/sysmacros.h>
-+#endif
-
- #ifdef HAVE_DELAYACCT
- #include <netlink/attr.h>
diff --git a/htop-vim/sources b/htop-vim/sources
deleted file mode 100644
index a5171fe..0000000
--- a/htop-vim/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-git+https://github.com/KoffeinFlummi/htop-vim
-patches/fix-major-undefined.patch
diff --git a/htop-vim/version b/htop-vim/version
deleted file mode 100644
index a383ea1..0000000
--- a/htop-vim/version
+++ /dev/null
@@ -1 +0,0 @@
-git 1