mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix runtime on 64-bit platforms
PR: ports/142711 Submitted by: Jonathan Jacobs <jonathan+freebsd@jsphere.com> Approved by: maintainer timeout (26 days)
This commit is contained in:
parent
7633cf3b76
commit
25a185da97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249389
2 changed files with 25 additions and 0 deletions
|
@ -7,12 +7,14 @@
|
||||||
|
|
||||||
PORTNAME= ciso
|
PORTNAME= ciso
|
||||||
PORTVERSION= 1.0.0
|
PORTVERSION= 1.0.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://ciso.tenshu.fr/
|
MASTER_SITES= http://ciso.tenshu.fr/
|
||||||
|
|
||||||
MAINTAINER= blttll@gmail.com
|
MAINTAINER= blttll@gmail.com
|
||||||
COMMENT= A tool to compress ISO images to CSO format
|
COMMENT= A tool to compress ISO images to CSO format
|
||||||
|
|
||||||
|
USE_DOS2UNIX= yes
|
||||||
PLIST_FILES= bin/ciso
|
PLIST_FILES= bin/ciso
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
23
sysutils/ciso/files/patch-ciso.h
Normal file
23
sysutils/ciso/files/patch-ciso.h
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
--- ciso.h.orig 2010-02-07 16:32:56.000000000 +0100
|
||||||
|
+++ ciso.h 2010-02-07 16:33:38.000000000 +0100
|
||||||
|
@@ -19,6 +19,8 @@
|
||||||
|
Copyright 2005 BOOSTER
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <stdint.h>
|
||||||
|
+
|
||||||
|
|
||||||
|
#ifndef __CISO_H__
|
||||||
|
#define __CISO_H__
|
||||||
|
@@ -28,9 +30,9 @@
|
||||||
|
typedef struct ciso_header
|
||||||
|
{
|
||||||
|
unsigned char magic[4]; /* +00 : 'C','I','S','O' */
|
||||||
|
- unsigned long header_size; /* +04 : header size (==0x18) */
|
||||||
|
+ uint32_t header_size; /* +04 : header size (==0x18) */
|
||||||
|
unsigned long long total_bytes; /* +08 : number of original data size */
|
||||||
|
- unsigned long block_size; /* +10 : number of compressed block size */
|
||||||
|
+ uint32_t block_size; /* +10 : number of compressed block size */
|
||||||
|
unsigned char ver; /* +14 : version 01 */
|
||||||
|
unsigned char align; /* +15 : align of index value */
|
||||||
|
unsigned char rsv_06[2]; /* +16 : reserved */
|
Loading…
Add table
Reference in a new issue