mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
psiconv, revbump, fix build (#9251)
This commit is contained in:
35
app-text/psiconv/patches/psiconv-0.9.9.patchset
Normal file
35
app-text/psiconv/patches/psiconv-0.9.9.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From ea7a698b0da9639cc6b817ffb271c5cb8bd5d42e Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Sat, 19 Aug 2023 12:25:49 +0200
|
||||
Subject: Fix multiple definitions error during build
|
||||
|
||||
|
||||
diff --git a/program/psiconv/psiconv.c b/program/psiconv/psiconv.c
|
||||
index b73b901..de26cb9 100644
|
||||
--- a/program/psiconv/psiconv.c
|
||||
+++ b/program/psiconv/psiconv.c
|
||||
@@ -44,6 +44,8 @@
|
||||
#include "psiconv.h"
|
||||
#include "gen.h"
|
||||
|
||||
+psiconv_list fileformat_list;
|
||||
+
|
||||
static void print_help(void);
|
||||
static void print_version(void);
|
||||
static void strtoupper(char *str);
|
||||
diff --git a/program/psiconv/psiconv.h b/program/psiconv/psiconv.h
|
||||
index 1ec0a7e..68b7dc7 100644
|
||||
--- a/program/psiconv/psiconv.h
|
||||
+++ b/program/psiconv/psiconv.h
|
||||
@@ -52,7 +52,7 @@ typedef struct fileformat_s {
|
||||
output_function *output;
|
||||
} *fileformat;
|
||||
|
||||
-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
|
||||
+extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */
|
||||
|
||||
|
||||
#endif /* PSICONV_H */
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -14,9 +14,10 @@ Psion Series 3 uses EPOC16, and are not supported."
|
||||
HOMEPAGE="http://frodo.looijaard.name/project/psiconv/"
|
||||
COPYRIGHT="1999-2005 Frodo Looijaard"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://frodo.looijaard.name/system/files/software/psiconv/psiconv-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0"
|
||||
PATCHES="psiconv-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user