aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/compton/files
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2017-02-06 02:58:00 +0800
committerdanfe <danfe@FreeBSD.org>2017-02-06 02:58:00 +0800
commite2372dde8a6fe1fdd33d77c2d630fdc18a60ae64 (patch)
tree5982704003ff2791464457fb28926510842ae67b /x11-wm/compton/files
parent4c2985df47d3c20bf647e106db3f3e848d9f294f (diff)
downloadfreebsd-ports-gnome-e2372dde8a6fe1fdd33d77c2d630fdc18a60ae64.tar.gz
freebsd-ports-gnome-e2372dde8a6fe1fdd33d77c2d630fdc18a60ae64.tar.zst
freebsd-ports-gnome-e2372dde8a6fe1fdd33d77c2d630fdc18a60ae64.zip
- Update `x11-wm/compton' to the latest snapshot
- Add missing X.org libraries to USE_XORG list - Install stripped binary (subject to WITH_DEBUG) - Rename wrongly named patch and regenerate them - Convert to option helpers while I'm at here
Diffstat (limited to 'x11-wm/compton/files')
-rw-r--r--x11-wm/compton/files/patch-Makefile7
-rw-r--r--x11-wm/compton/files/patch-src_c2.h (renamed from x11-wm/compton/files/patch-c2.h)6
2 files changed, 7 insertions, 6 deletions
diff --git a/x11-wm/compton/files/patch-Makefile b/x11-wm/compton/files/patch-Makefile
index 2250caf8008a..4be2c90fe1d3 100644
--- a/x11-wm/compton/files/patch-Makefile
+++ b/x11-wm/compton/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2015-09-20 09:16:54 UTC
+--- Makefile.orig 2016-09-07 08:23:44 UTC
+++ Makefile
-@@ -143,29 +143,30 @@ compton: $(OBJS)
+@@ -143,29 +143,31 @@ compton: $(OBJS)
$(CC) $(CFG) $(CPPFLAGS) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
man/%.1: man/%.1.asciidoc
@@ -20,7 +20,8 @@
-endif
+install: $(BINS)
+ @install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(APPDIR)" "$(DESTDIR)$(XDGDIR)"
-+ install -m755 $(BINS) "$(DESTDIR)$(BINDIR)"/
++ install -m755 $(filter-out compton,$(BINS)) "$(DESTDIR)$(BINDIR)"/
++ $(BSD_INSTALL_PROGRAM) compton "$(DESTDIR)$(BINDIR)"/
@install -d \
"$(DESTDIR)$(ICODIR)/scalable/apps" \
"$(DESTDIR)$(ICODIR)/48x48/apps"
diff --git a/x11-wm/compton/files/patch-c2.h b/x11-wm/compton/files/patch-src_c2.h
index 3e5b23825698..60babf307e30 100644
--- a/x11-wm/compton/files/patch-c2.h
+++ b/x11-wm/compton/files/patch-src_c2.h
@@ -1,6 +1,6 @@
---- src/c2.h.orig 2013-02-06 01:40:34.000000000 +0800
-+++ src/c2.h 2013-02-06 01:40:53.000000000 +0800
-@@ -35,10 +35,8 @@
+--- src/c2.h.orig 2016-09-07 08:23:44 UTC
++++ src/c2.h
+@@ -35,10 +35,8 @@ typedef struct _c2_l c2_l_t;
/// Pointer to a condition tree.
typedef struct {
bool isbranch : 1;