Projects
Extra
pkg2zip
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
pkg2zip.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sun Jul 29 09:11:55 UTC 2018 - aloisio@gmx.com + +- Added ignore_pragma_warnings.patch to fix TW build + +------------------------------------------------------------------- Fri May 18 13:38:25 UTC 2018 - p.seiler@linuxmail.org - fixed bug in patch, which prevents pkg2zip from working correctly
View file
pkg2zip.spec
Changed
@@ -26,6 +26,7 @@ Source0: %{name}-%{version}.tar.gz Source1: %{name}.1 Patch0: add_support_for_file_listing.patch +Patch1: ignore_pragma_warnings.patch %description Utility that decrypts PlayStation Vita pkg file and creates zip package. Supported pkg files - main application, DLC, patch and PSM files. Supports also PSX files for use with Adrenaline. @@ -35,6 +36,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build make %{?_smp_mflags}
View file
ignore_pragma_warnings.patch
Added
@@ -0,0 +1,26 @@ +From 9222c4e00235dfe7914e9db0cc352da07e63d9f9 Mon Sep 17 00:00:00 2001 +From: Martins Mozeiko <martins.mozeiko@gmail.com> +Date: Sun, 15 Jul 2018 13:12:18 -0700 +Subject: [PATCH] ignore warning with pragma in source code + +--- + pkg2zip.c | 6 ++++++ + 1 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/pkg2zip.c b/pkg2zip.c +index ccec8ac..8116f5f 100644 +--- a/pkg2zip.c ++++ b/pkg2zip.c +@@ -11,6 +11,12 @@ + #include <string.h> + #include <stdio.h> + ++#ifdef __GNUC__ ++#pragma GCC diagnostic ignored "-Wpragmas" ++#pragma GCC diagnostic ignored "-Wunknown-warning-option" ++#pragma GCC diagnostic ignored "-Wformat-truncation" ++#endif ++ + #define PKG_HEADER_SIZE 192 + #define PKG_HEADER_EXT_SIZE 64 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.