]> git.pld-linux.org Git - packages/changepassword.git/commitdiff
rel 4 master auto/th/changepassword-0.9-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 3 Feb 2023 05:46:26 +0000 (06:46 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 3 Feb 2023 05:46:26 +0000 (06:46 +0100)
build.patch [new file with mode: 0644]
changepassword.spec

diff --git a/build.patch b/build.patch
new file mode 100644 (file)
index 0000000..d5946ef
--- /dev/null
@@ -0,0 +1,10 @@
+--- 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);
index 62e9d2be11dbd4fe3947bd3d3305003910a26692..5a810a3ccc0caee0a1b71bc5e73334f853d14553 100644 (file)
@@ -11,12 +11,13 @@ Summary:    ChangePassword
 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)
@@ -37,6 +38,7 @@ zmieniane w trybie rzeczywistym.
 %setup -q
 cp %{SOURCE1} .
 tar -xf smbencrypt/libdes-4.04b.tar.gz
+%patch0 -p1
 
 %build
 %configure \
This page took 0.149604 seconds and 4 git commands to generate.