- Update rpm 4.10.2

- Trim makefile header
- Update local patch to fix compilation issue
This commit is contained in:
Johan van Selst 2012-12-09 17:09:40 +00:00
parent 8c6f644b8a
commit a89bb95f1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308544
3 changed files with 6 additions and 8 deletions

View File

@ -1,11 +1,8 @@
# New ports collection makefile for: rpm
# Date created: 6 May 2003
# Whom: Greg Lewis <glewis@FreeBSD.org>
#
# Created by: Greg Lewis <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= rpm
PORTVERSION= 4.10.1
PORTVERSION= 4.10.2
CATEGORIES= archivers
MASTER_SITES= http://rpm.org/releases/rpm-${PORTVERSION:R}.x/ \
ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-${PORTVERSION:E}.x/

View File

@ -1,2 +1,2 @@
SHA256 (rpm-4.10.1.tar.bz2) = 5fbc381740c041048b9db9c591a98e4a83764c439a0031ba650ad2cd031e156e
SIZE (rpm-4.10.1.tar.bz2) = 3541216
SHA256 (rpm-4.10.2.tar.bz2) = de1b50433ca887170570e5d610e151d5b77957a4122561c59979069ae8eb5d58
SIZE (rpm-4.10.2.tar.bz2) = 3545289

View File

@ -1,6 +1,6 @@
--- system.h.orig 2011-06-10 15:27:05.000000000 +0200
+++ system.h 2011-06-10 15:27:09.000000000 +0200
@@ -39,6 +39,13 @@ char * stpncpy(char * dest, const char *
@@ -39,6 +39,14 @@ char * stpncpy(char * dest, const char *
#define getenv(_s) __secure_getenv(_s)
#endif
@ -10,6 +10,7 @@
+#include <libgen.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#include <errno.h>
+
#ifdef HAVE_FCNTL_H
#include <fcntl.h>