commit 186af035859541be57c60c8329dfcd64416724bf
Author: Jan Rękorajski <[email protected]>
Date:   Sun May 9 11:58:06 2021 +0200

    - fix missing extern for global var
    - rel 20

 dchub.spec           |  4 +++-
 missing-extern.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/dchub.spec b/dchub.spec
index 7823ba2..fff2c7d 100644
--- a/dchub.spec
+++ b/dchub.spec
@@ -2,7 +2,7 @@ Summary:        Direct Connect Hub
 Summary(pl.UTF-8):     Serwer Direct Connect
 Name:          dchub
 Version:       0.5.2
-Release:       19
+Release:       20
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://ac2i.homelinux.com/dctc/%{name}-%{version}.tar.gz
@@ -14,6 +14,7 @@ Patch3:               %{name}-pic.patch
 Patch4:                am.patch
 Patch5:                format-security.patch
 Patch6:                trampoline.patch
+Patch7:                missing-extern.patch
 URL:           http://ac2i.homelinux.com/dctc/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -48,6 +49,7 @@ dchub jest hubem sieci direct connect służącej do wymiany 
plików.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 %{__aclocal}
diff --git a/missing-extern.patch b/missing-extern.patch
new file mode 100644
index 0000000..dac8104
--- /dev/null
+++ b/missing-extern.patch
@@ -0,0 +1,11 @@
+--- dchub-0.5.2/src/hub_passwd.h~      2003-02-25 15:43:16.000000000 +0100
++++ dchub-0.5.2/src/hub_passwd.h       2021-05-09 11:57:20.482877978 +0200
+@@ -35,7 +35,7 @@
+ /**************************/
+ /* hub password LMP entry */
+ /**************************/
+-LMP_ENTRY *hp_lmp;
++extern LMP_ENTRY *hp_lmp;
+ 
+ /****************************/
+ /* HUB_PASS_ROW entry_flags */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dchub.git/commitdiff/186af035859541be57c60c8329dfcd64416724bf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to