diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-06-30 14:43:56 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-06-30 14:43:56 +0000 |
commit | c606c07468a896af6477b3afc184168a2ca07940 (patch) | |
tree | 0c264226531ba6a44ec8b41694ec7105cc7d03d4 /ports-mgmt/pkg-devel/files | |
parent | Many of the BADPATCHES do apply. Some "just apply", others needed tweaks: (diff) |
- Fix build with -Werror
Notes
Notes:
svn path=/head/; revision=322087
Diffstat (limited to 'ports-mgmt/pkg-devel/files')
-rw-r--r-- | ports-mgmt/pkg-devel/files/patch-libpkg__utils.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c b/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c new file mode 100644 index 000000000000..bce55b43cf37 --- /dev/null +++ b/ports-mgmt/pkg-devel/files/patch-libpkg__utils.c @@ -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 |