--- /dev/null
+--- changepassword-0.9/smbencrypt/encrypt.c~ 2023-02-03 06:43:06.000000000 +0100
++++ changepassword-0.9/smbencrypt/encrypt.c 2023-02-03 06:43:15.489832268 +0100
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include "nt.h"
+-char smbencrypted[66];
++extern char smbencrypted[66];
+
+ void smbencrypt(char *pass) {
+ char *p=strdup(pass);
Summary(pl.UTF-8): ChangePassword - modyfikator haseł
Name: changepassword
Version: 0.9
-Release: 3
+Release: 4
License: GPL
Group: Networking/Admin
Source0: http://dl.sourceforge.net/changepassword/%{name}-%{version}.tar.gz
# Source0-md5: 7449a80c65db2e37c0aa3bb709926127
Source1: pldlogo.png
+Patch0: build.patch
URL: http://changepassword.sourceforge.net/
Requires: webserver = apache
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
cp %{SOURCE1} .
tar -xf smbencrypt/libdes-4.04b.tar.gz
+%patch0 -p1
%build
%configure \