pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wm/spectrwm patch for new version



Hi,

Following patch should update wm/spectrwm to 2.4.0. Please take a look.
Thanks. Also, should the MASTER_SITES URL be a non-HTTPS link? Currently,
I place the tarball in my distfiles before building because bmake fails
to fetch the tarball.

Patch follows.

---PATCH---
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/spectrwm/Makefile,v
retrieving revision 1.2
diff -r1.2 Makefile
3c3
< DISTNAME=     spectrwm-2.3.0
---
> DISTNAME=     spectrwm-2.4.0
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/wm/spectrwm/distinfo,v
retrieving revision 1.2
diff -r1.2 distinfo
1c1
< $NetBSD: distinfo,v 1.2 2013/07/29 06:42:32 wiz Exp $
---
> $NetBSD: distinfo,v 1.2 2013/11/23 22:17:32 lsm5 Exp $
3,6c3,6
< SHA1 (spectrwm-2.3.0.tgz) = 38a4ec1f11e469e1a8bddeb2e478fe2ff6bc3fdc
< RMD160 (spectrwm-2.3.0.tgz) = e27c47765d818ffbcc5363b32bae44df68e9a872
< Size (spectrwm-2.3.0.tgz) = 109384 bytes
< SHA1 (patch-linux_Makefile) = 804bbae49715516cd54b4fa44a660ae68b0e1feb
---
> SHA1 (spectrwm-2.4.0.tgz) = 6d32d1a41436754b135b3152ebd288f06554ef03
> RMD160 (spectrwm-2.4.0.tgz) = 5beb65f25f4593db445570195f120398d29c29ba
> Size (spectrwm-2.4.0.tgz) = 112193 bytes
> SHA1 (patch-linux_Makefile) = 952e97adf33d473af6a6ecc863c9d091695c4284
cvs diff: Diffing patches
Index: patches/patch-linux_Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/spectrwm/patches/patch-linux_Makefile,v
retrieving revision 1.1
diff -r1.1 patch-linux_Makefile
1,8c1,7
< $NetBSD: patch-linux_Makefile,v 1.1 2013/07/26 17:55:37 wiz Exp $
< 
< Add rpath.
< 
< --- linux/Makefile.orig       2013-03-23 14:04:01.000000000 +0000
< +++ linux/Makefile
< @@ -32,7 +32,7 @@ spectrwm: spectrwm.o linux.o
<       $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@
---
> --- linux/Makefile.orig       2013-11-24 00:09:06.031887162 -0600
> +++ linux/Makefile    2013-11-24 00:09:46.706760816 -0600
> @@ -1,5 +1,5 @@
>  CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow 
> -Wno-uninitialized -g
> -CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 
> -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
> +CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 
> -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
>  LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms 
> -lxcb-util -lxcb-xtest -lXft -lXcursor
10,15c9
<  libswmhack.so.$(LVERS): swm_hack.so
< -     $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
< +     $(CC) $(LDFLAGS) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so 
$(LDADD)
<  
<  install: all
<       install -m 755 -d $(DESTDIR)$(BINDIR)
---
>  PREFIX?= /usr/local
---END OF PATCH---

-- 
Lokesh

Attachment: pgpcgEQjri3Ja.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index