Skip to content

Commit

Permalink
Set IPHONEOS_DEPLOYMENT_TARGET = 8.0, and ignore some deprecation war…
Browse files Browse the repository at this point in the history
…nings.
  • Loading branch information
Ewan Mellor committed Oct 25, 2015
1 parent 79ec245 commit 32a61d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build-mac/libetpan.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@
"$(SRCROOT)/..",
"$(SRCROOT)/include",
);
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = (
"-DHAVE_CFNETWORK=1",
Expand All @@ -2011,7 +2011,7 @@
"$(SRCROOT)/..",
"$(SRCROOT)/include",
);
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
OTHER_CFLAGS = (
"-DHAVE_CFNETWORK=1",
"-DHAVE_CONFIG_H=1",
Expand Down
5 changes: 4 additions & 1 deletion src/engine/mailprivacy_smime.c
Original file line number Diff line number Diff line change
Expand Up @@ -1598,8 +1598,11 @@ static int get_cert_from_sig(struct mailprivacy * privacy,
snprintf(command, sizeof(command),
"openssl pkcs7 -inform DER -in '%s' -out '%s' -print_certs 2>/dev/null",
quoted_signature_filename, quoted_store_cert_filename);


#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
r = system(command);
#pragma clang diagnostic pop
if (WEXITSTATUS(r) != 0) {
res = MAIL_ERROR_COMMAND;
goto unlink_signature;
Expand Down
5 changes: 4 additions & 1 deletion src/engine/mailprivacy_tools.c
Original file line number Diff line number Diff line change
Expand Up @@ -1543,8 +1543,11 @@ int mailprivacy_spawn_and_wait(char * command, char * passphrase,
dup2(fd_err, 2);
close(fd_err);

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
status = system(command);

#pragma clang diagnostic pop

exit(WEXITSTATUS(status));
}
break;
Expand Down

0 comments on commit 32a61d5

Please sign in to comment.