Aurelien Larcher
2020-03-20 50b7420550fbbbd05e2a8c742bce79c4cd8b0998
gtar: fix invalid header guard
1 files added
1 files modified
26 ■■■■■ changed files
components/archiver/gtar/Makefile 13 ●●●● patch | view | raw | blame | history
components/archiver/gtar/patches/03-sys-limits.patch 13 ●●●●● patch | view | raw | blame | history
components/archiver/gtar/Makefile
@@ -24,12 +24,13 @@
# Copyright (c) 2019, Michal Nowak
#
PREFERRED_BITS=        64
BUILD_BITS=        64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        tar
COMPONENT_VERSION=    1.32
COMPONENT_REVISION=     1
COMPONENT_PROJECT_URL=    http://www.gnu.org/software/tar/
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
@@ -38,21 +39,13 @@
COMPONENT_ARCHIVE_URL=    http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=        archiver/gnu-tar
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
include $(WS_MAKE_RULES)/common.mk
# Use ssh (rather than rsh) for remote commands.
CONFIGURE_ENV += "RSH=/usr/bin/ssh"
CONFIGURE_OPTIONS +=    --with-rmt=/usr/sbin/rmt
CONFIGURE_OPTIONS +=    --libexecdir=/usr/sbin
build:        $(BUILD_64)
install:    $(INSTALL_64)
test:        $(TEST_64)
# rmt(1M)
REQUIRED_PACKAGES += service/network/network-clients
components/archiver/gtar/patches/03-sys-limits.patch
New file
@@ -0,0 +1,13 @@
--- tar-1.32/gnu/sys-limits.h.orig    2020-03-20 11:03:58.634448830 +0000
+++ tar-1.32/gnu/sys-limits.h    2020-03-20 11:04:27.578798808 +0000
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <https://www.gnu.org/licenses/>.  */
-#ifndef _SYS_LIMITS_H
-#define _SYS_LIMITS_H
+#ifndef GTAR_SYS_LIMITS_H
+#define GTAR_SYS_LIMITS_H
 #include <limits.h>