Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2013 14:43:56 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322087 - in head/ports-mgmt: pkg pkg-devel pkg-devel/files pkg/files
Message-ID:  <201306301443.r5UEhum0020466@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Jun 30 14:43:56 2013
New Revision: 322087
URL: http://svnweb.freebsd.org/changeset/ports/322087

Log:
  - Fix build with -Werror

Added:
  head/ports-mgmt/pkg-devel/files/
  head/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c   (contents, props changed)
  head/ports-mgmt/pkg/files/
  head/ports-mgmt/pkg/files/patch-libpkg__utils.c   (contents, props changed)
Modified:
  head/ports-mgmt/pkg-devel/Makefile
  head/ports-mgmt/pkg/Makefile

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Sun Jun 30 14:21:53 2013	(r322086)
+++ head/ports-mgmt/pkg-devel/Makefile	Sun Jun 30 14:43:56 2013	(r322087)
@@ -2,6 +2,7 @@
 
 PORTNAME=	pkg
 DISTVERSION=	1.1.3
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \

Added: head/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c	Sun Jun 30 14:43:56 2013	(r322087)
@@ -0,0 +1,19 @@
+commit dbb08c0d2a5da374ddc128f93eb0d57efa08ccf8
+Author: Bryan Drewery <bryan@shatow.net>
+Date:   Sun Jun 30 09:37:15 2013 -0500
+
+    Return proper value in sha256_fd()
+
+diff --git libpkg/utils.c libpkg/utils.c
+index 45a220a..50dcdd1 100644
+--- libpkg/utils.c
++++ libpkg/utils.c
+@@ -396,7 +396,7 @@ cleanup:
+ 		close(my_fd);
+ 	(void)lseek(fd, 0, SEEK_SET);
+ 
+-	return (EPKG_OK);
++	return (ret);
+ }
+ 
+ int

Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile	Sun Jun 30 14:21:53 2013	(r322086)
+++ head/ports-mgmt/pkg/Makefile	Sun Jun 30 14:43:56 2013	(r322087)
@@ -2,6 +2,7 @@
 
 PORTNAME=	pkg
 DISTVERSION=	1.1.3
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \

Added: head/ports-mgmt/pkg/files/patch-libpkg__utils.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg/files/patch-libpkg__utils.c	Sun Jun 30 14:43:56 2013	(r322087)
@@ -0,0 +1,19 @@
+commit dbb08c0d2a5da374ddc128f93eb0d57efa08ccf8
+Author: Bryan Drewery <bryan@shatow.net>
+Date:   Sun Jun 30 09:37:15 2013 -0500
+
+    Return proper value in sha256_fd()
+
+diff --git libpkg/utils.c libpkg/utils.c
+index 45a220a..50dcdd1 100644
+--- libpkg/utils.c
++++ libpkg/utils.c
+@@ -396,7 +396,7 @@ cleanup:
+ 		close(my_fd);
+ 	(void)lseek(fd, 0, SEEK_SET);
+ 
+-	return (EPKG_OK);
++	return (ret);
+ }
+ 
+ int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306301443.r5UEhum0020466>