Date: Wednesday, October 2, 2013 @ 13:59:30
  Author: heftig
Revision: 195851

Add patch, remove superfluous debug cflags

Added:
  systemd/trunk/0001-fix-lingering-references-to-var-lib-backlight-random.patch
Modified:
  systemd/trunk/PKGBUILD

-----------------------------------------------------------------+
 0001-fix-lingering-references-to-var-lib-backlight-random.patch |   54 
++++++++++
 PKGBUILD                                                        |   11 +-
 2 files changed, 60 insertions(+), 5 deletions(-)

Added: 0001-fix-lingering-references-to-var-lib-backlight-random.patch
===================================================================
--- 0001-fix-lingering-references-to-var-lib-backlight-random.patch             
                (rev 0)
+++ 0001-fix-lingering-references-to-var-lib-backlight-random.patch     
2013-10-02 11:59:30 UTC (rev 195851)
@@ -0,0 +1,54 @@
+From 6c8c92fef72cf6a7ef7109a424ef82dbdc4f6952 Mon Sep 17 00:00:00 2001
+From: Dave Reisner <[email protected]>
+Date: Wed, 2 Oct 2013 07:46:24 -0400
+Subject: [PATCH] fix lingering references to /var/lib/{backlight,random-seed}
+
+This should have been part of ef5bfcf668e6029faa78534dfe.
+---
+ man/[email protected]  | 2 +-
+ man/systemd-random-seed.service.xml | 2 +-
+ units/[email protected] | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/man/[email protected] 
b/man/[email protected]
+index 2b73625..4318964 100644
+--- a/man/[email protected]
++++ b/man/[email protected]
+@@ -58,7 +58,7 @@
+                 is a service that restores the display backlight
+                 brightness at early-boot and saves it at shutdown. On
+                 disk, the backlight brightness is stored in
+-                <filename>/var/lib/backlight/</filename>. Note that by
++                <filename>/var/lib/systemd/backlight/</filename>. Note that by
+                 default, only firmware backlight devices are
+                 saved/restored.</para>
+         </refsect1>
+diff --git a/man/systemd-random-seed.service.xml 
b/man/systemd-random-seed.service.xml
+index 8cd14b7..e5cd037 100644
+--- a/man/systemd-random-seed.service.xml
++++ b/man/systemd-random-seed.service.xml
+@@ -61,7 +61,7 @@
+                 for details. Saving/restoring the random seed across
+                 boots increases the amount of available entropy early
+                 at boot. On disk the random seed is stored in
+-                <filename>/var/lib/random-seed</filename>.</para>
++                <filename>/var/lib/systemd/random-seed</filename>.</para>
+         </refsect1>
+ 
+         <refsect1>
+diff --git a/units/[email protected] 
b/units/[email protected]
+index b0e75db..5caa5d5 100644
+--- a/units/[email protected]
++++ b/units/[email protected]
+@@ -9,7 +9,7 @@
+ Description=Load/Save Screen Backlight Brightness of %I
+ Documentation=man:[email protected](8)
+ DefaultDependencies=no
+-RequiresMountsFor=/var/lib/backlight
++RequiresMountsFor=/var/lib/systemd/backlight
+ Conflicts=shutdown.target
+ After=systemd-readahead-collect.service systemd-readahead-replay.service 
systemd-remount-fs.service
+ Before=sysinit.target shutdown.target
+-- 
+1.8.4
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-10-02 11:23:29 UTC (rev 195850)
+++ PKGBUILD    2013-10-02 11:59:30 UTC (rev 195851)
@@ -14,21 +14,22 @@
 source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz";
         'initcpio-hook-udev'
         'initcpio-install-systemd'
-        'initcpio-install-udev')
-md5sums=('6b30239cbea4cb2c832625f1012dbe03'
+        'initcpio-install-udev'
+        '0001-fix-lingering-references-to-var-lib-backlight-random.patch')
+md5sums=('df64550d92afbffb4f67a434193ee165'
          '29245f7a240bfba66e2b1783b63b6b40'
          '8b68b0218a3897d4d37a6ccf47914774'
-         'bde43090d4ac0ef048e3eaee8202a407')
+         'bde43090d4ac0ef048e3eaee8202a407'
+         '1b191c4e7a209d322675fd199e3abc66')
 
 prepare() {
   cd "$pkgname-$pkgver"
+  patch -Np1 -i 
../0001-fix-lingering-references-to-var-lib-backlight-random.patch
 }
 
 build() {
   cd "$pkgname-$pkgver"
 
-  CFLAGS+=' -g'
-
   ./configure \
       --libexecdir=/usr/lib \
       --localstatedir=/var \

Reply via email to