Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
chntpw


Commits:
1cca0792 by Antonio Rojas at 2024-09-07T15:39:44+02:00
upgpkg: 140201-5: Rebuild for missing .SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,14 @@
+pkgbase = chntpw
+       pkgdesc = Offline NT Password Editor - reset passwords in a Windows NT 
SAM user database file
+       pkgver = 140201
+       pkgrel = 5
+       url = https://pogostick.net/~pnh/ntpasswd/
+       arch = x86_64
+       license = GPL
+       license = LGPL
+       makedepends = openssl
+       source = https://pogostick.net/~pnh/ntpasswd/chntpw-source-140201.zip
+       md5sums = d60bc657206b07ad84d926649d6417dc
+       sha256sums = 
96e20905443e24cba2f21e51162df71dd993a1c02bfa12b1be2d0801a4ee2ccc
+
+pkgname = chntpw


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=chntpw
 pkgver=140201
-pkgrel=4
+pkgrel=5
 pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user 
database file'
 arch=('x86_64')
 url='https://pogostick.net/~pnh/ntpasswd/'
@@ -15,11 +15,12 @@ 
sha256sums=('96e20905443e24cba2f21e51162df71dd993a1c02bfa12b1be2d0801a4ee2ccc')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile
+  sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1 
-Wno-incompatible-pointer-types/' Makefile
 }
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  CFLAGS+=" -Wno-incompatible-pointer-types"
   make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chntpw/-/commit/1cca0792899498947df88ff24355ff06d0c66746

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/chntpw/-/commit/1cca0792899498947df88ff24355ff06d0c66746
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to