Skip to content
Permalink
Browse files

yydecode: fix typedef redefinition

  • Loading branch information
jmroot committed Apr 24, 2019
1 parent 1ce1f6b commit cdfcd37c2ec95d86537a54b06d7ee5c847f98431
Showing with 17 additions and 1 deletion.
  1. +4 −1 sysutils/yydecode/Portfile
  2. +13 −0 sysutils/yydecode/files/crc32.c.patch
@@ -21,7 +21,10 @@ long_description yydecode works almost identically to the infamous \
homepage http://yydecode.sourceforge.net
master_sites sourceforge:project/yydecode/yydecode/${version}

checksums md5 9e6c5eb009f9084f7cbe7e4b766b12d8
checksums md5 9e6c5eb009f9084f7cbe7e4b766b12d8 \
sha1 27b1e6a3c6f8fa92a487a517fdb05c4e3e0c454a

patchfiles crc32.c.patch

configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man
@@ -0,0 +1,13 @@
--- src/crc32.c.orig 2002-09-27 00:39:18.000000000 +1000
+++ src/crc32.c 2019-04-25 06:30:23.000000000 +1000
@@ -16,6 +16,10 @@
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */

+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "system.h"
#include "crc32.h"

0 comments on commit cdfcd37

Please sign in to comment.
You can’t perform that action at this time.