FreeBSD Bugzilla – Attachment 158366 Details for
Bug 201351
[PATCH] textproc/pychm: Fix missing symbol, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pychm-0.8.4_1.diff
pychm-0.8.4_1.diff (text/plain), 2.34 KB, created by
Carlos J Puga Medina
on 2015-07-05 03:37:59 UTC
(
hide
)
Description:
pychm-0.8.4_1.diff
Filename:
MIME Type:
Creator:
Carlos J Puga Medina
Created:
2015-07-05 03:37:59 UTC
Size:
2.34 KB
patch
obsolete
>diff -urN /usr/ports/textproc/pychm.old/Makefile /usr/ports/textproc/pychm/Makefile >--- /usr/ports/textproc/pychm.old/Makefile 2015-02-24 14:56:45.000000000 +0100 >+++ /usr/ports/textproc/pychm/Makefile 2015-07-05 05:28:09.674611000 +0200 >@@ -3,10 +3,11 @@ > > PORTNAME= pychm > PORTVERSION= 0.8.4 >+PORTREVISION= 1 > CATEGORIES= textproc python > MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= cpm@fbsd.es > COMMENT= Bindings for CHMLIB library > > LICENSE= GPLv2 # or later >diff -urN /usr/ports/textproc/pychm.old/files/patch-chm_extra.c /usr/ports/textproc/pychm/files/patch-chm_extra.c >--- /usr/ports/textproc/pychm.old/files/patch-chm_extra.c 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/ports/textproc/pychm/files/patch-chm_extra.c 2015-07-05 05:17:12.905397000 +0200 >@@ -0,0 +1,63 @@ >+--- chm/extra.c.orig 2015-07-05 03:15:19 UTC >++++ chm/extra.c >+@@ -70,13 +70,13 @@ >+ >+ #define FREE(x) free (x); x = NULL >+ >+-inline uint16_t >++uint16_t >+ get_uint16 (uint8_t* b) { >+ return b[0] | >+ b[1]<<8; >+ } >+ >+-inline uint32_t >++uint32_t >+ get_uint32 (uint8_t* b) { >+ return b[0] | >+ b[1]<<8 | >+@@ -84,7 +84,7 @@ get_uint32 (uint8_t* b) { >+ b[3]<<24; >+ } >+ >+-inline uint64_t >++uint64_t >+ get_uint64 (uint8_t* b) { >+ return b[0] | >+ b[1]<<8 | >+@@ -117,7 +117,7 @@ be_encint (unsigned char *buffer, size_t >+ Finds the first unset bit in memory. Returns the number of set bits found. >+ Returns -1 if the buffer runs out before we find an unset bit. >+ */ >+-inline int >++int >+ ffus (unsigned char* byte, int* bit, size_t *length) { >+ int bits = 0; >+ *length = 0; >+@@ -144,7 +144,7 @@ ffus (unsigned char* byte, int* bit, siz >+ } >+ >+ >+-inline uint64_t >++uint64_t >+ sr_int(unsigned char* byte, int* bit, >+ unsigned char s, unsigned char r, size_t *length) >+ { >+@@ -221,7 +221,7 @@ sr_int(unsigned char* byte, int* bit, >+ } >+ >+ >+-inline uint32_t >++uint32_t >+ get_leaf_node_offset(struct chmFile *chmfile, >+ const char *text, >+ uint32_t initial_offset, >+@@ -294,7 +294,7 @@ get_leaf_node_offset(struct chmFile *chm >+ return initial_offset; >+ } >+ >+-inline int >++int >+ pychm_process_wlc (struct chmFile *chmfile, >+ uint64_t wlc_count, uint64_t wlc_size, >+ uint32_t wlc_offset, unsigned char ds,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201351
: 158366