diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-08-19 08:21:03 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-08-19 08:45:45 +0200 |
commit | e000de2adb6a7bb79613530d9e9ebf62fd9495d9 (patch) | |
tree | a306215a5e095ac2a6d492334aa5c4533ff40717 /archivers/php85-phar/files/patch-pharzip.h | |
parent | devel/libfaketime: Update version 0.9.10=>0.9.12 (diff) |
lang/php85: Update version 8.5.0alpha4=>8.5.0beta1
Please DO NOT use this version in production, it is an early test
version.
Changelog: https://github.com/php/php-src/blob/php-8.5.0beta1/NEWS
Diffstat (limited to 'archivers/php85-phar/files/patch-pharzip.h')
-rw-r--r-- | archivers/php85-phar/files/patch-pharzip.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/php85-phar/files/patch-pharzip.h b/archivers/php85-phar/files/patch-pharzip.h new file mode 100644 index 000000000000..5e0e89f2a844 --- /dev/null +++ b/archivers/php85-phar/files/patch-pharzip.h @@ -0,0 +1,19 @@ +--- pharzip.h.orig 2025-08-19 05:41:37 UTC ++++ pharzip.h +@@ -17,6 +17,10 @@ + +----------------------------------------------------------------------+ + */ + ++/* Add missing include guard to avoid multiple inclusion */ ++#ifndef PHAR_PHARZIP_H ++#define PHAR_PHARZIP_H ++ + typedef struct _phar_zip_file_header { + char signature[4]; /* local file header signature 4 bytes (0x04034b50) */ + char zipversion[2]; /* version needed to extract 2 bytes */ +@@ -238,3 +242,5 @@ typedef struct _phar_zip_dir_end { + char comment_len[2]; /* .ZIP file comment length 2 bytes */ + /* .ZIP file comment (variable size) */ + } phar_zip_dir_end; ++ ++#endif /* PHAR_PHARZIP_H */ |