Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2011 10:45:07 -0800 (PST)
From:      Raphael Kubo da Costa <kubito@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dhn@FreeBSD.org
Subject:   ports/154222: [PATCH] x11-wm/i3: Update to 3.e-bf2.
Message-ID:  <4d3b25b3.02f2960a.71d2.2235@mx.google.com>
Resent-Message-ID: <201101221850.p0MIo9DE095600@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154222
>Category:       ports
>Synopsis:       [PATCH] x11-wm/i3: Update to 3.e-bf2.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 22 18:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 8.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD gibbon 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #25: Wed Jan 12 21:43:30 BRST 2011
>Description:
This patch updates the port to 3.e-bf2.

A patch file had to be added to fix the include order when building.
It has been submitted upstream and will probably be included in the next release.

Added file(s):
- files/patch-Build-fix-Explicitly-include-stdint.h-before-cfgpars.patch

Port maintainer (dhn@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- i3-3.e.b2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-wm/i3/Makefile /usr/home/rakuco/dev/ports/i3/x11-wm/i3/Makefile
--- /usr/ports/x11-wm/i3/Makefile	2010-12-01 06:35:10.000000000 -0200
+++ /usr/home/rakuco/dev/ports/i3/x11-wm/i3/Makefile	2011-01-22 12:55:52.000000000 -0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	i3
-DISTVERSION=	3.e-bf1
+DISTVERSION=	3.e-bf2
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://i3.zekjur.net/downloads/ \
 		${MASTER_SITE_LOCAL}
diff -ruN --exclude=CVS /usr/ports/x11-wm/i3/distinfo /usr/home/rakuco/dev/ports/i3/x11-wm/i3/distinfo
--- /usr/ports/x11-wm/i3/distinfo	2010-06-29 13:01:36.000000000 -0300
+++ /usr/home/rakuco/dev/ports/i3/x11-wm/i3/distinfo	2011-01-22 12:56:15.000000000 -0200
@@ -1,3 +1,2 @@
-MD5 (i3-3.e-bf1.tar.bz2) = e13be1a4c6f3ba5180c7264194f57e38
-SHA256 (i3-3.e-bf1.tar.bz2) = 68b9058e23263a409421c39ad2ecc53c28b743aa09a687eb04413aa2a96051c7
-SIZE (i3-3.e-bf1.tar.bz2) = 291172
+SHA256 (i3-3.e-bf2.tar.bz2) = 4439d20694b116acc0ae40acee2c22473ce1cc6b6f16593e8002f21bb092eb20
+SIZE (i3-3.e-bf2.tar.bz2) = 291392
diff -ruN --exclude=CVS /usr/ports/x11-wm/i3/files/patch-Build-fix-Explicitly-include-stdint.h-before-cfgpars.patch /usr/home/rakuco/dev/ports/i3/x11-wm/i3/files/patch-Build-fix-Explicitly-include-stdint.h-before-cfgpars.patch
--- /usr/ports/x11-wm/i3/files/patch-Build-fix-Explicitly-include-stdint.h-before-cfgpars.patch	1969-12-31 21:00:00.000000000 -0300
+++ /usr/home/rakuco/dev/ports/i3/x11-wm/i3/files/patch-Build-fix-Explicitly-include-stdint.h-before-cfgpars.patch	2011-01-22 16:41:35.000000000 -0200
@@ -0,0 +1,32 @@
+From 21bde51521d51b725a5df92d5357f65085ea5c1c Mon Sep 17 00:00:00 2001
+From: Raphael Kubo da Costa <kubito@gmail.com>
+Date: Sat, 22 Jan 2011 15:31:37 -0200
+Subject: [PATCH] Build fix: Explicitly include stdint.h before cfgparse.tab.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+cfgparse.tab.h uses uint32_t, which is defined in stdint.h.
+
+Should fix the build of 3.ε-bf2 on FreeBSD.
+
+Signed-off-by: Raphael Kubo da Costa <kubito@gmail.com>
+---
+ src/cfgparse.l |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/cfgparse.l b/src/cfgparse.l
+index 0c0cee7..2d31913 100644
+--- src/cfgparse.l
++++ src/cfgparse.l
+@@ -10,6 +10,7 @@
+  */
+ #include <stdio.h>
+ #include <string.h>
++#include <stdint.h> /* Defines uint32_t, required by cfgparse.tab.h */
+ #include "cfgparse.tab.h"
+ #include <xcb/xcb.h>
+ 
+-- 
+1.7.3.5
+
--- i3-3.e.b2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d3b25b3.02f2960a.71d2.2235>