aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:17:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:17:48 +0800
commited5600a6c4202c5449a3c4bde00498bee0565367 (patch)
treeca5d1cd5f5997f5f3d1e0bb9f3224baf744a0ae0 /misc
parent42062e99199e69ca739db6aa0f81433cf72dae6e (diff)
downloadfreebsd-ports-gnome-ed5600a6c4202c5449a3c4bde00498bee0565367.tar.gz
freebsd-ports-gnome-ed5600a6c4202c5449a3c4bde00498bee0565367.tar.zst
freebsd-ports-gnome-ed5600a6c4202c5449a3c4bde00498bee0565367.zip
- Add LICENSE
- Regenerate patches with `make makepatch`
Diffstat (limited to 'misc')
-rw-r--r--misc/chmlib/Makefile3
-rw-r--r--misc/chmlib/files/patch-chm_lib.c6
-rw-r--r--misc/chmlib/files/patch-chm_lib.h10
3 files changed, 10 insertions, 9 deletions
diff --git a/misc/chmlib/Makefile b/misc/chmlib/Makefile
index 23dd1c95ebe5..f5d819186f14 100644
--- a/misc/chmlib/Makefile
+++ b/misc/chmlib/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= http://www.jedrea.com/chmlib/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for dealing with Microsoft ITSS/CHM format files
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-io64 --disable-pread --exec-prefix=${PREFIX} --disable-static --enable-examples
INSTALL_TARGET= install-strip
diff --git a/misc/chmlib/files/patch-chm_lib.c b/misc/chmlib/files/patch-chm_lib.c
index bc32cdd9d069..5d336ab7ad97 100644
--- a/misc/chmlib/files/patch-chm_lib.c
+++ b/misc/chmlib/files/patch-chm_lib.c
@@ -1,6 +1,6 @@
---- src/chm_lib.c.orig Tue Apr 8 10:33:30 2003
-+++ src/chm_lib.c Tue Apr 8 10:40:56 2003
-@@ -156,6 +156,17 @@
+--- src/chm_lib.c.orig 2009-05-23 14:43:31 UTC
++++ src/chm_lib.c
+@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
diff --git a/misc/chmlib/files/patch-chm_lib.h b/misc/chmlib/files/patch-chm_lib.h
index b32ffd4f3e82..e88a115ce0f2 100644
--- a/misc/chmlib/files/patch-chm_lib.h
+++ b/misc/chmlib/files/patch-chm_lib.h
@@ -1,6 +1,6 @@
---- src/chm_lib.h.orig Fri Feb 25 21:26:09 2005
-+++ src/chm_lib.h Fri Feb 25 21:26:57 2005
-@@ -78,6 +78,12 @@
+--- src/chm_lib.h.orig 2009-05-23 14:43:31 UTC
++++ src/chm_lib.h
+@@ -82,6 +82,12 @@ struct chmUnitInfo
char path[CHM_MAX_PATHLEN+1];
};
@@ -13,7 +13,7 @@
/* open an ITS archive */
#ifdef PPC_BSTR
/* RWE 6/12/2003 */
-@@ -133,6 +139,7 @@
+@@ -137,6 +143,7 @@ int chm_enumerate_dir(struct chmFile *h,
CHM_ENUMERATOR e,
void *context);
@@ -21,5 +21,3 @@
#ifdef __cplusplus
}
#endif
-
-